Update 4 files

- /App01/Dockerfile
- /App01/ Properties/launchSettings.json
- /App01/App01csproj
- /App01/Program.cs
This commit is contained in:
pashko 2025-09-01 14:27:03 +00:00
commit 0f1e1faff6
4 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,13 @@
{
"profiles": {
"HelloWorldApp": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

9
App01/App01csproj Normal file
View File

@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>

0
App01/Dockerfile Normal file
View File

6
App01/Program.cs Normal file
View File

@ -0,0 +1,6 @@
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
app.MapGet("/", () => "APP01 .NETv7 in Docker!");
app.Run();