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.…
Author
Updated
6/12/2017Released
11/10/2016- 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
Duration
Views
Related Courses
-
C#: Design Patterns
with Reynald Adolphe1h 22m Intermediate
-
Introduction
-
Welcome52s
-
-
1. Get Started
-
Server architecture overview2m 31s
-
Choose a deployment strategy2m 14s
-
Project set up43s
-
Project file settings2m 18s
-
-
2. Deploying to IIS
-
Set up IIS1m 58s
-
Create a site and app pool2m 14s
-
Set up data protection2m 27s
-
Understand Web.config1m 12s
-
-
3. Deploying to Azure
-
Get started with Azure1m 4s
-
-
4. Deploying to Linux
-
Install .NET Core on Linux1m 38s
-
Self-hosting with Kestrel1m 54s
-
Use Kestrel with NGINX3m 38s
-
Start Kestrel automatically3m 49s
-
-
5. Deploying with Docker
-
Docker overview2m 7s
-
Create a Docker image3m 53s
-
Run and monitor a container1m 22s
-
Save an image to a file1m 2s
-
-
Conclusion
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Add the IIS integration to your project