UserSecrets icon indicating copy to clipboard operation
UserSecrets copied to clipboard

Register secrets.json as an optional config

Open Praburaj opened this issue 11 years ago • 1 comments

Today we check for the presence of the file before adding the configuration source. Instead register it as an optional source.

https://github.com/aspnet/UserSecrets/blob/dev/src/Microsoft.Framework.ConfigurationModel.UserSecrets/ConfigurationExtensions.cs#L24

https://github.com/aspnet/UserSecrets/blob/dev/src/Microsoft.Framework.ConfigurationModel.UserSecrets/ConfigurationExtensions.cs#L42

Praburaj avatar Mar 30 '15 18:03 Praburaj

https://github.com/aspnet/UserSecrets/commit/ce51cf2d5f307841bdae3086f437edc90ac06384

Praburaj avatar Apr 07 '15 18:04 Praburaj