Add project files.

This commit is contained in:
Khwezi Mngoma
2026-04-05 21:05:33 +02:00
parent 32615141bb
commit 82af287b62
641 changed files with 368193 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
var builder = DistributedApplication.CreateBuilder(args);
var cache = builder.AddRedis("cache");
var apiService = builder.AddProject<Projects.AspireApp1_ApiService>("apiservice")
.WithHttpHealthCheck("/health");
builder.AddProject<Projects.AspireApp1_Web>("webfrontend")
.WithExternalHttpEndpoints()
.WithHttpHealthCheck("/health")
.WithReference(cache)
.WaitFor(cache)
.WithReference(apiService)
.WaitFor(apiService);
builder.AddProject<Projects.WebApplication3>("webapplication3");
builder.AddProject<Projects.GrpcService1>("grpcservice1");
builder.AddProject<Projects.WebApplication5>("webapplication5");
builder.Build().Run();

View File

@@ -0,0 +1,23 @@
<Project Sdk="Aspire.AppHost.Sdk/13.1.0">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<UserSecretsId>e8c812ae-b6a3-4aa1-aef9-055b2190c225</UserSecretsId>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\GrpcService1\GrpcService1.csproj" />
<ProjectReference Include="..\..\WebApplication3\WebApplication3.csproj" />
<ProjectReference Include="..\..\WebApplication5\WebApplication5.csproj" />
<ProjectReference Include="..\AspireApp1.ApiService\AspireApp1.ApiService.csproj" />
<ProjectReference Include="..\AspireApp1.Web\AspireApp1.Web.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Aspire.Hosting.Redis" Version="13.2.1" />
</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://aspireapp1.dev.localhost:17033;http://aspireapp1.dev.localhost:15048",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_ENVIRONMENT": "Development",
"ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21190",
"ASPIRE_DASHBOARD_MCP_ENDPOINT_URL": "https://localhost:23233",
"ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22192"
}
},
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "http://aspireapp1.dev.localhost:15048",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_ENVIRONMENT": "Development",
"ASPIRE_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19195",
"ASPIRE_DASHBOARD_MCP_ENDPOINT_URL": "http://localhost:18083",
"ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20230"
}
}
}
}

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"
}
}
}