diff --git a/docs/en/Blog-Posts/2025-12-24-Announcing-Aspire-For-Microservice-Template/POST.md b/docs/en/Blog-Posts/2025-12-24-Announcing-Aspire-For-Microservice-Template/POST.md index c1aafe4003..0393ff115d 100644 --- a/docs/en/Blog-Posts/2025-12-24-Announcing-Aspire-For-Microservice-Template/POST.md +++ b/docs/en/Blog-Posts/2025-12-24-Announcing-Aspire-For-Microservice-Template/POST.md @@ -1,10 +1,10 @@ # Announcing .NET Aspire Integration for ABP Microservice Template -We are excited to announce the integration of **.NET Aspire** into the ABP Microservice solution. This integration brings a unified development experience for building, running, debugging, and deploying distributed applications. With Aspire, you can now orchestrate your entire microservice ecosystem with a single command, eliminating complex configurations and making local development effortless. +We are excited to announce the integration of **.NET Aspire** into the ABP microservice solution. This integration brings a unified development experience for building, running, debugging, and deploying distributed applications. With Aspire, you can now orchestrate your entire microservice ecosystem with a single command, eliminating complex configurations and making local development effortless. ## What is .NET Aspire? -.NET Aspire is a cloud-ready stack designed to streamline the development of distributed applications. It provides: +[Aspire](https://aspire.dev/get-started/what-is-aspire/) is a cloud-ready stack designed to streamline the development of distributed applications. It provides: - **Orchestration**: A code-first approach to defining and running distributed applications, managing dependencies, and launch order. - **Integrations**: Pre-built components for common services (databases, caches, message brokers) with automatic configuration. @@ -38,7 +38,7 @@ When Aspire is enabled, two additional projects are added to your solution: ### AppHost (Orchestrator) -`AppHost` is the .NET Aspire orchestrator project that declares all resources (services, databases, containers, applications) and their dependencies in C# code. It provides: +[`AppHost`](https://aspire.dev/get-started/app-host/) is the .NET Aspire orchestrator project that declares all resources (services, databases, containers, applications) and their dependencies in C# code. It provides: - **Centralized orchestration**: Start your entire microservice ecosystem with a single command. - **Code-first infrastructure**: Databases, Redis, RabbitMQ, Elasticsearch, and observability tools are defined programmatically. @@ -47,7 +47,7 @@ When Aspire is enabled, two additional projects are added to your solution: ### ServiceDefaults -`ServiceDefaults` is a shared library that provides common cloud-native configuration for all projects in the solution. Every service uses the same observability, health check, and resilience patterns. +[`ServiceDefaults`](https://aspire.dev/fundamentals/service-defaults/) is a shared library that provides common cloud-native configuration for all projects in the solution. Every service uses the same observability, health check, and resilience patterns. | Feature | Description | |---------|-------------| diff --git a/docs/en/Blog-Posts/2025-12-24-Announcing-Aspire-For-Microservice-Template/aspire-configuration.png b/docs/en/Blog-Posts/2025-12-24-Announcing-Aspire-For-Microservice-Template/aspire-configuration.png index e2e1f4db21..74cd5066bb 100644 Binary files a/docs/en/Blog-Posts/2025-12-24-Announcing-Aspire-For-Microservice-Template/aspire-configuration.png and b/docs/en/Blog-Posts/2025-12-24-Announcing-Aspire-For-Microservice-Template/aspire-configuration.png differ diff --git a/docs/en/solution-templates/microservice/aspire-integration.md b/docs/en/solution-templates/microservice/aspire-integration.md index e932606208..0045a65987 100644 --- a/docs/en/solution-templates/microservice/aspire-integration.md +++ b/docs/en/solution-templates/microservice/aspire-integration.md @@ -309,7 +309,7 @@ var myResource = builder .AddProject("myresource", "MySolutionName.MyProjectName.MyResource") .WaitFor(databases.AdministrationDb) .WaitFor(databases.IdentityDb) - .WaitFor(databases.MyServiceDb) + .WaitFor(databases.MyResourceDb) .WaitFor(databases.AuditLoggingDb) .WaitFor(databases.SaasDb) .WaitFor(databases.LanguageManagementDb) @@ -318,7 +318,7 @@ var myResource = builder .WithReference(databases.AdministrationDb) .WithReference(databases.IdentityDb) .WithReference(databases.BlobStoringDb) - .WithReference(databases.MyServiceDb) + .WithReference(databases.MyResourceDb) .WithReference(databases.AuditLoggingDb) .WithReference(databases.SaasDb) .WithReference(databases.LanguageManagementDb) @@ -349,7 +349,7 @@ if (webgateway != null) If your resource needs to be added to `CORS` and `RedirectAllowedUrls` configuration for the authentication server, update the `allowedUrls` variable in the `ConfigureAuthServer` method: ```csharp -var allowedUrls = ReferenceExpression.Create($"{applicationResources["MyService"].GetEndpoint("http")},..."); +var allowedUrls = ReferenceExpression.Create($"{applicationResources["MyResource"].GetEndpoint("http")},..."); ``` ### 7. Add Database (if needed) @@ -357,7 +357,7 @@ var allowedUrls = ReferenceExpression.Create($"{applicationResources["MyService" If your resource requires a dedicated database, add it in the `AddDatabases` method: ```csharp -var myServiceDb = databaseServers.Postgres.AddDatabase("MyService", "MySolutionName.MyProjectName_MyService"); +var myResourceDb = databaseServers.Postgres.AddDatabase("MyResource", "MySolutionName.MyProjectName_MyResource"); ``` > Adjust the database management system as necessary. diff --git a/docs/en/solution-templates/microservice/images/aspire-configuration.png b/docs/en/solution-templates/microservice/images/aspire-configuration.png index e2e1f4db21..74cd5066bb 100644 Binary files a/docs/en/solution-templates/microservice/images/aspire-configuration.png and b/docs/en/solution-templates/microservice/images/aspire-configuration.png differ diff --git a/docs/en/solution-templates/microservice/images/aspire-solution-structure.png b/docs/en/solution-templates/microservice/images/aspire-solution-structure.png index 65f95ebdcc..f2242721de 100644 Binary files a/docs/en/solution-templates/microservice/images/aspire-solution-structure.png and b/docs/en/solution-templates/microservice/images/aspire-solution-structure.png differ diff --git a/docs/en/solution-templates/microservice/images/solution-runner-aspire-profile.png b/docs/en/solution-templates/microservice/images/solution-runner-aspire-profile.png index 49223aabce..10195fd5b8 100644 Binary files a/docs/en/solution-templates/microservice/images/solution-runner-aspire-profile.png and b/docs/en/solution-templates/microservice/images/solution-runner-aspire-profile.png differ diff --git a/docs/en/solution-templates/microservice/images/solution-runner-default-profile.png b/docs/en/solution-templates/microservice/images/solution-runner-default-profile.png index 3b1e866c88..59cc4dd2dc 100644 Binary files a/docs/en/solution-templates/microservice/images/solution-runner-default-profile.png and b/docs/en/solution-templates/microservice/images/solution-runner-default-profile.png differ