Using Configuration and Options in .NET Core and ASP.NET Core Apps

This course will teach you everything you need to know about using configuration and options in ASP.NET Core. The skills you will learn will help you to build complex ASP.NET Core applications which can be configured from multiple sources.
Course info
Rating
(112)
Level
Intermediate
Updated
Sep 23, 2019
Duration
2h 9m
Table of contents
Description
Course info
Rating
(112)
Level
Intermediate
Updated
Sep 23, 2019
Duration
2h 9m
Description

When developing .NET Core applications, you will soon find that you need to configure them to control their behavior and to connect to external resources. In this course, Using Configuration and Options in .NET Core and ASP.NET Core Apps, you will learn foundational knowledge to define configuration for your applications and to access the configured values at runtime. First, you will learn about defining configuration using JSON files, as well as how to access that configuration to control your application. Next, you will discover the options pattern which provides a type-safe way to access configuration through dependency injection and which applies the single responsibility principle. Finally, you will explore how to load configuration from a range of other sources using configuration providers. When you are finished with this course, you will have the skills and knowledge of the configuration and options libraries needed to build well-structured, configurable ASP.NET and .NET Core applications.

About the author
About the author

Steve Gordon is a Microsoft MVP, senior developer and community lead based in Brighton, UK. He works for Madgex developing and supporting their data products portfolio, built using .NET Core technologies. Steve is passionate about community and all things .NET related, having worked with ASP.NET for over 15 years.

More from the author
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
(Music playing) Hi everyone, my name is Steve Gordon, and welcome to my course, Using Configuration and Options in .NET Core and ASP.NET Core Applications. I'm a Microsoft MVP, a senior developer, and a passionate member of the .NET community. Fun fact, configuration is a fundamental concept to all but the most basic .NET Core and ASP.NET Core applications. This course will get you fully up-to-speed on configuration and afterwards you'll be able to apply these skills to build powerful .NET Core and ASP.NET Core applications. Some of the major topics that we'll cover include understanding where to use configuration and how to define it with JSON files, learning how to access configuration at runtime to control the behavior of your applications, learning about the options pattern, which supports strongly typed access to your configuration across your application via dependency injection, and learning about the other numerous configuration providers, which are supported, and which help you to secure your application secrets and sensitive configuration keys. By the end of this course, you will have a complete understanding of the capabilities of the Microsoft configuration and options libraries. You'll be able to apply this knowledge in your .NET Core and ASP.NET Core applications to take full advantage of secure and reliable configuration. From here, continue your learning journey by diving into .NET Core fundamentals with courses on dependency injection, logging, and authorization. Before beginning the course, you should be broadly familiar with general .NET Core and ASP.NET Core concepts and have some experience in building ASP.NET applications. I really hope you'll join me on this journey to learn about these important concepts with the Using Configuration and Options in .NET and ASP.NET Core Applications course at Pluralsight.