Last post May 11, 2017 01:13 PM by Dmitry Sikorsky
May 11, 2017 07:53 AM|tanvir.ahmed.pk|LINK
I want to deploy an asp.net.core web application on some system where nothing is installed like visual studio etc .
What minimum is required to run asp.net.core web application on a simple windows 7 machine.
Actually I want to ask how to deploy asp.net.core web application on some windows 7 machine on which server at least to install on that machine.
May 11, 2017 07:57 AM|Dmitry Sikorsky|LINK
You only have to download and install .NET Core runtime: https://www.microsoft.com/net/download/core#/runtime
You will be able to run .NET Core web applications (self-hosted, without external web server). If you want to use IIS you have to install it too.
UPD: your Windows 7 must have SP 1 installed. Also it seems that for old OS you have to install MS Visual C++ Redistributable Update 3:
May 11, 2017 08:00 AM|maherjendoubi|LINK
You need to configure IIS : https://docs.microsoft.com/en-us/aspnet/core/publishing/iis
and also install the .NET Core SDK https://www.microsoft.com/net/core#windowscmd
May 11, 2017 08:03 AM|tanvir.ahmed.pk|LINK
How to do that?
Lets we install .net core on the machine.
Then say a layman to run the application then
1-What portion of the application to copy to that machine.
2-What icon to click that layman.
May 11, 2017 12:47 PM|tanvir.ahmed.pk|LINK
Any reply sir.
May 11, 2017 01:13 PM|Dmitry Sikorsky|LINK
Look, let's say you have installed .NET Core (and requirements from that article I have sent for the Windows 7).
Now right click you web application project in Visual Studio and click Publish.
Publish to some folder on the desktop.
Then copy content of that folder to your Windows 7 computer.
Type "cd <path to your folder where yourwebapplication.dll is located>"
Then type "dotnet yourwebapplication.dll"
You should see that application has started and is listening on port 5000.
Open browser and navigate to http://localhost:5000/