In this video, explore ASP.NET Core middleware and the new URL Rewriting Middleware component.
- [Instructor] Before covering the three new features in 1.1…related to middleware,…it's worth discussing middleware briefly.…So middleware components handle the requests…and the responses.…Each component chooses to send the request…to the next component or not…and can perform work before…and after invoking the next component.…In ASP.NET Core, middleware components replace…HTTP Modules and HTTP Handlers,…and they're completely configured in code.…
The order of processing is dependent on the order…that it is inserted into the pipeline.…So if you put things in the wrong order,…you could shoot yourself in the foot.…Now the order for responses is reversed…of the order of requests, and that only makes sense.…The first new middleware feature in 1.1…that I'm going to talk about is URL Rewriting Middleware.…And as one would expect,…it modifies a requested URL based on a set of rules.…
It requires the Microsoft.AspNetCore.Rewrite package,…and it's capable of redirects, which happen client-side,…as well as rewrites, which happen server-side.…
- Running and debugging ASP.NET Core applications
- Pros and cons of migrating existing applications to ASP.NET Core.
- Built-in dependency injection
- Environment awareness and app configuration
- Web host configuration and SSL
- View components invoked as tag helpers
- Configuration and logging
- Using Razor Pages
- Web API improvements
- Support for creating GDPR-compliant applications
Skill Level Intermediate
Use the exercise files3m 37s
1. Get to Know .NET Core
2. ASP.NET Core 1.0
3. ASP.NET Core 1.1
4. ASP.NET Core 2.0
5. ASP.NET Core 2.1
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.