Added aspire apphost

This commit is contained in:
Khwezi Mngoma
2026-05-01 21:01:03 +02:00
parent 34c30338a3
commit 89a7c9d42d
7 changed files with 495 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
var builder = DistributedApplication.CreateBuilder(args);
builder.Build().Run();
@@ -0,0 +1,11 @@
<Project Sdk="Aspire.AppHost.Sdk/13.1.0">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<UserSecretsId>9a6169c1-9a3d-41f5-b1bf-f173cf418cb5</UserSecretsId>
</PropertyGroup>
</Project>
@@ -0,0 +1,31 @@
{
"$schema": "https://json.schemastore.org/launchsettings.json",
"profiles": {
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "https://aspiremonitoring_dashboard.dev.localhost:17249;http://aspiremonitoring_dashboard.dev.localhost:15261",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_ENVIRONMENT": "Development",
"ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21040",
"ASPIRE_DASHBOARD_MCP_ENDPOINT_URL": "https://localhost:23251",
"ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22183"
}
},
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "http://aspiremonitoring_dashboard.dev.localhost:15261",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_ENVIRONMENT": "Development",
"ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19040",
"ASPIRE_DASHBOARD_MCP_ENDPOINT_URL": "http://localhost:18268",
"ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20163"
}
}
}
}
@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}
@@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Aspire.Hosting.Dcp": "Warning"
}
}
}