Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

Configuring Different Environments #55

Open
ardalis opened this issue Jun 9, 2016 · 0 comments
Open

Configuring Different Environments #55

ardalis opened this issue Jun 9, 2016 · 0 comments
Assignees
Labels

Comments

@ardalis
Copy link
Contributor

ardalis commented Jun 9, 2016

ASPNET > Getting Started

Describe environment variable support in ASP.NET. Focus mainly on the Environment environment variable, which is exposed via IsDevelopment in Startup's methods.

  • Show how to use the environment to request a different configuration settings file (e.g. settings.development.json).
  • Show how to only show developer error page if IsDevelopment
  • Show how to use launchSettings to set the environment (in Visual Studio, anyway)
  • Show how to manually set environment variables in Windows and Mac
  • Show how to use environment-specific methods in Startup (e.g. ConfigureDevelopment)

See https://docs.asp.net/en/latest/fundamentals/environments.html#id3

@ardalis ardalis added the lesson label Jun 9, 2016
@ardalis ardalis added this to the ASPNET-GettingStarted milestone Jun 9, 2016
@ardalis ardalis self-assigned this Dec 1, 2016
@ardalis ardalis removed their assignment Feb 7, 2017
@efleming18 efleming18 self-assigned this Feb 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants