Dependency Injection in NET Core NET 6 Second Edition
What you’ll learn
Inject Dependencies using built-in .NET Core Dependency Injection Container
Resolve Dependencies Based on Given Conditions
Inject Services Directly Into The Views in ASP .NET Core
Inject Action Filters in ASP .NET Core
Plug Third-Party IoC Containers (e.g. AutoFac) into Dependency Injection Framework of ASP .NET Core
Dependency Injection in WPF Core (.NET Core 3)
C# Beginner Level
.NET Core 3 SDK
Visual Studio 2017, 2019 or Visual Studio for Mac
** NOW UPDATED FOR DOTNET 6 **Learn your value at work and boost your resume by learning the cutting-edge Dependency Injection in .NET Core and .NET 6!Dependency Injection is a technique by which the dependency between modules and classes can be eliminated to increase the code’s mobility, reusability, and maintainability. Historically .NET developers used third party components and frameworks such as Unity, Ninject and AutoFac to implement dependency injection. Unfortunately, developers had to learn multiple complex dependency injection frameworks, but in .NET Core and Dotnet 6+, dependency injection is supported out of the box!This course will teach you the necessary software engineering concepts and design principles. Then you will be taken through a few hands-on projects through which various dependency injection features of .NET Core and ASP.NET Core are explained. At the end of this course, you will be able to design and code extensible, scalable and reusable applications using ASP.NET Core! This will add considerable value to your resume, and it will help you shine as a great developer!The course also comes with a series of Interview Questions about Dependency Injection in .NET Core, which will help you a lot with your future job interviews!
Section 1: Introduction
Lecture 1 Introduction
Section 2: Dependency Injection with .NET Core 3
Lecture 2 What are Dependencies, and Dependency Injection?
Lecture 3 Dependency Injection In Action
Lecture 4 ServiceCollection and ServiceProviders Classes in .NET Core
Lecture 5 Coding Exercise!
Lecture 6 Ways of Injecting Types in .NET Core
Lecture 7 AddScoped vs. AddTransient in Action!
Section 3: Hands-On Project ! The Personal Blog
Lecture 8 Project Kick Off
Lecture 9 Creating and Injecting Types
Lecture 10 Creating and viewing posts in Personal Blog project
Lecture 11 Injecting dependencies to ASP.NET Core MVC Views
Lecture 12 Using Dependency Injection with Attributes and Action Filters
Lecture 13 Logging and ILogger in ASP.NET Core
Section 4: More Advanced Topics
Lecture 14 Resolving Dependencies Conditionally
Lecture 15 Dependency Injection in WPF Core Applications (.NET Core 3+)
Lecture 16 Plugging a Third-Party IoC Container (e.g. AutoFac) into .NET Core
Lecture 17 Checking if a Service is Registered (Dotnet 6 and above)
Section 5: Interview Questions!
Lecture 18 Introduction
Lecture 19 Question 1: AddScoped or AddTransient?
Lecture 20 Interview Question 2
Lecture 21 Interview Question 3
Lecture 22 Interview Question 4
Lecture 23 Interview Question 5
Lecture 24 Interview Question 6
C# and VB .NET Developers,ASP .NET and ASP .NET MVC Developers,.NET Core and ASP .NET Core Developers or Learners,University Students,Solution Architectes,Technical Leaders and/or Technology Managers
Udemy | English | 2h 4m | 828.09 MB
Created by: Aref Karimi