Learn to Code in C# | .net 6 Appsettings, Environments and Secrets| Ep-30

Learn to Code in C# – Learn how to code in c# by building a real-world application from scratch. In MVC and WebApi I’ll show you how to create a full stack application. We will consume the application in MVC and react. In this episode I show you how to make your settings “soft” by moving them into a configuration file. Then I show you how to consume those settings and get their values in code when you need them. I also talk about user secrets and environment variables and how to protect sensitive data when you deploy your applications to servers in different environments.

GitHub for Api Project: https://github.com/NobleCauseCode/NobleCause.SavijSell.Api

GitHub for MVC UI Project: https://github.com/NobleCauseCode/NobleCause.SavijSell.Ui

GitHub for REACT UI Project: https://github.com/NobleCauseCode/NobleCause.SavijSell.React.Ui

How to download code for this episode: https://youtu.be/9t05Bxly4UI

Twitter: https://twitter.com/NobleCauseCode
Reddit: https://www.reddit.com/user/savijOne
Facebook: https://www.facebook.com/Savij/

Optional Links:
Database project: https://github.com/NobleCauseCode/NobleCause.SavijSell.Database
(you can also use scripts to create and populate the database in the api folder /Data)

Create Secrets for your JWT Token signing: https://github.com/NobleCauseCode/SecretKeyGen