5

If I'm not wrong, ASP.NET Core projects are .NET Core console applications that set up HTTP Server. It has a Program class with Main method. All specified ASP.NET Core namespaces and types are distributed via NuGet packages (referenced in Microsoft.NET.Sdk.Web SDK).

My logic says me "for running ASP.NET Core apps you only .NET Core runtime", but...

What are the difference between the both runtimes? Can I run ASP.NET application with .NET Core runtime and without ASP.NET Core runtime? In negative case, why specified runtime for ASP.NET Core is needed? I don't need specified runtime for running e.g. Monogame projects.

Ivan Montilla
  • 392
  • 4
  • 19
  • 5
    This question is closed as duplicate, but it is not duplicate. The linked question ask about difference between .NET Core and ASP.NET Core (referring to the framework, not the runtime). I'm asking about the ASP.NET Core runtime (the specific runtime, not the framework) and why it is needed instead of the .NET Core runtime. – Ivan Montilla Jun 15 '21 at 12:35
  • 1
    This question should NEVER have been put as a "duplicate". I am also interested in the differences, did you find any answers on your own? – MrDave1999 Oct 04 '21 at 00:16
  • Hi @MrDave1999, see this GitHub discussion for more information https://github.com/dotnet/runtime/discussions/59902 – Ivan Montilla Dec 20 '21 at 18:04

0 Answers0