Companies Home Search Profile

ASP.NET Core in .NET 6: Dependency Injection

Focused View

David Grace

47:38

97 View
  • 01 - Dependency injection overview.mp4
    00:53
  • 02 - What you should know.mp4
    01:08
  • 03 - Setting up your environment.mp4
    04:05
  • 01 - What is dependency injection.mp4
    02:12
  • 02 - Service lifetimes.mp4
    03:09
  • 01 - Setting up the services.mp4
    02:46
  • 02 - How to configure dependency injection.mp4
    03:58
  • 03 - Other dependency injection configuration methods.mp4
    03:31
  • 01 - How to inject services into a controller.mp4
    03:35
  • 02 - Inject services in other components of a web application.mp4
    03:40
  • 03 - How to set up a hosted service.mp4
    03:10
  • 04 - Disposing of a service.mp4
    02:37
  • 05 - Challenge Set up an application using dependency injection.mp4
    01:17
  • 06 - Solution Set up an application using dependency injection.mp4
    00:56
  • 01 - Forgetting to add a service.mp4
    01:47
  • 02 - Injecting services with different service lifetimes.mp4
    02:48
  • 03 - Circular dependency.mp4
    02:31
  • 04 - Ambiguous constructors.mp4
    02:41
  • 01 - Continue your ASP.NET Core journey.mp4
    00:54
  • Description


    If you’re a .NET developer or looking to enter the field, it’s essential to have a working understanding of dependency injection, a software development design pattern that allows for having objects that are not dependent on each other. In this course, .NET C# programmer David Grace provides an introduction to dependency injection, from configuration to implementation. He also talks through the advantages of DI and why you should use it. David shows how to implement dependency injection into a real-life example using an ASP.NET Core app, and details the use methods within it. He also looks at the common errors when using dependency injection and how to resolve them.

    More details


    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    I am a senior .NET web developer that uses the C# coding language and has over 15 years of web development commercial experience. ASP.NET Core MVC is one of the frameworks that I use. This framework allows what users see (the presentation layer) and the functionality behind it (the data layer) to sit in one application. As ASP.NET Core has evolved, and .NET Core turned into .NET 5 and then .NET 6, the presentation layer and data layer now tend to sit in separate applications. There may be scenarios where lots of different applications need access to the same data, so it's recommended to keep the presentation layer and data layer separate. As a software developer, I'm responsible for the data layer and I use the ASP.NET Core Web API framework to do this. An API returns any data that an application has requested in JSON format. This is a format that allows applications to read the data and use it accordingly. In addition, the web applications that I build are powered with a Microsoft SQL Server (or MS SQL Server) database. I use Entity Framework, which is a tool that is integrated into a web application to communicate with the database more easily.
    LinkedIn Learning is an American online learning provider. It provides video courses taught by industry experts in software, creative, and business skills. It is a subsidiary of LinkedIn. All the courses on LinkedIn fall into four categories: Business, Creative, Technology and Certifications. It was founded in 1995 by Lynda Weinman as Lynda.com before being acquired by LinkedIn in 2015. Microsoft acquired LinkedIn in December 2016.
    • language english
    • Training sessions 19
    • duration 47:38
    • Release Date 2022/12/28