I would like to download a DLL file from <http://localhost:8080/bin/> and instantiate classes and functions in my Asp.Net Core application.

I've made a little console application (in .NET Framwork) doing this. Here the code :

```
namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            using (var wc = new WebClient())
            {
                var myDll = Assembly.Load(wc.DownloadData("http://localhost:8080/test-dll/bin/myDll.dll"));

                Type t = myDll .GetType("ConsoleApplication1.Test");

                // Instantiate my class

                object myObject = new object();
                myObject = Activator.CreateInstance(t);
            }
        }
    }
}

```

Unfortunately, WebClient is not supported in .Net Core. 

So, how can I load a dll file located in a specific URL and instantiate it ? (in .Net Core)

Thanks in advance for your answers !