Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I studied a part of the asp.net core to build a web application while I am studding, I went to a part that is talked about environment variable,
I want to know what are the environment variable 
When to use then development, staging and production environment variable


What I have tried:

I read about them in Microsoft documentation but I didn’t find when to use them and the difference between the three-environment variable
Posted
Updated 1-Jan-20 20:47pm

1 solution

There are two thing you should read about...
The Environment class[^] that has info about the running environment and platform...
The ASPNETCORE_ENVIRONMENT[^] variable that can be used to configure the application behavior inside the framework...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900