O'Reilly logo

Learning Angular for .NET Developers by Rajesh Gunasundaram

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying to IIS

We need to ensure that the HttpPlatformHandler module that acts as a reverse proxy is installed when you deploy to an IIS server. When the request comes in, IIS forwards it to another process, which is typically a command-line application. IIS will start and stop the process when needed and take care of concurrency.

In the IIS management application, our application is considered as another website, and can be configured in IIS. We need to inform IIS to execute the DNX when our application gets a request. We can achieve it using the web.config present in the project's folder. IIS still uses web.config for HttpPlatformHandler:

Fig 11: Configuring HttpPlatformHandler in the web.config file

The HttpPlatformHandler extension ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required