Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions 01-VerticalSlice/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<!-- DO NOT change TargetFramework from net10.0 without explicit approval -->
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<UserSecretsId>47f99468-f41d-48b8-ae3f-69682954d973</UserSecretsId>
</PropertyGroup>

Expand Down
7 changes: 7 additions & 0 deletions 01-VerticalSlice/global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sdk": {
"version": "10.0.100-rc.2.25502.107",
"rollForward": "latestMinor",
"allowPrerelease": true
}
}
3 changes: 0 additions & 3 deletions 01-VerticalSlice/src/OrderDemo.Api/OrderDemo.Api.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 0 additions & 3 deletions 01-VerticalSlice/src/ServiceDefaults/ServiceDefaults.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions 02-CleanArchitecture/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
<PropertyGroup>
<NoWarn>1591</NoWarn> <!-- Remove this to turn on warnings for missing XML Comments -->
</PropertyGroup>
<!-- DO NOT change TargetFramework from net10.0 without explicit approval -->
</Project>
4 changes: 2 additions & 2 deletions 02-CleanArchitecture/global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": {
"version": "9.0.110",
"version": "10.0.100-rc.2.25502.107",
"rollForward": "latestMinor",
"allowPrerelease": false
"allowPrerelease": true
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
Expand Down
3 changes: 2 additions & 1 deletion 02-backup/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<Project>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<!-- DO NOT change TargetFramework from net10.0 without explicit approval -->
</Project>
7 changes: 7 additions & 0 deletions 02-backup/global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sdk": {
"version": "10.0.100-rc.2.25502.107",
"rollForward": "latestMinor",
"allowPrerelease": true
}
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ Each folder is a **complete, runnable example** of the same domain implemented i

## ⚙️ Prerequisites

- [.NET 9 SDK](https://dotnet.microsoft.com/download/dotnet/9.0) or later
- [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0)
- [Docker Desktop](https://www.docker.com/products/docker-desktop/)
- [Visual Studio 2022 17.10+](https://visualstudio.microsoft.com/vs/) or [Rider / VS Code](https://code.visualstudio.com)
- [Aspire 9.5+](https://learn.microsoft.com/en-us/dotnet/aspire/overview) for local container orchestration

Optionally you may find the Aspire App Templates helpful. Install them with:

```bash
dotnet new install Aspire.ProjectTemplates@9.5.1
dotnet new install Aspire.ProjectTemplates::10.0.0-*
```

---
Expand Down Expand Up @@ -98,8 +98,8 @@ dotnet run

## 🧰 Technologies Used

- **.NET 9 / 10 Preview**
- **EF Core 9** for data access
- **.NET 10**
- **EF Core 10** for data access
- **Mediator** (Martin Costello’s library) for in-process messaging
- **Aspire** for local orchestration and observability
- **Swagger / Minimal APIs**
Expand Down
2 changes: 1 addition & 1 deletion demoplan.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Each demo will be placed in a numbered subfolder (e.g., `01-VerticalSlice`).

## Common Demo Requirements

- [ ] **Development Environment**: Ensure all demos are built using .NET 9 or later.
- [ ] **Development Environment**: Ensure all demos are built using .NET 10.
- [ ] **Aspire**: All demo apps will use Aspire 9.5.1 or later, with Aspire's `AspireAppHostBuilderExtensions` package installed.
- [ ] **Database**: Use a SQL Server database in an Aspire-managed docker container.
- [ ] **API Design**: All demos should expose RESTful APIs for core functionality, and support Scalar for API documentation. APIs will always return DTOs, not entities or domain types.
Expand Down