Skip to content

Commit b53873f

Browse files
committed
Update documentation to reflect .NET 10 upgrade and Aspire rebranding
1 parent 174878a commit b53873f

File tree

4 files changed

+20
-22
lines changed

4 files changed

+20
-22
lines changed

.cursor/rules/main.mdc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,18 @@ This is a mono repository with multiple self-contained systems (SCS), each being
4242
- [application](mdc:application): Contains application code:
4343
- [account-management](mdc:application/account-management): An SCS for tenant and user management:
4444
- [WebApp](mdc:application/account-management/WebApp): A React, TypeScript SPA.
45-
- [Api](mdc:application/account-management/Api): .NET 9 minimal API.
46-
- [Core](mdc:application/account-management/Core): .NET 9 Vertical Sliced Architecture.
45+
- [Api](mdc:application/account-management/Api): .NET 10 minimal API.
46+
- [Core](mdc:application/account-management/Core): .NET 10 Vertical Sliced Architecture.
4747
- [Workers](mdc:application/account-management/Workers): A .NET Console job.
4848
- [Tests](mdc:application/account-management/Tests): xUnit tests for backend.
4949
- [back-office](mdc:application/back-office): An empty SCS that will be used to create tools for Support and System Admins:
5050
- [WebApp](mdc:application/back-office/WebApp): A React, TypeScript SPA.
51-
- [Api](mdc:application/back-office/Api): .NET 9 minimal API.
52-
- [Core](mdc:application/back-office/Core): .NET 9 Vertical Sliced Architecture.
51+
- [Api](mdc:application/back-office/Api): .NET 10 minimal API.
52+
- [Core](mdc:application/back-office/Core): .NET 10 Vertical Sliced Architecture.
5353
- [Workers](mdc:application/back-office/Workers): A .NET Console job.
5454
- [Tests](mdc:application/back-office/Tests): xUnit tests for backend.
55-
- [AppHost](mdc:application/AppHost): .NET Aspire project for orchestrating SCSs and Docker containers. Never run directly—typically running in watch mode.
56-
- [AppGateway](mdc:application/AppGateway): Main entry point using .NET YARP as reverse proxy for all SCSs.
55+
- [AppHost](mdc:application/AppHost): Aspire project for orchestrating SCSs and Docker containers. Never run directly—typically running in watch mode.
56+
- [AppGateway](mdc:application/AppGateway): Main entry point using YARP as reverse proxy for all SCSs.
5757
- [shared-kernel](mdc:application/shared-kernel): Reusable .NET backend shared by all SCSs.
5858
- [shared-webapp](mdc:application/shared-webapp): Reusable frontend shared by all SCSs.
5959
- [cloud-infrastructure](mdc:cloud-infrastructure): Bash and Azure Bicep scripts (IaC).

.windsurf/rules/backend/commands.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ public sealed class CreateUserValidator : AbstractValidator<CreateUserCommand>
6363
public CreateUserValidator()
6464
{
6565
// ✅ DO: Use the same message for better user experience and easier localization
66-
RuleFor(x => x.Name)
67-
.NotEmpty().WithMessage("Name must be between 1 and 50 characters.")
68-
.MaximumLength(50).WithMessage("Name must be between 1 and 50 characters.");
66+
RuleFor(x => x.Name).Length(1, 50).WithMessage("Name must be between 1 and 50 characters.");
6967
}
7068
}
7169

