Addet Aspire

This commit is contained in:
2026-07-22 14:24:55 +02:00
parent 26c6c651b1
commit 5de0f416ba
9 changed files with 234 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
var builder = DistributedApplication.CreateBuilder(args);
builder.AddProject<Projects.Database>("database");
builder.Build().Run();

View File

@@ -0,0 +1,15 @@
<Project Sdk="Aspire.AppHost.Sdk/13.2.4">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<UserSecretsId>bf471f42-700e-491e-9def-519245baaaa1</UserSecretsId>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Pos.Ui\Database\Database.csproj" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,31 @@
{
"$schema": "https://json.schemastore.org/launchsettings.json",
"profiles": {
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "https://localhost:17208;http://localhost:15295",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_ENVIRONMENT": "Development",
"ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21197",
"ASPIRE_DASHBOARD_MCP_ENDPOINT_URL": "https://localhost:23254",
"ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22138"
}
},
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "http://localhost:15295",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_ENVIRONMENT": "Development",
"ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19286",
"ASPIRE_DASHBOARD_MCP_ENDPOINT_URL": "http://localhost:18003",
"ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20235"
}
}
}
}

View File

@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}

View File

@@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Aspire.Hosting.Dcp": "Warning"
}
}
}