Simple play icon Course
Skills

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

by Steve Gordon

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.

What you'll learn

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.

Table of contents

About the author

Steve Gordon is a Pluralsight author, Microsoft MVP and senior engineer based in the UK. He works for Elastic maintaining their .NET client libraries. Steve is passionate about community and all things .NET related, having worked with ASP.NET for over 17 years. Steve enjoys sharing his knowledge through his blog, in videos and by presenting talks at user groups and conferences. Steve is excited to be a part of the .NET community and founded .NET South East, a .NET Meetup group based in Brighton.... more

Ready to upskill? Get started