Build a web project with Microsoft .NET SDK 64-bit:
turbo run microsoft/dotnet-sdk-x64
(dotnet-sdk-x64#72d227b8) C:\>dotnet new web -n TestWebApp -o %USERPROFILE%\Desktop\dotnet\TestWebApp
(dotnet-sdk-x64#72d227b8) C:\>dotnet build %userprofile\desktop\dotnet\testwebapp
Launch a container with .NET Runtime 64-bit and ASP.NET 64-bit:
turbo run microsoft/dotnet-aspnet-runtime-x64 --using microsoft/dotnet-runtime-x64 --isolate=merge-user
Check version:
(dotnet-aspnet-runtime-x64#74d116b9) C:\>dotnet --info
.NET SDK:
Version: 8.0.2
Run the web project:
(dotnet-aspnet-runtime-x64#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.
No release notes
This repository does not have an EULA
Actions