/orleans-blazor-server-shopping-cart-on-container-apps

A shopping cart app built in ASP.NET Core Blazor Server with Orleans deployed to Azure Container Apps.

Primary LanguageC#MIT LicenseMIT

Microsoft Orleans: Shopping Cart Apps

Deploy to Azure Container Apps

A canonical shopping cart sample application, built using Microsoft Orleans. This app shows the following features:

  • Shopping cart: A simple shopping cart application that uses Orleans for its cross-platform framework support, and its scalable distributed applications capabilities.

    • Inventory management: Edit and/or create product inventory.
    • Shop inventory: Explore purchasable products and add them to your cart.
    • Cart: View a summary of all the items in your cart, and manage these items; either removing or changing the quantity of each item.

Shopping Cart sample app running.

Features

The app is architected as follows:

Shopping Cart sample app architecture.

Get Started

Prerequisites

Quickstart

  1. git clone https://github.com/Azure-Samples/orleans-blazor-server-shopping-cart-on-container-apps.git orleans-on-app-service
  2. cd orleans-blazor-server-shopping-cart-on-container-apps
  3. dotnet run --project Silo\Orleans.ShoppingCart.Silo.csproj

Acknowledgements

The Orleans.ShoppingCart.Silo project uses the following open3rd party-source projects:

  • MudBlazor: Blazor Component Library based on Material design.
  • Bogus: A simple fake data generator for C#, F#, and VB.NET.
  • Blazorators: Source-generated packages for Blazor JavaScript interop.

Derived from IEvangelist/orleans-on-container-apps.