eShopOnContainers README

The project's README from github.com/dotnet-architecture/eShopOnContainers. As one markdown file: README.md.

eShop has moved!

As of November 2023, the eShop sample application has been updated and moved to https://github.com/dotnet/eShop. Active development will continue there.

This repo is now a read-only archive. If you'd like to refer to the old code that was in here, you can find it in the "dev" branch.

eShopOnContainers (dotnet-architecture/eShopOnContainers)

Searching Database…

24.3K ·GitHub
archived
这是什么?一个跨平台的 .NET 示例应用,用来演示微服务、基于容器的架构:它依托 .NET 7、Docker 容器和 Azure Kubernetes Services,可以在 Linux、Windows 和 macOS 上运行。
那它是一个能安装的成品,还是一个学习用的示例?更偏学习示例:它是一个示例应用——一套完整、可运行的代码库,用来展示微服务系统是如何搭建的,并不是面向真实用户部署的产品。
我怎么把它跑起来?把各个服务作为 Docker 容器来运行——可以用 Visual Studio、Visual Studio for Mac,或者直接用 dotnet CLI 和 Docker CLI 的纯命令行流程——部署路线是 Azure Kubernetes Service。想看最新的内容,请从后继仓库 github.com/dotnet/eShop 入手。
运行它需要装什么?基础是 .NET 7 SDK 和 Docker;走 Kubernetes 路线则默认使用 Azure Kubernetes Service。编辑器随便选——这个项目支持 Visual Studio、VS for Mac、VS Code 以及纯命令行环境。
这个项目还活着吗?没有了——2023 年 11 月这个示例被更新并迁移到了 dotnet/eShop 仓库,现在这个仓库是只读归档,代码停留在 .NET 7 时代。
我正在学 .NET 微服务——这份代码库还值得研究吗?它正是为此而生:自 2016 年起就是 dotnet-architecture 组织用于学习 .NET 微服务和 DDD 模式的参考示例,不过持续维护的版本现在已移到 dotnet/eShop。
这个示例实际展示的是什么架构?围绕领域驱动设计(DDD)模式组织的微服务,以 Docker 容器的形式交付;客户端包括一个 SPA 网页前端和 Xamarin 移动应用。
我还能在哪里找到旧的 .NET 7 代码?就在这个归档仓库里——README 指向 'dev' 分支,迁移前的代码以只读方式保留在那里。
Size
645.6 MB
Stars
24.3K
Age
10y
Commits · 90 Days