Define a custom environment in ASP.NET Core #aspnetcore

added by DotNetKicks
1/22/2018 7:49:29 AM

1 Kicks, 179 Views

One of the cool features of ASP.NET Core is, Hosting Environment Management. It makes life easy for the developers, while dealing with multiple environments. Previously, the developers have to build the application differently for each environment (Staging, UAT, Production) due to dependency on config file sections and the preprocessor directive applicable at compile time.