Microsoft ASP.NET Runtime's icon

Microsoft ASP.NET Runtime 9.0.4

.NET is the free, open-source, cross-platform framework for building modern apps and powerful cloud services.

Description

This runtime runs web server apps and provides many web-related APIs. ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. You must install .NET Runtime in addition to this runtime.

Readme

Getting started

Build a web project with Microsoft .NET SDK:

turbo run microsoft/dotnet-sdk

(dotnet-sdk#72d227b8) C:\>dotnet new web -n TestWebApp -o %USERPROFILE%\Desktop\dotnet\TestWebApp

(dotnet-sdk#72d227b8) C:\>dotnet build %userprofile\desktop\dotnet\testwebapp

Launch a container with .NET Runtime and ASP.NET:

turbo run microsoft/dotnet-aspnet-runtime --using microsoft/dotnet-runtime --isolate=merge-user

Check version:

(dotnet-aspnet-runtime#74d116b9) C:\>dotnet --info

.NET SDK:

Version: 8.0.2

Run the web project:

(dotnet-aspnet-runtime#74d116b9) C:\>"%USERPROFILE%\Desktop\dotnet\TestWebApp\bin\Debug\net8.0\TestWebApp.exe"

info: Microsoft.Hosting.Lifetime[14]

Now listening on: http://localhost:5000

info: Microsoft.Hosting.Lifetime[0]

Application started. Press Ctrl+C to shut down.

info: Microsoft.Hosting.Lifetime[0]

Hosting environment: Production

info: Microsoft.Hosting.Lifetime[0]

Content root path: C:\

Open a browser to the address http://localhost:5000/ to confirm the web application has started.


Release Notes

No release notes


EULA

  • Actions

    Go to TurboScript
  • Dependencies
    No dependencies
  • Used By
    No repositories
  • Website
  • Current
    9.0.4 updated 19 days ago
  • Details
    Updated: April 15, 2025
    Created: February 29, 2024