Community

Working with IWebHostEnvironment and IHostingEnvironment in dual targeted ASP.NET Core Projects

(Rick Strahl) With .NET Core 3.1 Microsoft broke a fairly low level abstraction by effectively renaming IHostingEnvironment and replacing it with IWebHostEnvironment. IHostingEnvironment still exists in .NET Core 3.x and can still be used and it still works, but it’s been marked as deprecated and wi




Facebooktwitterredditpinterestlinkedinmail