How fiodarsazanavets/dotnet-aspire-examples works
Project type and purpose
• This repository is a collection of .NET Aspire sample applications (full-stack examples) demonstrating common ASP.NET Core/Blazor, API service, shared library and deployment patterns.
• It serves as companion code for the book “.NET Aspire Made Easy,” illustrating how to structure and deploy modern .NET micro-frontends and microservices.
File structure
• Top-level folders group individual sample solutions (e.g., AppSamples/FoodDelivery, AspireStarterProject, AspireScaleoutAndDeployment, AspireWithSso, etc.).
• Each sample follows a consistent pattern with four main projects:
– ApiService: REST or real-time back-end (e.g., FoodDelivery.ApiService).
– Web: Blazor front-end (e.g., FoodDelivery.Web).
– ServiceDefaults: shared DTOs, extensions and constants.
– AppHost: orchestrates containerization/Kubernetes manifests for deployment.
• Additional samples add specific infrastructure concerns (e.g., Cosmos bootstrapper, Blob Storage, Redis cache, RabbitMQ, Keycloak SSO, OpenIdConnectProvider).
• Solution files (.sln) bind each set of four (plus any extra) projects into a single deployable unit.
Key insights from the README
• The README confirms these are example projects used in a Manning book.