This video shows how to add the packages to your project that are necessary to run your application with IIS. Nate demonstrates how to install and configure the IIS integration package, and address whether this affects application portability.
- [Instructor] If you look closely at your program.cs file,…you'll see a call to a method called UseIISIntegration.…This method is provided by an IIS Integration Package…that's automatically installed…in the default ASP.NET Core template.…If you're not using a template,…make sure your project includes…the Microsoft.AspNetCore.Server.IISIntegration…Nougat Package.…What this package does is give ASP.NET Core a hint…that IIS is the reverse proxy in front of the application.…
It doesn't replace Kestrel,…it just allows IIS and ASP.NET Core to work together…on setting ports and reading environment variables.…It seems a little odd at first…to see references to both Kestrel and IIS,…but Kestrel is the actual server here.…The UseIISIntegration line in the program class…doesn't mean your application is tightly coupled to IIS,…or that it's no longer portable,…it's still possible to launch Kestrel directly…or move your application to a Linux server.…Now that we've verified that this package…is installed in the project,…we're ready to deploy this application to IIS.…
- 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.