Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

csharp check if env is development

bool isDevelopment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == "Development";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #csharp #check #env #development
ADD COMMENT
Topic
Name
8+6 =