Linux environment variables and values are case-sensitive by default. On Windows and macOS, environment variables and values aren't case-sensitive. The About page from the sample code includes the preceding markup and displays the value of IWebHostEnvironment.EnvironmentName. The Environment Tag Helper uses the value of IHostEnvironment.EnvironmentName to include or exclude markup in the element: Įnvironment is: Staging, Development or Staging_2 You may want to change this for production scenarios, see. Var builder = WebApplication.CreateBuilder(args)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |