Steve Boniface
Steve Boniface

Reputation: 580

ASP.NET Core 2.0 - Deploy to IIS

Hoping someone has some insight on problems with hosting .NET Core 2.0 apps in IIS

I'm trying to deploy my simple WebAPI project to IIS. Here are the steps I've taken:

enter image description here

Given that these steps to deploy to IIS is very different than what I've experienced for other .NET Framework apps I'm used to, I'm not sure why this is failing for me.

Upvotes: 3

Views: 4084

Answers (2)

Pim_D
Pim_D

Reputation: 89

My problem was I needed two extra pieces of software:

  1. Windows server hosting (https://www.microsoft.com/net/download/windows)
  2. URL Rewrite Module

Upvotes: 0

ASisic
ASisic

Reputation: 109

This should be a comment but i don't have enough reputation.

I had had same issue and I have solved it in following way:

  1. Create folder (with application) on this path C:\inetpub\wwwroot
  2. On IIS create new web app with physical path on \wwwroot\yourapp

Make sure that you have installed "Internet Information Services Hostable Web Core" (you can add it in Windows Features)

Upvotes: 2

Related Questions