How to start up a .Net project by using ASP.NET CORE
Asp.net core is pretty straforward to set up a new project. After install all the asp.net core component on your development machine, select the asp.net core +.net framework template.

In asp.net core, Microsoft is not longer to use traditional web.config as project configuration file. Instead, appsettings.json file plays the same role in the project.

All configurations should be set up in the above appsettings.json file. If you want to work on different environments, asp.net core also provides similar feature as asp.net has, Developers are able to create as many environment-based appsettings files as they need. (Tips: must start with appsetting.environmentName. json)

Because in the startup file, application itself is able to recognise the target environment for system environment variable (ASPNETCORE_ENVIRONMENT)

At same time, corresponding servers need to configure a unique environment variable called ASPNETCORE_ENVIRONMENT

That’s it, Nice and Simple.

浙公网安备 33010602011771号