@@ -99,7 +97,7 @@ public sealed class CreateUserValidator : AbstractValidator<CreateUserCommand>
9997
{
10098
public CreateUserValidator()
10199
{
102-
// ❌ DON'T: Use different validation messages for the same property
100+
// ❌ DON'T: Use different validation messages for the same property and redundant validation rules
103101
RuleFor(x => x.Name)
104102
.NotEmpty().WithMessage("Name must not be empty.")
105103
.MaximumLength(50).WithMessage("Name must not be more than 50 characters.");

.windsurf/rules/main.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,18 @@ This is a mono repository with multiple self-contained systems (SCS), each being
4242
- [application](/application): Contains application code:
4343
- [account-management](/application/account-management): An SCS for tenant and user management:
4444
- [WebApp](/application/account-management/WebApp): A React, TypeScript SPA.
45-
- [Api](/application/account-management/Api): .NET 9 minimal API.
46-
- [Core](/application/account-management/Core): .NET 9 Vertical Sliced Architecture.
45+
- [Api](/application/account-management/Api): .NET 10 minimal API.
46+
- [Core](/application/account-management/Core): .NET 10 Vertical Sliced Architecture.
4747
- [Workers](/application/account-management/Workers): A .NET Console job.
4848
- [Tests](/application/account-management/Tests): xUnit tests for backend.
4949
- [back-office](/application/back-office): An empty SCS that will be used to create tools for Support and System Admins:
5050
- [WebApp](/application/back-office/WebApp): A React, TypeScript SPA.
51-
- [Api](/application/back-office/Api): .NET 9 minimal API.
52-
- [Core](/application/back-office/Core): .NET 9 Vertical Sliced Architecture.
51+
- [Api](/application/back-office/Api): .NET 10 minimal API.
52+
- [Core](/application/back-office/Core): .NET 10 Vertical Sliced Architecture.
5353
- [Workers](/application/back-office/Workers): A .NET Console job.
5454
- [Tests](/application/back-office/Tests): xUnit tests for backend.
55-
- [AppHost](/application/AppHost): .NET Aspire project for orchestrating SCSs and Docker containers. Never run directly—typically running in watch mode.
56-
- [AppGateway](/application/AppGateway): Main entry point using .NET YARP as reverse proxy for all SCSs.
55+
- [AppHost](/application/AppHost): Aspire project for orchestrating SCSs and Docker containers. Never run directly—typically running in watch mode.
56+
- [AppGateway](/application/AppGateway): Main entry point using YARP as reverse proxy for all SCSs.
5757
- [shared-kernel](/application/shared-kernel): Reusable .NET backend shared by all SCSs.
5858
- [shared-webapp](/application/shared-webapp): Reusable frontend shared by all SCSs.
5959
- [cloud-infrastructure](/cloud-infrastructure): Bash and Azure Bicep scripts (IaC).

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Built to demonstrate seamless flow—backend contracts feed a fully-typed React
2727

2828
## What's inside
2929

30-
* **Backend** - .NET 9 and C# adhering to the principles of vertical slice architecture, DDD, CQRS, and clean code
30+
* **Backend** - .NET 10 and C# 14 adhering to the principles of vertical slice architecture, DDD, CQRS, and clean code
3131
* **Frontend** – React 19, TypeScript, TanStack Router & Query, React Aria for accessible and UI
3232
* **CI/CD** - GitHub actions for fast passwordless deployments of docker containers and infrastructure (Bicep)
3333
* **Infrastructure** - Cost efficient and scalable Azure PaaS services like Azure Container Apps, Azure SQL, etc.
@@ -59,7 +59,7 @@ For development, you need .NET, Docker, and Node. And GitHub and Azure CLI for s
5959
2. From an Administrator PowerShell terminal, use [winget](https://learn.microsoft.com/en-us/windows/package-manager/winget/) (preinstalled on Windows 11) to install any missing packages:
6060

6161
```powershell
62-
winget install Microsoft.DotNet.SDK.9
62+
winget install Microsoft.DotNet.SDK.10
6363
winget install Git.Git
6464
winget install Docker.DockerDesktop
6565
winget install OpenJS.NodeJS
@@ -125,10 +125,10 @@ Open a terminal and run the following commands (if not installed):
125125
sudo apt-get update
126126
```
127127

128-
- Install .NET SDK 9.0, Node, GitHub CLI
128+
- Install .NET SDK 10.0, Node, GitHub CLI
129129

130130
```bash
131-
sudo apt-get install -y dotnet-sdk-9.0 nodejs gh
131+
sudo apt-get install -y dotnet-sdk-10.0 nodejs gh
132132
```
133133

134134
- Install Azure CLI
@@ -233,11 +233,11 @@ PlatformPlatform is a [monorepo](https://en.wikipedia.org/wiki/Monorepo) contain
233233

234234
# Technologies
235235

236-
### .NET 9 Backend With Vertical Sliced Architecture, DDD, CQRS, Minimal API, and Aspire
236+
### .NET 10 Backend With Vertical Sliced Architecture, DDD, CQRS, Minimal API, and Aspire
237237

238238
The backend is built using the most popular, mature, and commonly used technologies in the .NET ecosystem:
239239

240-
- [.NET 9](https://dotnet.microsoft.com) and [C# 13](https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp)
240+
- [.NET 10](https://dotnet.microsoft.com) and [C# 14](https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp)
241241
- [Aspire](https://aka.ms/dotnet-aspire)
242242
- [YARP](https://microsoft.github.io/reverse-proxy)
243243
- [ASP.NET Minimal API](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis)

0 commit comments

Comments
 (0)