Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run a .Net Core webapplication on a Windows 7 machine?

I want to run a ASP.Net Core webapplication on a Windows 7 machine without having to install Visual Studio.

Can I just install .Net Core on the production environment or are there some preconditions that have to be met prior to installing .Net Core?

like image 291
DarkAngel Avatar asked Mar 09 '23 01:03

DarkAngel


1 Answers

I tried out some scenarios and I found out the following:

For running .Net Core you only need the .Net Core runtime (or the SDK) installed on the production environment. You can find the downloads here: https://github.com/dotnet/core/blob/master/release-notes/download-archive.md

For ASP.Net Core, which uses Kestrel for hosting, you only need the runtime (or the SDK) as well. (I tested this on Windows 7 and Linux Debian) When hosting with IIS, see Andre.Santarosa answer

like image 169
DarkAngel Avatar answered Apr 28 '23 05:04

DarkAngel