ASP.NET Core in .NET 6: Dependency Injection
Offered By: LinkedIn Learning
Course Description
Overview
Learn about dependency injection in .NET and its advantages. Features ASP.NET Core examples using C# on DI configuration and implementation.
Syllabus
Introduction
- Dependency injection overview
- What you should know
- Setting up your environment
- What is dependency injection?
- Service lifetimes
- Setting up the services
- How to configure dependency injection
- Other dependency injection configuration methods
- How to inject services into a controller
- Inject services in other components of a web application
- How to set up a hosted service
- Disposing of a service
- Challenge: Set up an application using dependency injection
- Solution: Set up an application using dependency injection
- Forgetting to add a service
- Injecting services with different service lifetimes
- Circular dependency
- Ambiguous constructors
- Continue your ASP.NET Core journey
Taught by
David Grace
Related Courses
AngularJS: Framework FundamentalsMicrosoft via edX Архитектура Android-приложений
Moscow Institute of Physics and Technology via Coursera Client-based Web Applications development: ReactJS & Angular
Universidad Politécnica de Madrid via Miríadax Getting Started with Blazor Server
Coursera Project Network via Coursera Getting Started with Blazor WASM
Coursera Project Network via Coursera