The WebListener server—introduced in 1.1—has been expanded and rebranded in 2.0. In this video, explore the new version HTTP.sys and learn how to use it instead of Kestrel or IIS.
- [Instructor] A change from 1.1 is WebListener…is now named HTTP.sys,…but it's not just a rebranding,…it's actually a combination of the WebListener and…Microsoft.Net.Http.Server packages.…This is a package you would have to add in, and that is the…Microsoft.AspNetCore.Server.HttpSys package,…because it's not a standard server…that is used with Asp.NetCore.…
Recall from the 1.1 chapter…that the WebListener, or now HTTP.sys,…only works on Windows,…and is useful for those cases…where you need more of the Windows functionality…exposed to your application…than can be done through Kestrel.…Like the WebListener,…you can configure the authentication,…and that is Schemes and AllowAnonymous,…but you can also now configure max client connections,…max request body size,…and add in URL prefixes.…
As a reminder, this will not work with IIS.…It has to be one or the other.…So let's look at how we use this in code.…In the exercise files,…lines 51 through 63 are commented out.…To set this lab up,…you will want to comment out the rest of main,…
- 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.