# eShop Reference Application - "Northern Mountains"
A reference .NET application implementing an eCommerce web site using a services-based architecture.
![eShop Reference Application architecture diagram](img/eshop_architecture.png)
![eShop homepage screenshot](img/eshop_homepage.png)
## Getting Started
### Prerequisites
- Clone the eShop repository: https://github.com/dotnet/eshop
- (Windows only) Install Visual Studio. Visual Studio contains tooling support for .NET Aspire that you will want to have. [Visual Studio 2022 version 17.9 Preview](https://visualstudio.microsoft.com/vs/preview/).
- During installation, ensure that the following are selected:
- `ASP.NET and web development` workload.
- `.NET Aspire SDK` component in `Individual components`.
- Install the latest [.NET 8 SDK](https://github.com/dotnet/installer#installers-and-binaries)
- On Mac/Linux (or if not using Visual Studio), install the Aspire workload with the following commands:
```powershell
dotnet workload update
dotnet workload install aspire
dotnet restore eShop.Web.slnf
```
- Install & start Docker Desktop: https://docs.docker.com/engine/install/
### Running the solution
> [!WARNING]
> Remember to ensure that Docker is started
* (Windows only) Run the application from Visual Studio:
- Open the `eShop.Web.slnf` file in Visual Studio
- Ensure that `eShop.AppHost.csproj` is your startup project
- Hit Ctrl-F5 to launch Aspire
* Or run the application from your terminal:
```powershell
dotnet run --project src/eShop.AppHost/eShop.AppHost.csproj
```
then look for lines like this in the console output in order to find the URL to open the Aspire dashboard:
```sh
Now listening on: http://localhost:18848
```
### Sample data
The sample catalog data is defined in [catalog.json](https://github.com/dotnet/eShop/blob/main/src/Catalog.API/Setup/catalog.json). Those product names, descriptions, and brand names are fictional and were generated using [GPT-35-Turbo](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/chatgpt), and the corresponding [product images](https://github.com/dotnet/eShop/tree/main/src/Catalog.API/Pics) were generated using [DALL·E 3](https://openai.com/dall-e-3).
### Contributing
For more information on contributing to this repo, please read [the contribution documentation](./CONTRIBUTING.md) and [the Code of Conduct](CODE-OF-CONDUCT.md).
没有合适的资源?快使用搜索试试~ 我知道了~
实现电子商务网站的.NET 应用程序 C#实现
共1057个文件
cs:528个
webp:105个
woff2:62个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 60 浏览量
2023-11-21
14:38:01
上传
评论
收藏 15.83MB ZIP 举报
温馨提示
使用基于服务的体系结构实现电子商务网站的参考 .NET 应用程序。 (仅限 Windows)安装 Visual Studio。Visual Studio 包含你希望拥有的对 .NET Aspire 的工具支持。Visual Studio 2022 版本 17.9 预览版。 在安装过程中,请确保选择以下选项: ASP.NET and web development工作量。 .NET Aspire SDK中的组件。Individual components 安装最新的 .NET 8 SDK 在 Mac/Linux(或未使用 Visual Studio)上,使用以下命令安装 Aspire 工作负载: dotnet workload update dotnet workload install aspire dotnet restore eShop.Web.slnf 在 Visual Studio 中打开文件eShop.Web.slnf 确保这是您的启动项目eShop.AppHost.csproj 按 Ctrl-F5 启动 Aspire 或者从终端运行应用程序
资源推荐
资源详情
资源评论
收起资源包目录
实现电子商务网站的.NET 应用程序 C#实现 (1057个子文件)
Package.appxmanifest 2KB
Package.appxmanifest 1KB
nuget.config 280B
AccountController.cs 13KB
20231026091055_Outbox.Designer.cs 13KB
OrderingContextModelSnapshot.cs 13KB
CatalogApi.cs 12KB
20230925222426_Initial.Designer.cs 12KB
20231021004633_FixOrderitemseqSchema.Designer.cs 12KB
RabbitMQEventBus.cs 12KB
20230925223402_InitialMigration.Designer.cs 12KB
ApplicationDbContextModelSnapshot.cs 11KB
20230925222426_Initial.cs 11KB
20230925223402_InitialMigration.cs 11KB
SettingsViewModel.cs 10KB
ExternalController.cs 10KB
ConsentController.cs 8KB
Config.cs 8KB
DeviceController.cs 8KB
Order.cs 7KB
ChatState.cs 7KB
OrdersApi.cs 6KB
ValueObjectTests.cs 6KB
CatalogViewModelTests.cs 6KB
BasketState.cs 6KB
CheckoutViewModel.cs 6KB
20231026091140_Outbox.Designer.cs 6KB
CatalogContextModelSnapshot.cs 6KB
MauiProgram.cs 6KB
OrderAggregateTest.cs 6KB
OrderMockService.cs 6KB
OpenApi.Extensions.cs 5KB
LoginViewModel.cs 5KB
CatalogViewModel.cs 5KB
RequestProvider.cs 5KB
20231009153249_Initial.Designer.cs 5KB
20231018163051_RemoveHiLoAndIndexCatalogName.Designer.cs 5KB
20231009153249_Initial.cs 5KB
OrdersWebApiTest.cs 5KB
ProfileService.cs 5KB
App.xaml.cs 5KB
Extensions.cs 5KB
Extensions.cs 4KB
OrderingContext.cs 4KB
FadeToAnimation.cs 4KB
IdentifiedCommandHandler.cs 4KB
MockSettingsService.cs 4KB
BadgeView.cs 4KB
CatalogContextSeed.cs 4KB
BuyerAggregateTest.cs 4KB
FixUriService.cs 4KB
BasketViewModel.cs 4KB
NewOrderCommandHandlerTest.cs 4KB
20231018163051_RemoveHiLoAndIndexCatalogName.cs 4KB
ChatCompletionExtensions.cs 4KB
MockViewModelTests.cs 4KB
CatalogItem.cs 4KB
ToggleButton.cs 4KB
IdentifiedCommandHandlerTest.cs 3KB
MigrateDbContextExtensions.cs 3KB
SettingsService.cs 3KB
CatalogApiTests.cs 3KB
GracePeriodManagerService.cs 3KB
BasketService.cs 3KB
AnimationBase.cs 3KB
CreateOrderCommandHandler.cs 3KB
GlobalSettings.cs 3KB
OrderQueries.cs 3KB
Extensions.cs 3KB
WebHooksApi.cs 3KB
Program.cs 3KB
IdentityService.cs 3KB
UsersSeed.cs 3KB
OrderService.cs 3KB
IntegrationEventLogService.cs 3KB
GrantsController.cs 3KB
OrderingApiTests.cs 3KB
Extensions.cs 3KB
ValidateOrAddBuyerAggregateWhenOrderStartedDomainEventHandler.cs 3KB
CatalogMockService.cs 3KB
CreateOrderCommand.cs 3KB
TestServerCallContext.cs 3KB
AppEnvironmentService.cs 3KB
BasketServiceTests.cs 3KB
TransactionBehavior.cs 3KB
EventBusBuilderExtensions.cs 3KB
MarketingViewModelTests.cs 3KB
OrderViewModelTests.cs 2KB
CatalogService.cs 2KB
SecurityHeadersAttribute.cs 2KB
CatalogAI.cs 2KB
OrderingApiFixture.cs 2KB
CatalogService.cs 2KB
CatalogIntegrationEventService.cs 2KB
BasketService.cs 2KB
WebhookEndpoints.cs 2KB
ProfileViewModel.cs 2KB
OrderDetailViewModel.cs 2KB
Enumeration.cs 2KB
OrderingIntegrationEventService.cs 2KB
共 1057 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11
资源评论
sjx_alo
- 粉丝: 1w+
- 资源: 1199
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- pta题库答案c语言之树结构2ListLeaves.zip
- pta题库答案c语言之树结构1树的同构.zip
- 基于C++实现民航飞行与地图简易管理系统可执行程序+说明+详细注释.zip
- pta题库答案c语言之复杂度1最大子列和问题.zip
- 三维装箱问题(Three-Dimensional Bin Packing Problem,3D-BPP)是一个经典的组合优化问题
- 以下是一些关于Linux线程同步的基本概念和方法.txt
- 以下是一个简化的示例,它使用pygame库来模拟烟花动画的框架.txt
- Linux线程同步机制深度解析与实用指南.zip
- PTA题库C语言解题策略与实战.rar
- SVPWM控制技术的simulink建模与仿真【包括simulink模型,参考文献,操作步骤】
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功