Hosting a .Net Core 3.1 ASP.Net MVC Website

Justin Reddy 11 Reputation points
2021-01-21T11:01:32.667+00:00

Please assist me with some guidelines on how to host a .Net Core 3.1 ASP.NET MVC website externally. I do not want to use Azure, I want to try this out on an ISP. I am not sure where to find one in South Africa.
I understand the command to run the website is "dotnet name_of_toy_project.dll", I can run this on a local Docker container as well.
If there is any tutorial or article that guides you step by step, please send it my way.

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

1 answer

Sort by: Most helpful
  1. Duane Arnold 3,211 Reputation points
    2021-01-21T23:37:04.653+00:00

    I suggest that you first figure out how to host the ASP.NET Core 3.1 solution on local IIS on your development machine, publish it to local IIS and execute it on local IIS.

    https://zcusa.951200.xyz/en-us/aspnet/core/tutorials/publish-to-iis?view=aspnetcore-5.0&tabs=visual-studio

    Then you need to find a Web hosting provider and ask tech support on how to create a ASP.NET Core publishing package that will be hosted on its hosting site.

    Note: If you are using MS SQL Server Express LocalDB, then you will need to ask about how to deploy the MDF file to their Web hosting database and stop using LocalDB. This will hold true to any database you used locally. How to get your locally used successfully deployed to the Web hosting's database.


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.