It would be nice to not have to configure ngrok in the production appsettings.json file when it is only used for development. The easy change would be to also look in appsettings.Development.json for the value, however even this has some drawbacks. Since each developer will most likely have a different subdomain setup for their dev environment, it would be really nice if NgrokExtensions could look in the csproj file for the existence of a <UserSecretsId> property and then look for the config values from %APPDATA%\Microsoft\UserSecrets\{UserSecretsId}\secrets.json.
Hello,
It would be nice to not have to configure ngrok in the production
appsettings.json
file when it is only used for development. The easy change would be to also look inappsettings.Development.json
for the value, however even this has some drawbacks. Since each developer will most likely have a different subdomain setup for their dev environment, it would be really nice if NgrokExtensions could look in the csproj file for the existence of a<UserSecretsId>
property and then look for the config values from%APPDATA%\Microsoft\UserSecrets\{UserSecretsId}\secrets.json
.Thanks!
Chris