How to host aspnet core application as an application in IIS not as an Website

Kumar Raj 1 Reputation point
2021-09-28T06:15:12.99+00:00

Hi All,

I have created asp net core application with angular. I can able to create as Website not as an application in IIS. Please can anyone help me how to host as an application in IIS.

Regards
Kumar Raj R

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,686 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 68,311 Reputation points
    2021-09-28T14:47:42.177+00:00

    Try the docs

    https://learn.microsoft.com/en-us/aspnet/core/tutorials/publish-to-iis?view=aspnetcore-5.0&tabs=visual-studio

    You need to install iis asp.net core module, and the publish will create the required web.config. You will also need to create an iis site with it’s own app pool.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.