Skip to main content
00:00/00:00
Lecture 50 of 91

Binding additional named-options

Download Course (Free)

Course Content

0 / 91 completed
Section 1: Course Curriculum91 videos

What is Configuration

3m

Who is the course for and prerequisites

3m

Introduction

1m

Welcome

7m

Why configuration is important

3m

Configuration sources & providers

2m

What will you learn in this course

10m

Section Recap

2m

Configuration in .NET

2m

First Configuration NuGet package

6m

Introduction (2)

2m

Explore the IConfiguration and related APIs

16m

What’s a ConfigurationManager

3m

Standalone vs. Host

9m

Running the Worker Service with template behavior

1m

Exploring the Worker Service default configuration

3m

Learning the JSON configuration provider capabilities

4m

Configuring and manually parsing custom values

4m

Environment specific configuration

7m

Benefiting from the Binder package

4m

INI configuration provider

3m

XML configuration provider

3m

Discussing the empty application builder sample app

2m

User Secrets configuration provider

3m

Section Recap (2)

3m

Base File Providers

1m

Introduction to Configuration Providers

1m

Managing user secrets

13m

JSON configuration provider

6m

Environment Variables configuration provider

5m

Command-line configuration provider

6m

Key-per file configuration provider

5m

Section Recap (3)

2m

Azure Key Vault configuration provider

8m

Review and Finalize implementation details

5m

Create the implementation class library

3m

Azure App Configuration provider with Key Vault secrets

8m

Implement the IConfigurationSource

3m

Section Recap (4)

2m

Implementing the YAML parser

20m

Consuming YAML configuration with custom provider

9m

Implement the IConfigurationProvider

5m

Introduction to the Options Pattern

4m

Extend IConfigurationBuilder and expose AddYamlFile APIs

5m

Modeling the Logging Options

4m

Bind Logging Options to Configuration

4m

Introduction to Implementing a Custom Configuration Provider

2m

Consuming Logging Options through DI

5m

Adding another options-modeled object

2m

Binding additional named-options

4mNow Playing

Resolving named-options by name

3m

Configuring and editing named-options

3m

Verifying configuration bindings and DI hydration

3m

Considering alternative APIs for registering options

4m

Overriding configurations with post configure APIs

6m

Overriding all config-bound instances

4m

Section Recap (5)

2m

Avoid implementing IOptions

4m

Enabling source-generated configuration binding

5m

Understanding reflection-based binding

5m

Introduction to Validating Options

3m

Implementing the IValidateOptions interface

11m

Handling validation errors

10m

Expressing simple delegate-based validation with fluent APIs

7m

Controlling when validation errors occur

4m

Registering options with validation

7m

Using data-annotations for declarative validation

10m

Compile-time validation with source-generators

9m

Introduction to Options Monitoring

2m

Visualizing an Alerting App Scenario

2m

Section Recap (6)

3m

Differentiating Options interfaces

4m

Introduction to Consumer-Centric (Empathy-based) Authoring

1m

Section Recap (7)

2m

Post Code-walk Options and Settings

7m

Exploring the Alerting Implementation

16m

Changing Config Data & Monitoring Alerts

5m

Being Mindful of Monitoring Limitations

3m

Debating namespace Naming IServiceCollection Extensions

2m

Confirming new consumer experiences

4m

Defining Strongly-typed WidgetOptions

3m

Consuming the Add with IConfigurationSection

7m

Improving consumer experiences through meaningful error messages

3m

Exploring an Add with IConfigurationSection API

4m

Section Recap (8)

3m

Exposing an Action API

3m

Using the configureOptions delegate-based API

5m

The Importance of Consistent APIs

4m

Consuming the Add with Options-type API

4m

Conclusion

8m

Considerations when accepting Option-types as Add API parameters

4m