Michel Michel - 2 months ago 66
ASP.NET (C#) Question

System.Net.WebClient in asp.net vnext for dnx core 5.0

I installed the RC for asp.net vnext, but I can't seem to find the

webclient
.

Saw blogposts that it should be in
"System.Net.Http": "4.0.1-beta-23516"
or in
"Microsoft.AspNet.WebApi.Client": "5.2.3"
but I didn't find it...

In which place should I look?

Answer

You should learn how to live without it, as it is not part of CoreFX (at least for now),

https://github.com/dotnet/corefx/search?q=webclient&type=Code&utf8=%E2%9C%93

Time to move to HttpClient or HttpWebRequest.