[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-72900":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},72900,"eShop","dotnet\u002FeShop","dotnet","A reference .NET application implementing an eCommerce site","",null,"C#",10539,3664,188,108,0,21,42,97,63,119.7,"MIT License",false,"main",[],"2026-06-12 04:01:07","# eShop Reference Application - \"AdventureWorks\"\n\nA reference .NET application implementing an e-commerce website using a services-based architecture using [.NET Aspire](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Faspire\u002F).\n\n![eShop Reference Application architecture diagram](img\u002Feshop_architecture.png)\n\n![eShop homepage screenshot](img\u002Feshop_homepage.png)\n\n## Getting Started\n\nThis version of eShop is based on .NET 9. \n\nPrevious eShop versions:\n* [.NET 8](https:\u002F\u002Fgithub.com\u002Fdotnet\u002FeShop\u002Ftree\u002Frelease\u002F8.0)\n\n### Prerequisites\n\n- Clone the eShop repository: https:\u002F\u002Fgithub.com\u002Fdotnet\u002Feshop\n- [Install & start Docker Desktop](https:\u002F\u002Fdocs.docker.com\u002Fengine\u002Finstall\u002F)\n\n#### Windows with Visual Studio\n- Install [Visual Studio 2022 version 17.10 or newer](https:\u002F\u002Fvisualstudio.microsoft.com\u002Fvs\u002F).\n  - Select the following workloads:\n    - `ASP.NET and web development` workload.\n    - `.NET Aspire SDK` component in `Individual components`.\n    - Optional: `.NET Multi-platform App UI development` to run client apps\n\nOr\n\n- Run the following commands in a Powershell & Terminal running as `Administrator` to automatically configure your environment with the required tools to build and run this application. (Note: A restart is required and included in the script below.)\n\n```powershell\ninstall-Module -Name Microsoft.WinGet.Configuration -AllowPrerelease -AcceptLicense -Force\n$env:Path = [System.Environment]::GetEnvironmentVariable(\"Path\",\"Machine\") + \";\" + [System.Environment]::GetEnvironmentVariable(\"Path\",\"User\")\nget-WinGetConfiguration -file .\\.configurations\\vside.dsc.yaml | Invoke-WinGetConfiguration -AcceptConfigurationAgreements\n```\n\nOr\n\n- From Dev Home go to `Machine Configuration -> Clone repositories`. Enter the URL for this repository. In the confirmation screen look for the section `Configuration File Detected` and click `Run File`.\n\n#### Mac, Linux, & Windows without Visual Studio\n- Install the latest [.NET 9 SDK](https:\u002F\u002Fdot.net\u002Fdownload?cid=eshop)\n\nOr\n\n- Run the following commands in a Powershell & Terminal running as `Administrator` to automatically configuration your environment with the required tools to build and run this application. (Note: A restart is required after running the script below.)\n\n##### Install Visual Studio Code and related extensions\n```powershell\ninstall-Module -Name Microsoft.WinGet.Configuration -AllowPrerelease -AcceptLicense  -Force\n$env:Path = [System.Environment]::GetEnvironmentVariable(\"Path\",\"Machine\") + \";\" + [System.Environment]::GetEnvironmentVariable(\"Path\",\"User\")\nget-WinGetConfiguration -file .\\.configurations\\vscode.dsc.yaml | Invoke-WinGetConfiguration -AcceptConfigurationAgreements\n```\n\n> Note: These commands may require `sudo`\n\n- Optional: Install [Visual Studio Code with C# Dev Kit](https:\u002F\u002Fcode.visualstudio.com\u002Fdocs\u002Fcsharp\u002Fget-started)\n- Optional: Install [.NET MAUI Workload](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Fget-started\u002Finstallation?tabs=visual-studio-code)\n\n> Note: When running on Mac with Apple Silicon (M series processor), Rosetta 2 for grpc-tools. \n\n### Running the solution\n\n> [!WARNING]\n> Remember to ensure that Docker is started\n\n* (Windows only) Run the application from Visual Studio:\n - Open the `eShop.Web.slnf` file in Visual Studio\n - Ensure that `eShop.AppHost.csproj` is your startup project\n - Hit Ctrl-F5 to launch Aspire\n\n* Or run the application from your terminal:\n```powershell\ndotnet run --project src\u002FeShop.AppHost\u002FeShop.AppHost.csproj\n```\nthen look for lines like this in the console output in order to find the URL to open the Aspire dashboard:\n```sh\nLogin to the dashboard at: http:\u002F\u002Flocalhost:19888\u002Flogin?t=uniquelogincodeforyou\n```\n\n> You may need to install ASP.NET Core HTTPS development certificates first, and then close all browser tabs. Learn more at https:\u002F\u002Faka.ms\u002Faspnet\u002Fhttps-trust-dev-cert\n\n### Azure Open AI\n\nWhen using Azure OpenAI, inside *eShop.AppHost\u002Fappsettings.json*, add the following section:\n\n```json\n  \"ConnectionStrings\": {\n    \"OpenAi\": \"Endpoint=xxx;Key=xxx;\"\n  }\n```\n\nReplace the values with your own. Then, in the eShop.AppHost *Program.cs*, set this value to **true**\n\n```csharp\nbool useOpenAI = false;\n```\n\nHere's additional guidance on the [.NET Aspire OpenAI component](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Faspire\u002Fazureai\u002Fazureai-openai-component?tabs=dotnet-cli). \n\n### Use Azure Developer CLI\n\nYou can use the [Azure Developer CLI](https:\u002F\u002Faka.ms\u002Fazd) to run this project on Azure with only a few commands. Follow the next instructions:\n\n- Install the latest or update to the latest [Azure Developer CLI (azd)](https:\u002F\u002Faka.ms\u002Fazure-dev\u002Finstall).\n- Log in `azd` (if you haven't done it before) to your Azure account:\n```sh\nazd auth login\n```\n- Initialize `azd` from the root of the repo.\n```sh\nazd init\n```\n- During init:\n  - Select `Use code in the current directory`. Azd will automatically detect the .NET Aspire project.\n  - Confirm `.NET (Aspire)` and continue.\n  - Select which services to expose to the Internet (exposing `webapp` is enough to test the sample).\n  - Finalize the initialization by giving a name to your environment.\n\n- Create Azure resources and deploy the sample by running:\n```sh\nazd up\n```\nNotes:\n  - The operation takes a few minutes the first time it is ever run for an environment.\n  - At the end of the process, `azd` will display the `url` for the webapp. Follow that link to test the sample.\n  - You can run `azd up` after saving changes to the sample to re-deploy and update the sample.\n  - Report any issues to [azure-dev](https:\u002F\u002Fgithub.com\u002FAzure\u002Fazure-dev\u002Fissues) repo.\n  - [FAQ and troubleshoot](https:\u002F\u002Flearn.microsoft.com\u002Fazure\u002Fdeveloper\u002Fazure-developer-cli\u002Ftroubleshoot?tabs=Browser) for azd.\n\n## Contributing\n\nFor more information on contributing to this repo, read [the contribution documentation](.\u002FCONTRIBUTING.md) and [the Code of Conduct](CODE-OF-CONDUCT.md).\n\n### Sample data\n\nThe sample catalog data is defined in [catalog.json](https:\u002F\u002Fgithub.com\u002Fdotnet\u002FeShop\u002Fblob\u002Fmain\u002Fsrc\u002FCatalog.API\u002FSetup\u002Fcatalog.json). Those product names, descriptions, and brand names are fictional and were generated using [GPT-35-Turbo](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fazure\u002Fai-services\u002Fopenai\u002Fhow-to\u002Fchatgpt), and the corresponding [product images](https:\u002F\u002Fgithub.com\u002Fdotnet\u002FeShop\u002Ftree\u002Fmain\u002Fsrc\u002FCatalog.API\u002FPics) were generated using [DALL·E 3](https:\u002F\u002Fopenai.com\u002Fdall-e-3).\n\n## eShop on Azure\n\nFor a version of this app configured for deployment on Azure, please view [the eShop on Azure](https:\u002F\u002Fgithub.com\u002FAzure-Samples\u002FeShopOnAzure) repo.\n","dotnet\u002FeShop是一个实现电子商务网站的参考.NET应用程序。该项目采用了基于服务的架构，并利用.NET Aspire技术栈来构建现代化的Web应用，支持高可用性和可扩展性。其核心功能包括商品展示、购物车管理、订单处理等电商基础功能，并且通过微服务架构设计增强了系统的灵活性与维护性。适合用于学习现代.NET开发技术以及作为构建企业级电子商务平台的基础框架。无论是教育目的还是实际项目开发，eShop都能提供宝贵的实践经验和代码参考。",2,"2026-06-11 03:43:57","high_star"]