Learn your way! Get started

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

with expert Don Kiely


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 1/26/2017
Level Beginner
Runtime 1h 28m
Closed captioning Included
Transcript Included
eBooks / courseware N/A
Hands-on labs N/A
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



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.

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.

Learning Paths

This course is part of the following LearnNowOnline SuccessPaths™:
Building ASP.NET Web Applications

Meet the expert

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.

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)