Deploy ASP.NET Core Application On IIS

We’ll look at how to deploy an ASP.NET Core application under IIS in this post.

  • Overview

    ASP.NET Core is a cross-platform open-source framework for developing contemporary web apps, API services, and other applications. The ASP.NET Core API application will be deployed to IIS in this tutorial.

  • Requirements for Software

    – Microsoft Visual Studio 2019
    – ASP.NET Core 6.0 Runtime (v6.0.4)

  • Create a project

    Launch Visual Studio. Choose to Create a New Project from the main menu.

  • Install the application ASP.NET Core Runtime on your computer (v6.0.4)

  • Turn on Windows Features on IIS

    – Open Control Panel and click Programs and Features > Turn Windows features on or off.

  • Now Folder publish your Project

    – Right-click on your project in solution explorer => Click on Publish

  • Choose option Folder => Click on next => select project location to publish


  • Click on Publish

  • Open internet information services => right-click on sites => Choose Add Website


  • Provide Site Name => Choose Path => Provide port No => Click on OK

  • Click on the Browse button => Your project is successfully published on the IIS server


Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe

Select Categories