dotnet/eShop
Fork: 156 Star: 1301 (更新于 2023-11-19 13:26:28)
license: MIT
Language: C#.
A reference .NET application implementing an eCommerce site
eShop Reference Application - "Northern Mountains"
A reference .NET application implementing an eCommerce web site using a services-based architecture.
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.
- During installation, ensure that the following are selected:
-
ASP.NET and web development
workload. -
.NET Aspire SDK
component inIndividual components
.
-
- During installation, ensure that the following are selected:
- Install the latest .NET 8 SDK
- On Mac/Linux (or if not using Visual Studio), install the Aspire workload with the following commands:
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:
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:
Now listening on: http://localhost:18848
Sample data
The sample catalog data is defined in catalog.json. Those product names, descriptions, and brand names are fictional and were generated using GPT-35-Turbo, and the corresponding product images were generated using DALL·E 3.
Contributing
For more information on contributing to this repo, please read the contribution documentation and the Code of Conduct.
最近版本更新:(数据更新于2023-12-04 01:20:33)
dotnet/eShop同语言C#最近更新仓库
2023-12-02 02:53:42 BartoszCichecki/LenovoLegionToolkit
2023-12-02 01:28:08 evolutionary-architecture/evolutionary-architecture-by-example
2023-12-01 16:48:21 Azure/azure-sdk-for-net
2023-12-01 05:12:34 microsoft/fluentui-blazor
2023-11-30 23:46:28 SlejmUr/PayCheck3
2023-11-30 06:39:23 Tyrrrz/YoutubeDownloader