Multiple environments in ASP.NET 5

APS.NET 5 has introduced new environment variable called ASPNET_ENV. It allows us to control our application behaviour between multiple environments because it’s describing environment on which application is currently working on. We can put there whatever we want but typically it’s set to: Development Staging Production If we are working in Visual Studio 2015 then we can speci…

By Dawid on (tags: asp.net 5, environment, categories: code)