Multiple appsettings.json in .net core (Dev, QA, PROD) using appsettings variable

preview_player
Показать описание


Playlist about Websockets

Playlist about JWT

Check out the playlist about RSA

Рекомендации по теме
Комментарии
Автор

very clear and detailed explanation bro. have subscribed ur channel

Nicetrycutiepie
Автор

Thanks!! The only tutorial that worked for me!

madruga
Автор

Good video to explain how it works, could have used the ASPNETCORE_ENVIRONMENT setting in launchSettings.json, already scaffolded.

sukhpalsandhu
Автор

Love the video, thanks for your work.
Would you have any reference to connect different database based on user selection from dropdown. let say I don't know what to user select as far as the database goes. How would I be able to pass the db connection to my web api on start up..

purplepanther
Автор

gotcha, very good job! How can you specify which app.settings file to load from the dotnet build cli? something like dotnet build -c qa <--- where there is a an environment configuration for qa?

mmahon
Автор

Wow amazing 😊.. and ho can do the same in dot net 6???

vishalkeshri
Автор

From my point of view instead of seperate appsettings, json file, in one appsettings.json file we can create env, qa connectionstrings

_hajiyevemin
Автор

But still i need to remember the "env" while deploying the app.. suppose by mistake i make like this "env=QA" instead of PROD and i deploy the app to production.its a problem.is there any way to avoid this issue??? I understand we should not deploy the config file to prod, there should be one static config file present in prod every time when we make a release..But for my application i need to add lots of key to config /setting.json file while making a releases ..so i am bound to push my local config file to prod every time when i make a release ..and sometimes i forget to change the connection string of DB..just wanted to know if i can have a way to automate these issue i amusing dot net code.thanks in advance

puurusottamsaha
Автор

Good video but how to use in release pipeline

ItsmeRajivS
Автор

Can you be so kind to point me to dockerize this

FuzzPiAndFacial