First project in an ASP.NET Core 3.1 application


I have successfully completed my first project in an ASP.NET Core application using Connector/NET Core to explore the possibility to run this application on any .NET Core

This project work correctly on http://localhost:62954/Tablename

Now I need publish the project on the windows server 2008 R2 SP2 for sharing on the web this work

On the server I have installed dotnet-sdk-3.1.300-win-x64.exe

I have copied the folder and file from project local to remote server c:\inetpub\wwwroot\aspnetcore\mvccore

but if get on the browser the link http://mywebsite/aspnetcore/mvccore/views/tablename/Index.cshtml the return is page not found

According to this guide Host ASP.NET Core on Windows with IIS only Windows Server 2012 and later is supported for hosting .net core applications on IIS


I have setting my project for run on dotnet-sdk-2.2.207-win-x64.exe for Windows Server 2008 R2 SP2

And now?

How to do for run on IIS 7?

I have to install dotnet-sdk-2.2.207-win-x64.exe on the server or it is enough dotnet-sdk-3.1.300-win-x64.exe?

Any suggestion, please?

I don’t understand because not error when installing dotnet-sdk-3.1.300-win-x64.exe on Windows Server 2008 R2 SP2

how to do resolve this?

can you help me, please?

You need to install .Net Core hosting on the IIS Server.

.NET Foundation Website | Blog | Projects | Code of Conduct