Hosting an ASP.NET Core application on IIS works a little differently compared to previous versions of ASP.NET. In this video, Nate demonstrates how to install the necessary tools and configure IIS to act as a reverse proxy to Kestrel, the ASP.NET Core web server. By the end of the video, IIS will be ready to host an ASP.NET Core application.
- [Instructor] Earlier I discussed how an ASP.NET…Core application is hosted.…Let's dive a little deeper into how this works,…specifically with IIS.…On a Windows environment, IIS acts as a reverse proxy…that forwards requests to Kestrel or WebListener…which is hosting your ASP.NET Core application.…The ASP.NET Core modual, or ANCM,…provides this functionality inside of IIS.…Before deploying an ASP.NET Core application to IIS,…you need to do a little bit of configuration…on your server machine.…Of course, if IIS is not already installed,…you need to install it…and enable the appropriate components.…
You also need to install the .NET Core…Windows server hosting bundle.…This package includes the .NET Core runtime,…as well as the ASP.NET Core modual for IIS.…And finally, once you've installed the bundle,…you need to restart the machine itself.…I'll demonstrate how to set up IIS on Windows 10.…If you have Windows server, the steps will look…a little bit different, but the concept is the same.…So, the first step is to install the IIS components.…
- Setting up your ASP.NET project
- Setting up IIS
- Creating an IIS site and app pool
- Publishing your app with Visual Studio or the command line
- Deploying to Azure
- Deploying to Linux
- Deploying with Docker
Skill Level Intermediate
1. Get Started
2. Deploying to IIS
3. Deploying to Azure
Get started with Azure1m 4s
4. Deploying to Linux
5. Deploying with Docker
- 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.