From 0f1e1faff674a2ce42eecc6366b8a6bbb3af261c Mon Sep 17 00:00:00 2001 From: pashko Date: Mon, 1 Sep 2025 14:27:03 +0000 Subject: [PATCH] Update 4 files - /App01/Dockerfile - /App01/ Properties/launchSettings.json - /App01/App01csproj - /App01/Program.cs --- App01/ Properties/launchSettings.json | 13 +++++++++++++ App01/App01csproj | 9 +++++++++ App01/Dockerfile | 0 App01/Program.cs | 6 ++++++ 4 files changed, 28 insertions(+) create mode 100644 App01/ Properties/launchSettings.json create mode 100644 App01/App01csproj create mode 100644 App01/Dockerfile create mode 100644 App01/Program.cs diff --git a/App01/ Properties/launchSettings.json b/App01/ Properties/launchSettings.json new file mode 100644 index 0000000..16c4641 --- /dev/null +++ b/App01/ Properties/launchSettings.json @@ -0,0 +1,13 @@ +{ + "profiles": { + "HelloWorldApp": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5000", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } + } \ No newline at end of file diff --git a/App01/App01csproj b/App01/App01csproj new file mode 100644 index 0000000..6733489 --- /dev/null +++ b/App01/App01csproj @@ -0,0 +1,9 @@ + + + + net7.0 + enable + enable + + + \ No newline at end of file diff --git a/App01/Dockerfile b/App01/Dockerfile new file mode 100644 index 0000000..e69de29 diff --git a/App01/Program.cs b/App01/Program.cs new file mode 100644 index 0000000..add79c5 --- /dev/null +++ b/App01/Program.cs @@ -0,0 +1,6 @@ +var builder = WebApplication.CreateBuilder(args); +var app = builder.Build(); + +app.MapGet("/", () => "APP01 .NETv7 in Docker!"); + +app.Run(); \ No newline at end of file