Refactor project structure and add initial files

هذا الالتزام موجود في:
Chris Ayers
2024-09-26 11:56:02 -04:00
الأصل ad91fb1dbd
التزام 1dbbdfb081
38 ملفات معدلة مع 1072 إضافات و0 حذوفات

عرض الملف

@@ -0,0 +1,9 @@
var builder = DistributedApplication.CreateBuilder(args);
var apiService = builder.AddProject<Projects.aspire_sample_ApiService>("apiservice");
builder.AddProject<Projects.aspire_sample_Web>("webfrontend")
.WithExternalHttpEndpoints()
.WithReference(apiService);
builder.Build().Run();

عرض الملف

@@ -0,0 +1,29 @@
{
"$schema": "https://json.schemastore.org/launchsettings.json",
"profiles": {
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "https://localhost:17191;http://localhost:15185",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_ENVIRONMENT": "Development",
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "https://localhost:21014",
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "https://localhost:22193"
}
},
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "http://localhost:15185",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"DOTNET_ENVIRONMENT": "Development",
"DOTNET_DASHBOARD_OTLP_ENDPOINT_URL": "http://localhost:19219",
"DOTNET_RESOURCE_SERVICE_ENDPOINT_URL": "http://localhost:20058"
}
}
}
}

عرض الملف

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

عرض الملف

@@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsAspireHost>true</IsAspireHost>
<UserSecretsId>2838ffdc-fa56-476d-807a-bd92015274be</UserSecretsId>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\aspire-sample.ApiService\aspire-sample.ApiService.csproj" />
<ProjectReference Include="..\aspire-sample.Web\aspire-sample.Web.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="8.2.0" />
</ItemGroup>
</Project>