I go through many articles to host a website on IIS server but did not find any relevant article for this
Loading
I go through many articles to host a website on IIS server but did not find any relevant article for this
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted Jan 10, 2023, 1:12 PM
It is similar to hosting any normal MVC app,
you just need to make sure that ASP.NET Core Hosting bundle is installed on machine.
Munib ButtPosted Jan 12, 2023, 8:58 PM
The easiest solution would be to install the required .NET framework on the IIS machine and then simply deploy your application.
Amit MohantyPosted Jan 11, 2023, 4:55 AM
Hosting a latest ASP.NET Core MVC application on IIS is similar to hosting an earlier version of ASP.NET Core.
1. Install the .NET Core Hosting Bundle on the server where you want to host the website. This bundle includes the .NET Core Runtime, IIS support, and the ASP.NET Core Module
2. Configure the application pool. In IIS Manager, click on the server name, then click on "Application Pools." Create a new application pool or select an existing one and configure it to use the No Managed Code option under the "Advanced Settings" option.
3. Create a Web.config file in the root of your application. This file tells IIS how to handle incoming requests and how to start your application.
Aravind GovindarajPosted Jan 10, 2023, 1:40 PM
Install ASP.Net Core Module in Server or Local Machine ( Where you are going to host)
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-7.0
Use No Managed Code while creating App Pool
Rest as per BAU such as folder Creation and Keeping the published files in the folder...
Pasang TamangPosted Jan 10, 2023, 12:32 PM
Hi,
You can check the article from below link also
https://www.c-sharpcorner.com/article/host-and-publish-net-core-6-web-api-application-on-iis-server2/
Regards,
Pasang
Vishal JoshiPosted Jan 10, 2023, 12:20 PM
Hello
Please check the below links of the video tutorial to host the asp.net MVC core website.
https://www.youtube.com/watch?v=Q_A_t7KS5Ss
If it's not working please share the browser response message.
Thanks
Uday DodiyaPosted Jan 10, 2023, 12:11 PM
Hi,
Please watch the following YouTube video, which walks you through the process of publishing an ASP.NET MVC on IIS.
https://www.youtube.com/watch?v=ux_DEWA9spw
Rajeesh MenothPosted Jan 10, 2023, 11:53 AM
Hi Garima,
You can go through the Microsoft documents.
https://learn.microsoft.com/en-us/aspnet/core/tutorials/publish-to-iis?view=aspnetcore-7.0&tabs=visual-studio