AppSettings and Secrets in ASP.NET Core (Udemy.com)
Understand AppSettings and learn how to secure your application secrets from development to production in ASP.NET Core
Created by: Bhrugen Patel
Last updated February 2026
What you will learn
- AppSettings in .NET Core
- Accessing Secrets in .NET Core
- What are Application Secrets and why should you secure them?
- Options Class
- Switching Environments
- Hierarchy for accessing secrets in .NET Core
- User Secrets in .NET Core
- Azure Key Vault
Course Description
Application Settings is a small piece of .NET Core application! But it is a very CRITICAL piece. Since you have all secrets and passwords.
Not knowing how to configure AppSettings would lead to a vulnerable application and it would be difficult to manage things once the application grows.
There are multiple ways to access your secrets in a .NET Core application, I will be walking you through all the ways in this course.
There is a certain hierarchy that is followed when it comes to a priority about which settings should be read first and knowing the correct order is critical. We will walk through all of that!
Losing control of production passwords, API keys, and other secrets can be extremely costly to any business. In this course, Securing Application Secrets in ASP.NET Core, you will learn how to keep secrets safe in development through to production.
This course will get you up and running with ASP.NET Core AppSecrets and Settings from basics all the way to completely securing them using Azure Key vaults.
Instructor Details
- 4.6 Rating
907 Reviews
Bhrugen Patel
I am a passionate and creative software engineer with a strong focus on simplicity and thorough details. I have been programming since high school and I have been involved with multiple web and desktop using .net.
I have a master's of science degree in computer science and a Bachelor of Computer Engineering. I also have many years of experience with .NET C# and .NET MVC. I enjoy teaching along with my full-time job.
For me, the most important part about writing and teaching code is to eliminate the hardships of every student out there who is willing to learn but cannot find adequate resource which is easy to understand. Coding is a way to be creative and have fun!
More courses by Bhrugen Patel
.NET Core MVC - The Complete Guide 2026 [E-commerce][MVC]
4.7 (20,841 Reviews)
Provider: Udemy
Time: 30.5h
$84.99
.NET Core Microservices - The Complete Guide [2025] (2026)
4.5 (8,703 Reviews)
Provider: Udemy
Time: 14.2h
$99.99
RESTful Web API in .NET Core - The Beginners Guide (.NET 10) (2026)
4.7 (7,998 Reviews)
Provider: Udemy
Time: 7h
$15.00
Blazor - The Complete Guide [.NET 9] [2025] [E-commerce] (2026)
4.6 (4,592 Reviews)
Provider: Udemy
Time: 11.1h
$79.99
GitHub Copilot (AI Coding Assistant) - Complete Guide [2026]
4.5 (4,299 Reviews)
Provider: Udemy
Time: 4.9h
$19.99
Azure Function, Logic Apps & Blob Storage for .NET Developer (2026)
4.4 (3,889 Reviews)
Provider: Udemy
Time: 6.1h
$69.99
More ASP.NET courses
Master ASP.NET Core Identity in .NET10: Auth & Authorization (2026)
4.8 (2,122 Reviews)
Provider: Udemy
Time: 7.1h
$74.99
Test Driven Development in ASP.NET Core - The Handbook (2025)
4.8 (506 Reviews)
Provider: Udemy
Time: 4.5h
$69.99
.NET Core MVC - The Complete Guide 2026 [E-commerce][MVC]
4.7 (20,841 Reviews)
Provider: Udemy
Time: 30.5h
$84.99
RESTful Web API in .NET Core - The Beginners Guide (.NET 10) (2026)
4.7 (7,998 Reviews)
Provider: Udemy
Time: 7h
$15.00
Rest Api's in Asp.Net Core and C# 2025 Edition (2026)
4.7 (3,399 Reviews)
Provider: Udemy
Time: 7h
$69.99
The complete ASP.NET Core 9 course for busy developers (2024)
4.7 (2,789 Reviews)
Provider: Udemy
Time: 15.8h
$84.99
Reviews
By Ahmed Maher Hamad on 10/14/2024
The course was nice, and the information was clear and well-presented. However, I have one suggestion: it would be great if the Azure Key Vault section could be updated to reflect the latest .NET Core version. This would make the content even more relevant for those working with newer frameworks. Overall, a very informative course!
By Jeff Whitman on 5/21/2024
This was a good course for me. I had seen the various appsettings files but I didn't know how they worked, but now this explained the concepts and workflow. This will help me a lot in the future.
By Anonymized User on 4/8/2024
Good course to understand the appsettings and secrets. I personally could not implement azure key vault implementation because of account creation issue on azure portal but was able to understand the process. Thanks
By Gabriel Mamani on 12/4/2023
I thoroughly enjoyed the 'AppSettings and Secrets in ASP.NET Core' course. The instructor provided clear explanations and practical examples, demystifying complex topics. The emphasis on security best practices was invaluable, instilling confidence in managing app settings and secrets. The course structure, real-world scenarios, and hands-on exercises created a well-rounded learning experience. I feel well-equipped to apply these skills in my projects, thanks to this comprehensive and expertly delivered course. Highly recommended for anyone seeking a deep dive into ASP.NET Core configuration management.
By Kiran Mondrathi on 9/6/2023
The course is good but it could be converted to the latest dot net framework, because it has different configurations due to this some of the settings which were discussed in this course are not available in current version of latest dot net which is again a problem for those who are trying them on the latest dot net.
By Jason Horton on 7/27/2022
Yes, this was a good match for me. The tutor was great in showing the fundamentals of AppSettings Management as well as more advanced different options. Great to see too, the inclusion of an Azure service towards the end that many courses do not have.
By Ricardo Rangel Ramírez on 2/28/2022
Amazing course that explains all the possible ways to set up the appsettings file in a .Net Core project and also user secrets. In addition to this, we can also see different ways to configure the environment variables and how we can make our application more secure using Azure Key vault. A highly recommended course for those .Net developers who want to learn about secrets and Key vault.
By Sarye Haddadi on 2/13/2022
Very good, thank you. I am very interested by small courses like this one on specific APIs. Also, it you have time, it would be nice to add few videos at the end to update to the new KeyVault library package. The nuget home page for "Microsoft.Extensions.Configuration.AzureKeyVault" says: This library has been replaced by the following new Azure SDK. Azure.Extensions.AspNetCore.Configuration.Secrets It is recommended that you move to the new package.
By Adam Hoffman on 12/24/2020
Well done! Really walks you through the whole process of secrets management. Also helps to understand the whole mechanism of appsettings.json, which is helpful too. Very useful for a working ASP.NET developer.
By NILEKSH ASHWINRAJ DHIMER on 10/20/2020
When I start this video I thought I did big mistake. But I continue other videos and I want to say frankly many of the basic things I don't know. It's good course. I highly recommended this course to everyone. This course is very helpful to secure our appsettings file content. Waiting for Angular Basic course with latest version of MVC+Angular.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 92 / 100
![.NET Core MVC - The Complete Guide 2026 [E-commerce][MVC]](/programming/asp-net/images/1844356_cba1_10.jpg?v=1789268164)
![.NET Core Microservices - The Complete Guide [2025]](/programming/asp-net/images/4062064_c372_2.jpg?v=1789492672)

![Blazor - The Complete Guide [.NET 9] [2025] [E-commerce]](/programming/c-sharp/images/2817271_c578_3.jpg?v=1789492672)
![GitHub Copilot (AI Coding Assistant) - Complete Guide [2026]](/programming/c-sharp/images/4761688_d08a_5.jpg?v=1789492672)





