umbraco / Umbraco.Cloud.Issues

Public issue tracker for Umbraco Cloud
26 stars 2 forks source link

Feature Request: Create launchSettings.json in new projects with ASPNETCORE_ENVIRONMENT Local #729

Closed jamiepollock closed 2 months ago

jamiepollock commented 8 months ago

Issue description

When creating a new Umbraco Cloud instance projects start with a launchSettings.json that has the ASPNETCORE_ENVIRONMENT set to Development. This is pretty standard practice however when a project grows and a Development environment is added Umbraco Cloud uses "Development" for this environment too. So any local specific settings for this environment are also reused for the remote Development environment too.

Wouldn't it make more sense to start off on the right foot and include "Local" by default as launchSettings.json is only ever used for local development?

This is something that we change on our projects right away but it might be a nice quality of life feature for new projects.

jamiepollock commented 8 months ago

Also didn't mention this but this would also require an appsettings.Local.json is added too.