Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thangchung/northwind-dotnet
A full-stack .NET 6 Microservices build on Minimal APIs and C# 10
https://github.com/thangchung/northwind-dotnet
blazor-webassembly clean-architecture debezium dotnet6 grpc-dotnet kafka-dotnet masstransit microservices minimal-api minimalapis northwind tye
Last synced: 3 days ago
JSON representation
A full-stack .NET 6 Microservices build on Minimal APIs and C# 10
- Host: GitHub
- URL: https://github.com/thangchung/northwind-dotnet
- Owner: thangchung
- License: mit
- Created: 2021-10-26T14:51:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-15T12:31:51.000Z (over 1 year ago)
- Last Synced: 2024-10-23T01:40:32.369Z (12 days ago)
- Topics: blazor-webassembly, clean-architecture, debezium, dotnet6, grpc-dotnet, kafka-dotnet, masstransit, microservices, minimal-api, minimalapis, northwind, tye
- Language: C#
- Homepage:
- Size: 48.8 MB
- Stars: 182
- Watchers: 8
- Forks: 53
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Audit: AuditCenter/AuditCenter.csproj
Awesome Lists containing this project
README
# northwind-dotnet projects
Implementing the specification of northwind application at https://github.com/thangchung/northwind-specs
# Setup Environment Variables
Create `.env` file with content as below
```bash
POSTGRES_USER=northwind
POSTGRES_PASSWORD=
POSTGRES_DB=northwind_dbACCEPT_EULA=Y
ConnectionStrings__northwind_db=Server=localhost;Port=5432;Database=northwind_db;User Id=northwind;Password=;
Kafka__BootstrapServers=localhost:9092
Kafka__SchemaRegistryUrl=http://localhost:8081
AuditorGrpcUrl=https://localhost:5006
```And now you are ready to start it
```bash
> tye run --watch
> dotnet watch run // for Blazor Web
```# Business contexts / Boundary contexts
![](_assets/boundary_contexts.png)
# Inter-communication
## Synchronous communication via gateway
![](_assets/intercomm_sync.png)
## Asynchronous communication via message broker
![](_assets/intercomm_async.png)
# Workflow
- Full Sagas workflow
![](_assets/full_sagas_wf.png)
- Order workflow
![](_assets/order_wf.png)
- Ship workflow
![](_assets/ship_wf.png)
# Screen shots
![](_assets/northwind-product-crud.png)
# HTTP/3 with gRPC
- https://github.com/grpc/grpc-dotnet/issues/1478
- https://devblogs.microsoft.com/dotnet/http-3-support-in-dotnet-6/
- https://devblogs.microsoft.com/dotnet/net-5-new-networking-improvements/
- https://docs.microsoft.com/en-us/dotnet/core/extensions/httpclient-http3#using-httpclient# Reference stuffs
- https://minimal-apis.github.io/