Exploring ASP.NET Core, Part 4 of 6: Structure and Middleware
Interactive

Exploring ASP.NET Core, Part 4 of 6: Structure and Middleware

LearnNow Online
Updated Aug 22, 2018

Course description

Get a quick recap of what ASP.NET Core is all about and dive into the details of the anatomy of a web application. Take a look at the standard structure of a project, exploring the most important code files that you’ll include in most applications. Drill down into the details of services and middleware that define the request pipeline and the role of the Startup class in ASP.NET Core. Although this is a part of the new technology that is fundamentally different from how an application started in classic ASP.NET, this course covers everything you need to know to feel comfortable starting to implement it in your projects.

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 at least minimal experience with classic ASP.NET, C#, and Visual Studio. As with any such course, the more experience you bring to the course, the more you’ll get out of it. This course moves quickly through a broad range of programming topics, and is focused on using the .NET Framework with C#. The course also assumed that you are well familiar with how to use the version of Windows that you are running. For example, the course might say simply “open a browser” without explaining how to do that. You should also be able to navigate the folder hierarchy using Windows Explorer.


Meet the expert

Don Kiely

Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.

Video Runtime

88 Minutes

Time to complete

152 Minutes

Course Outline

ASP.NET Core Structure and Middleware

Structure of ASP.NET Core (17:10)

  • Introduction (01:12)
  • About This Course (04:58)
  • Tools Used in This Course (04:03)
  • Important Things to Understand: ASP.NET Core (06:24)
  • Summary (00:31)

ASP.NET Core Code Demo (33:51)

  • Introduction (00:41)
  • Demo: Creating a Project (05:09)
  • Demo: MVC Only (05:13)
  • Demo: Program.cs file (02:48)
  • Demo: Project Structure (04:40)
  • Demo: More Structure (04:50)
  • Demo: Startup.cs file (05:20)
  • Demo: Project.json file (04:24)
  • Summary (00:41)

Application Startup Services And Middleware (08:49)

  • Introduction (00:59)
  • Application Startup (03:11)
  • Startup Class Methods (03:25)
  • Summary (01:13)

Middleware (28:19)

  • Introduction (00:59)
  • Middleware (03:22)
  • Pipeline Flow (05:06)
  • Built-in Middleware (02:18)
  • Demo: The Startup class (05:50)
  • Demo: The Configure Method (06:17)
  • Demo: Order Matters (03:38)
  • Summary (00:45)