Skip to content

AK0785/AspireShop

Repository files navigation

languages products page_type name urlFragment description
csharp
dotnet
dotnet-aspire
sample
.NET Aspire Shop sample
aspire-shop
An example shop app written with .NET Aspire.

Aspire Shop

Screenshot of the web front end the .NET Aspire Shop sample

The app consists of four services:

  • AspireShop.Frontend: This is a Blazor app that displays a paginated catlog of products and allows users to add products to a shopping cart.
  • AspireShop.CatalogService: This is an HTTP API that provides access to the catalog of products stored in a PostgreSQL database.
  • AspireShop.CatalogDbManager: This is an HTTP API that manages the initialization and updating of the catalog database.
  • AspireShop.BasketService: This is a gRPC service that provides access to the shopping cart stored in Redis.

The app also includes a class library project, AspireShop.ServiceDefaults, that contains the service defaults used by the service projects.

Pre-requisites

Running the app

If using Visual Studio, open the solution file AspireShop.sln and launch/debug the AspireShop.AppHost project.

If using the .NET CLI, run dotnet run from the AspireShop.AppHost directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published