From 9e6e84b6b90742f9351493aed08cfdfd4a6e0ade Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=94?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=BB=D0=BE=D0=B2?= Date: Tue, 30 Apr 2024 12:46:36 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=87=D0=B0=D0=BB=D0=BE=20=D0=BD?= =?UTF-8?q?=D0=B0=D1=87=D0=B0=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VeterinaryClinic/VeterinaryClinic.sln | 25 ++++++++++++ .../VeterinaryClinicWebApp/Program.cs | 6 +++ .../Properties/launchSettings.json | 38 +++++++++++++++++++ .../VeterinaryClinicWebApp.csproj | 9 +++++ .../appsettings.Development.json | 8 ++++ .../VeterinaryClinicWebApp/appsettings.json | 9 +++++ 6 files changed, 95 insertions(+) create mode 100644 VeterinaryClinic/VeterinaryClinic.sln create mode 100644 VeterinaryClinic/VeterinaryClinicWebApp/Program.cs create mode 100644 VeterinaryClinic/VeterinaryClinicWebApp/Properties/launchSettings.json create mode 100644 VeterinaryClinic/VeterinaryClinicWebApp/VeterinaryClinicWebApp.csproj create mode 100644 VeterinaryClinic/VeterinaryClinicWebApp/appsettings.Development.json create mode 100644 VeterinaryClinic/VeterinaryClinicWebApp/appsettings.json diff --git a/VeterinaryClinic/VeterinaryClinic.sln b/VeterinaryClinic/VeterinaryClinic.sln new file mode 100644 index 0000000..97a9f3d --- /dev/null +++ b/VeterinaryClinic/VeterinaryClinic.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34330.188 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VeterinaryClinicWebApp", "VeterinaryClinicWebApp\VeterinaryClinicWebApp.csproj", "{97D6A5FF-C23C-409C-BA88-2E071E0E4CCB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {97D6A5FF-C23C-409C-BA88-2E071E0E4CCB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {97D6A5FF-C23C-409C-BA88-2E071E0E4CCB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {97D6A5FF-C23C-409C-BA88-2E071E0E4CCB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {97D6A5FF-C23C-409C-BA88-2E071E0E4CCB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {676F63D2-8BC0-41E7-B1D6-55F783A76A12} + EndGlobalSection +EndGlobal diff --git a/VeterinaryClinic/VeterinaryClinicWebApp/Program.cs b/VeterinaryClinic/VeterinaryClinicWebApp/Program.cs new file mode 100644 index 0000000..1760df1 --- /dev/null +++ b/VeterinaryClinic/VeterinaryClinicWebApp/Program.cs @@ -0,0 +1,6 @@ +var builder = WebApplication.CreateBuilder(args); +var app = builder.Build(); + +app.MapGet("/", () => "Hello World!"); + +app.Run(); diff --git a/VeterinaryClinic/VeterinaryClinicWebApp/Properties/launchSettings.json b/VeterinaryClinic/VeterinaryClinicWebApp/Properties/launchSettings.json new file mode 100644 index 0000000..7a42e6b --- /dev/null +++ b/VeterinaryClinic/VeterinaryClinicWebApp/Properties/launchSettings.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:4530", + "sslPort": 44386 + } + }, + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5031", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7223;http://localhost:5031", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/VeterinaryClinic/VeterinaryClinicWebApp/VeterinaryClinicWebApp.csproj b/VeterinaryClinic/VeterinaryClinicWebApp/VeterinaryClinicWebApp.csproj new file mode 100644 index 0000000..1b28a01 --- /dev/null +++ b/VeterinaryClinic/VeterinaryClinicWebApp/VeterinaryClinicWebApp.csproj @@ -0,0 +1,9 @@ + + + + net8.0 + enable + enable + + + diff --git a/VeterinaryClinic/VeterinaryClinicWebApp/appsettings.Development.json b/VeterinaryClinic/VeterinaryClinicWebApp/appsettings.Development.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/VeterinaryClinic/VeterinaryClinicWebApp/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/VeterinaryClinic/VeterinaryClinicWebApp/appsettings.json b/VeterinaryClinic/VeterinaryClinicWebApp/appsettings.json new file mode 100644 index 0000000..10f68b8 --- /dev/null +++ b/VeterinaryClinic/VeterinaryClinicWebApp/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +}