Intro to AppSettings in .NET Core - Appsettings.json, secrets.json, and more

Intro to AppSettings in .NET Core - Appsettings.json, secrets.json, and more

IAmTimCorey

54 года назад

138,572 Просмотров

AppSettings are a big deal in .NET Core. If you are just using appsettings.json, you are really missing out. There is so much more just with the defaults. In fact, by default, we get five different places to put our settings in each .NET Core application. In this video, we will talk about how to use three of those default locations. We will also talk about how you can learn more about AppSettings in my full course titled .NET Core AppSettings In Depth.

Buy the course: https://www.iamtimcorey.com/p/net-core-appsettings-in-depth
Source Code: https://leadmagnets.app/?Resource=IntroToAppSettings

Mailing List: https://signup.iamtimcorey.com/

Thanks to Ralfs HBK for the topic time stamps:
0:00 - Intro
3:17 - Where .Net AppSettings are used? Creating a Blazor Server App
6:33 - AppSettings intro
8:45 - Why to use settings
11:50 - Razor pages how to
13:59 - Bringing the configuration in to the application: The setup
18:28 - Side note about double initialization [ OnInitialized() ]
20:45 - Bringing the configuration in to the application: The values
22:55 - Recap: loading from appsettings.json
24:05 - Connection strings
27:30 - AppSettings and source control
29:01 - Sensitive data
32:12 - Development vs Production settings
40:12 - User Secrets settings
45:57 - Summary and concluding remarks

Тэги:

#.net #C# #Visual_Studio #code #programming #tutorial #course #training #how_to #tim_corey #C#_course #C#_training #C#_tutorial #asp.net #.net_core #appsettings.json_.net_core #appsettings.json_connection_string #appsettings.json_.net_core_3.0 #appsettings.json_azure #appsettings.json_vs_appsettings.production.json #appsettings.json_how_to_add #appsettings_json_transform #appsettings.json_environment_override #asp.net_core
Ссылки и html тэги не поддерживаются


Комментарии: