Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

dev-store

> 云原生
Open source

A microservices e-commerce reference application built with ASP.NET 9

1.1K stars0 likes6 views
WebsiteGitHub

About

A microservices e-commerce reference application built with ASP.NET 9

DevStore | A microservices e-commerce reference application built with ASP.NET 9

A real-world reference application powered by desenvolvedor.io implementing the most common and used technologies to share with the technical community the best way to develop full and complex applications with .NET


This project was inspired by EShopOnContainers. However, the real motivation was to build it by "our way."
The EShopOnContainers is an awesome project. However, the code has some "bad smells." We found it difficult to start learning/using EShopOnContainers compared to DevStore. We like to think of the DevStore as a simplified (but no less complex) version and written with more care in code and small details. We also focused only on the Web architecture with ASP.NET.

Give a Star! :star:

If you liked the project or if DevStore is helping you, please give us a star ;)

Want to learn everything to build an app like this? :mortar_board:

Check these online courses at desenvolvedor.io (only in Portuguese)

  • ASP.NET Core Expert
  • Software Architect

Technologies / Components implemented

  • .NET 9

    • ASP.NET MVC Core
    • ASP.NET WebApi
    • ASP.NET Minimal API
    • ASP.NET Identity Core
    • Refresh Token
    • JWT with rotating public/private keys
    • gRPC
    • Background Services
    • Entity Framework Core
  • Components / Services

    • RabbitMQ
    • EasyNetQ
    • Refit
    • Polly
    • Bogus
    • Dapper
    • FluentValidator
    • MediatR
    • Swagger UI with JWT support
    • NetDevPack
    • NetDevPack.Identity
    • NetDevPack.Security.JWT
  • Hosting

    • IIS
    • NGINX
    • Docker (with composing)

Architecture:

Complete architecture implementing the most important and used concerns as:

  • Hexagonal Architecture
  • Clean Code
  • Clean Architecture
  • DDD - Domain Driven Design (Layers and Domain Model Pattern)
  • Domain Events
  • Domain Notification
  • Domain Validations
  • CQRS (Immediate Consistency)
  • Retry Pattern
  • Circuit Breaker
  • Unit of Work
  • Repository
  • Specification Pattern
  • API Gateway / BFF

Architecture Overview

The entire application is based on a unique solution with 7 APIs and one web application (MVC)


This is a reference application, each microservice has its own database and represents a bounded context (DDD concept). There is a BFF / API Gateway to manage the Basket / Order / Payment requests and data structure from responses.


Getting Started

You can run the DevStore project on any operating system. **Make sure you have installed docker in your environment. ** (Get Docker Installation)

Clone the DevStore's repository and navigate to the /Docker folder and then:

If you just want to run the DevStore application in your Docker environment:

docker-compose up

If you want to build the local images and run the DevStore application in your Docker environment:

This docker compose will provide one database container per each API service.

docker-compose -f docker-compose-local.yml up --build

If you prefer to save resource, then use the light local docker compose:

This docker compose will provide just one database container for all API services.

docker-compose -f docker-compose-local-light.yml up --build

If you want to run locally with Visual Studio / VSCode:

You will need:

  • Docker
  • MS-SQL Server instance (or container)
  • RabbitMQ

So you can edit the Docker compose to just run the database and queue dependencies and save your time.

If you want Visual Studio with F5 and debug experience:

  • You will need at least Visual Studio 2022 and .NET 6.
  • The latest SDK and tools can be downloaded from https://dot.net/core
  • Set up the solution to start multiple projects and hit F5

If you want Visual Studio Code experience:

  • Open the VSCode on the root directory (solution file)
  • Create a new launch.json at VSCode debug section and use the configuration below to set up the option "Start all projects"
…

Disclaimer

  • This is not an architectural template or bootstrap model for new apps
  • All implementations were made for the real world, but the goal is to share knowledge
  • In case it is too many implementations included, remove the excess and try to avoid over-engineering

Pull-Requests

Open an issue and let's discuss! Do not submit PRs for undiscussed or unapproved features.

If you want to help us, choose an approved issue and implement it.

We are Online

See the project running on DevStore official instance

About

DevStore was proudly developed by desenvolvedor.io ❤ team under the MIT license.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#asp-netclean-architectureclean-codecqrs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category云原生
PricingOpen source

> Related tools

K
Kubernetes
容器编排事实标准
H
Helm
Kubernetes 包管理器
S
seaweedfs
SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables,