Skip to content

Support configuring the local development environment name #51883

@danroth27

Description

@danroth27

There are a number of places in ASP.NET Core now where we assume that local development happens in the "Development" environment. Users that choose to use a local development environment name other than "Development" then run into problems. For example, this user's Blazor WebAssembly debugging experience was broken until they finally realized it was because of they used "Local" for their local development environment name: https://twitter.com/hal00/status/1720507264090477031.

We could tell users to stick to the convention. But maybe we should provide a centralized way to specify the name used for local development so that users can change it in a consistent way if they want to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor Componentsbreaking-changeThis issue / pr will introduce a breaking change, when resolved / merged.enhancementThis issue represents an ask for new feature or an enhancement to an existing one

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions