Answers for "how to know if dev or production .netcore"

C#
1

csharp check if env is development

bool isDevelopment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == "Development";
Posted by: Guest on May-14-2020

Code answers related to "how to know if dev or production .netcore"

C# Answers by Framework

Browse Popular Code Answers by Language