« first day  last day (14 days later) » 

12:01 AM
I just want to get rid of this 500. Using appsetting.json: Is it like creating an 'Appsettings' section and an Appsettings.cs and use that class file?
Is there any place in server where I can place usersecrets.json and get it working?
 
12:19 AM
appsetting.json is a configuration file in your project (you should have there your connection string ?) - and that is the first place for your secrets... In simple case (one person team or trusted team) you could put your secrets directly into appsettings.json.
but if you need extra security and you want to use UserSecrets then you need instal UserSecrets Manager on the server or create usersecrets.json in the same location manually.
<userSecretsId> in the path is the same like that in project.json, so you could change it as you want.
ok, I'm done, good luck ;) ask in comment on SO if questions.
 
Thanks very much.
 
BTW. If an answer is working solution for you, please mark it as a solution - it's good practice on SO, so other users can quickly find it...
 
I'll mark and post the process about user secrets once I am done.
 

« first day  last day (14 days later) »