diff --git a/MinimumWebAPI/PizzaStore.csproj b/MinimumWebAPI/PizzaStore.csproj new file mode 100644 index 0000000..1b28a01 --- /dev/null +++ b/MinimumWebAPI/PizzaStore.csproj @@ -0,0 +1,9 @@ + + + + net8.0 + enable + enable + + + diff --git a/MinimumWebAPI/Program.cs b/MinimumWebAPI/Program.cs new file mode 100644 index 0000000..c368122 --- /dev/null +++ b/MinimumWebAPI/Program.cs @@ -0,0 +1,8 @@ +using Microsoft.OpenApi.Models; + +var builder = WebApplication.CreateBuilder(args); +var app = builder.Build(); + +app.MapGet("/", () => "Hello World!"); + +app.Run(); diff --git a/MinimumWebAPI/Properties/launchSettings.json b/MinimumWebAPI/Properties/launchSettings.json new file mode 100644 index 0000000..cd73c7b --- /dev/null +++ b/MinimumWebAPI/Properties/launchSettings.json @@ -0,0 +1,38 @@ +{ + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:41004", + "sslPort": 44346 + } + }, + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5114", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7178;http://localhost:5114", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/MinimumWebAPI/appsettings.Development.json b/MinimumWebAPI/appsettings.Development.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/MinimumWebAPI/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/MinimumWebAPI/appsettings.json b/MinimumWebAPI/appsettings.json new file mode 100644 index 0000000..10f68b8 --- /dev/null +++ b/MinimumWebAPI/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +}