diff --git a/README.md b/README.md index f8ac1ee35..8326d563b 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,12 @@ Tutorial, practical samples and other resources about Event Sourcing in .NET. Se - [6.2 Simple EventSourcing with EventStoreDB](#62-simple-eventsourcing-with-eventstoredb) - [6.3 ECommerce with EventStoreDB](#63-ecommerce-with-eventstoredb) - [6.5 Warehouse](#65-warehouse) - - [6.6 Event Versioning](#66-event-versioning) - - [6.7 Event Pipelines](#67-event-pipelines) - - [6.8 Meetings Management with Marten](#68-meetings-management-with-marten) - - [6.9 Cinema Tickets Reservations with Marten](#69-cinema-tickets-reservations-with-marten) - - [6.10 SmartHome IoT with Marten](#610-smarthome-iot-with-marten) + - [6.6 Warehouse Minimal API](#66-warehouse-minimal-api) + - [6.7 Event Versioning](#67-event-versioning) + - [6.8 Event Pipelines](#68-event-pipelines) + - [6.9 Meetings Management with Marten](#69-meetings-management-with-marten) + - [6.10 Cinema Tickets Reservations with Marten](#610-cinema-tickets-reservations-with-marten) + - [6.11 SmartHome IoT with Marten](#611-smarthome-iot-with-marten) - [7. Self-paced training Kits](#7-self-paced-training-kits) - [7.1 Introduction to Event Sourcing](#71-introduction-to-event-sourcing) - [7.2 Build your own Event Store](#72-build-your-own-event-store) @@ -652,7 +653,13 @@ Samples are using CQRS architecture. They're sliced based on the business module - No Event Sourcing! Using Entity Framework to show that CQRS is not bounded to Event Sourcing or any type of storage, - No Aggregates! CQRS do not need DDD. Business logic can be handled in handlers. -### 6.6 [Event Versioning](./Sample/EventsVersioning) +### 6.6 [Warehouse Minimal API](./Sample/Warehouse.MinimalAPI/) +- simplest CQRS flow using Minimal API, +- example of how and where to use C# Records, Nullable Reference Types, etc, +- No Event Sourcing! Using Entity Framework to show that CQRS is not bounded to Event Sourcing or any type of storage, +- No Aggregates! CQRS do not need DDD. Business logic can be handled in handlers. + +### 6.7 [Event Versioning](./Sample/EventsVersioning) Shows how to handle basic event schema versioning scenarios using event and stream transformations (e.g. upcasting): - [Simple mapping](./Sample/EventsVersioning/#simple-mapping) - [New not required property](./Sample/EventsVersioning/#new-not-required-property) @@ -666,7 +673,7 @@ Shows how to handle basic event schema versioning scenarios using event and stre - [Stream Transformation](./Sample/EventsVersioning/#stream-transformation) - [Summary](./Sample/EventsVersioning/#summary) -### 6.7 [Event Pipelines](./Sample/EventPipelines) +### 6.8 [Event Pipelines](./Sample/EventPipelines) Shows how to compose event handlers in the processing pipelines to: - filter events, - transform them, @@ -677,7 +684,7 @@ Shows how to compose event handlers in the processing pipelines to: - can be used with Dependency Injection, but also without through builder, - integrates with MediatR if you want to. -### 6.8 [Meetings Management with Marten](./Sample/MeetingsManagement/) +### 6.9 [Meetings Management with Marten](./Sample/MeetingsManagement/) - typical Event Sourcing and CQRS flow, - DDD using Aggregates, - microservices example, @@ -685,12 +692,12 @@ Shows how to compose event handlers in the processing pipelines to: - Kafka as a messaging platform to integrate microservices, - read models handled in separate microservice and stored to other database (ElasticSearch) -### 6.9 [Cinema Tickets Reservations with Marten](./Sample/Tickets/) +### 6.10 [Cinema Tickets Reservations with Marten](./Sample/Tickets/) - typical Event Sourcing and CQRS flow, - DDD using Aggregates, - stores events to Marten. -### 6.10 [SmartHome IoT with Marten](./Sample/AsyncProjections/) +### 6.11 [SmartHome IoT with Marten](./Sample/AsyncProjections/) - typical Event Sourcing and CQRS flow, - DDD using Aggregates, - stores events to Marten, diff --git a/Sample/Warehouse.MinimalAPI/Warehouse.Api/Warehouse.Api.csproj b/Sample/Warehouse.MinimalAPI/Warehouse.Api/Warehouse.Api.csproj index 96dca3f02..5767e7cf9 100644 --- a/Sample/Warehouse.MinimalAPI/Warehouse.Api/Warehouse.Api.csproj +++ b/Sample/Warehouse.MinimalAPI/Warehouse.Api/Warehouse.Api.csproj @@ -7,15 +7,15 @@ - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + +