ASP.NET Web API, Part 4 of 4: Hosting and Dependency Resolution
Interactive

ASP.NET Web API, Part 4 of 4: Hosting and Dependency Resolution

LearnNow Online
Updated Aug 23, 2018

Course description

The ASP.NET Web API Hosting and Dependency Resolution course opens with Dependency Injection centered on working with Inversion Control and DI Frameworks. The course then moves on to Dependency Resolvers and Lambda Expressions, then finishing up with Hosting, covering IIS and Self Hosting.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This course assumes that students have some programming background and experience using Visual Studio 2010 and Visual C#. A basic understanding of JavaScript, the ASP.NET MVC framework, and web services will be helpful but not required.


Meet the expert

Phil Ledgerwood

Philip Ledgerwood has been a software developer for fifteen years. He currently works primarily in .NET technologies producing custom software for organizations of all sizes. He has also done extensive training for those same organizations in both technical and business process topics. Philip is a strong advocate of Lean and agile software development and spends most of his time helping companies interested in the value those practices can bring to their development efforts. He does this through a combination of training and working "in the trenches" as a developer on these teams, keeping a hand in the academic side of emerging technology and practices while also directly applying it in real projects to bring real business value.

Video Runtime

63 Minutes

Time to complete

240 Minutes

Course Outline

ASP.NET Web API Hosting and Dependency Resolution

Dependency Injection (24:09)

  • Introduction (01:16)
  • Inversion of Control (01:34)
  • Dependency Injection (04:22)
  • DI Frameworks (03:32)
  • Demo: Dependency Injection (02:31)
  • Demo: Wireup to API (02:28)
  • Demo: Create Class (01:33)
  • Demo: Concrete Types (04:02)
  • Demo: Recap (02:25)
  • Summary (00:23)

Dependency Resolvers (16:55)

  • Introduction (01:15)
  • Dependency Resolvers (01:39)
  • Lambda Expressions (01:51)
  • IDependencyResolver (02:23)
  • Demo: Lambda Expressions (03:57)
  • Demo: IDependencyResolver (04:14)
  • Demo: Instance of Resolver (01:12)
  • Summary (00:20)

Hosting (22:52)

  • Introduction (00:54)
  • Hosting (03:15)
  • IIS (01:57)
  • Self Hosting (02:56)
  • Demo: Web API Services (02:06)
  • Demo: Adding DLLs (03:33)
  • Demo: Basic Classes (02:42)
  • Demo: Program Class (01:34)
  • Demo: Add Routing (03:28)
  • Summary (00:22)
;