In addition to Solution 1, conventions are that you add the library or the assembly of third-party API to your
bin folder; which is equivalent to Adding reference using the Add Reference tab and searching for the assembly. Once that has been done, you can then use the using keyword, to include the library in your source file.
using NamespaceofPackage;
Then you can use the library in your web application.