Answers for "net core 3.1 get environment from controller"

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 "net core 3.1 get environment from controller"

C# Answers by Framework

Browse Popular Code Answers by Language