eShopLite

作者 Azure-Samples已验证

eShopLite is a set of reference .NET applications implementing an eCommerce site with features like Semantic Search, MCP, Reasoning models and more.

168
Stars
85
Forks
C#
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/Azure-Samples/eShopLite

快速入门

使用 eShopLite 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

eShopLite

GitHub license GitHub contributors GitHub issues GitHub pull-requests PRs Welcome

GitHub watchers GitHub forks GitHub stars

Azure AI Community Discord

Azure AI Foundry GitHub Discussions

eShopLite is a set of reference .NET applications implementing an eCommerce site with features like Semantic Search, Model Context Protocol (MCP), Reasoning models, vector databases, and more.

  • ☁️ All scenarios in this repository use the latest version of .NET and leverage .NET Aspire to orchestrate the entire solution.
  • 🌟 Don't forget to star (🌟) this repo to find it easier later.
  • ➡️ Get your own copy by Forking this repo and find it next in your own repositories.
  • Have a question? Besides creating issues or pull requests, the best option for questions is to join the Azure AI Discord channel, where a team of AI experts can help you.

Features

This project framework provides the following features:

  • Modern .NET application architecture with .NET Aspire
  • Various search capabilities (keyword search, semantic search)
  • Integration with multiple AI models (GPT-4o, DeepSeek-R1, etc.)
  • Vector database implementations (In Memory, Azure AI Search, Chroma DB and others)
  • Real-time audio capabilities
  • Model Context Protocol (MCP) server and client implementation

eShopLite Scenarios

The project includes several scenarios demonstrating different capabilities:

ScenarioDescriptionKey Technologies
01 - Semantic SearchA reference .NET application implementing an eCommerce site with Search features using Keyword Search and Semantic Search..NET Aspire, OpenAI GPT-4.1-mini, In-memory Vector DB
02 - Azure AI SearchImplements an eCommerce site with Keyword Search using SQL queries and Semantic Search with Vector Database and Azure AI Search.Azure AI Search, OpenAI Embeddings, SQL Server
03 - Realtime AudioExtends the eCommerce site with advanced search features and real-time audio capabilities powered by the GPT-4o Realtime Audio API.GPT-4o Realtime Audio API, Audio in Blazor, .NET Aspire
04 - Chroma DBImplements semantic search functionality using Chroma DB, an open-source database designed for AI applications.Chroma DB, OpenAI Embeddings, .NET SDK
05 - DeepSeek-R1Demonstrates integration of the DeepSeek-R1 model for enhanced semantic understanding and search capabilities.DeepSeek-R1, .NET Aspire, Vector Embeddings
06 - Model Context Protocol (MCP)Implements the Model Context Protocol (MCP) for advanced AI interactions with MCP Servers and MCP Clients.Model Context Protocol, Function Calling, SSE Events
07 - Agents ConcurrentDemonstrates concurrent agent orchestration and advanced AI agent collaboration patterns..NET Aspire, Multi-Agent Systems, Orchestration
08 - SQL Server 2025Demonstrates the use of vector search and vector indexes in the SQL Database EngineSQL Server 2025, Vector Search, Vector Indexes
09 - Azure App ServiceShows how to deploy a .NET Aspire multi-service eCommerce app to Azure App Service, using SQLite for data and integrating AI search.Azure App Service, .NET Aspire, OpenAI, SQLite
10 - A2A NetworkDemonstrates advanced agent-to-agent (A2A) communication and orchestration patterns in .NET Aspire, including multi-agent collaboration and reasoning..NET Aspire, Multi-Agent Systems, A2A Protocol
11 - GitHub ModelsLocal-first AI development using GitHub Models during local runs, with automatic switch to Azure OpenAI when deployed..NET Aspire, GitHub Models, Azure OpenAI
12 - Azure FunctionsOptional Azure Functions façade for semantic search and an alternate deployment boundary for vector search.Azure Functions, .NET Aspire, Azure OpenAI
13 - Observability Assistant with Foundry LocalSummarizes logs, traces, and incidents with a local-first observability assistant.Aspire, OpenTelemetry, Foundry Local, Microsoft.Extensions.AI
14 - Product Discovery CopilotTurns search into natural-language product discovery with grounded explanations.Semantic search, vector search, Microsoft.Extensions.AI
15 - Store Intelligence ReportGenerates daily business and operational store intelligence reports.App data, telemetry, AI summarization, reports
16 - MCP Store Operations ToolsExposes safe store capabilities as MCP tools for agent use.MCP, Aspire, app APIs, tool calling
17 - A2A Store Operations NetworkShows specialized agents collaborating around the store app through A2A.A2A, Microsoft Agent Framework, hosted agents

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/Azure-Samples/eShopLite.git
    
  2. Navigate to the scenario directory of interest:

    cd eShopLite/scenarios/[scenario-folder]
    
  3. Login to Azure:

    azd auth login
    
  4. Provision and deploy all the resources:

    azd up
    

    It will prompt you to provide an azd environment name (like "eShopLite"), select a subscription from your Azure account, and select a location where the necessary models, like gpt-4.1-mini and ADA-002 are available, a sample region can be "eastus2".

Quick setup — Azure OpenAI secrets

The script scripts\Set-AzureOpenAISecrets.ps1 configures all 17 scenarios at once. Run it from the repo root:

pwsh .\scripts\Set-AzureOpenAISecrets.ps1

The script interactively prompts for four values:

PromptParameter set
Azure OpenAI endpointParameters:AzureOpenAIEndpoint
Azure OpenAI API key (masked)Parameters:AzureOpenAIApiKey
Chat deployment nameParameters:AzureOpenAIDeploymentName
Embeddings deployment nameParameters:AzureOpenAIEmbeddingsDeploymentName

Use -DryRun to preview the commands without executing them:

pwsh .\scripts\Set-AzureOpenAISecrets.ps1 -DryRun

Internally, the script calls the Aspire CLI (aspire secret set) for each AppHost it discovers. To set a single value manually, use the same command directly:

aspire secret set Parameters:AzureOpenAIEndpoint "https://<your-resource>.openai.azure.com/" \
  --apphost scenarios/01-SemanticSearch/src/eShopAppHost/eShopAppHost.csproj

Note: Scenario-specific extra parameters (e.g., Parameters:AzureOpenAIRealtimeDeploymentName in 03-RealtimeAudio, Parameters:DeepSeekEndpoint in 05-deepseek, Parameters:GitHubModelsToken in 11-GitHubModels) must still be set manually. See each scenario's README for details.

Quickstart

  1. Navigate to a specific scenario folder (e.g., scenarios/01-SemanticSearch/)
  2. Follow the README instructions in that scenario folder
  3. Run the solution using dotnet run in the appropriate host project folder

Demo

To run the demo, follow these steps:

  1. Navigate to the specific scenario folder
  2. Follow the "Run the solution" instructions in that scenario's README
  3. Access the application via the URLs provided in the console output

Sample Application

This is the eShopLite Aplication running, performing a Keyword Search:

eShopLite Aplication running doing search using keyworkd search

This is the eShopLite Aplication running, performing a Semantic Search:

eShopLite Aplication running doing search using keyworkd search

This is the eShopLite Application running the Realtime Audio feature:

eShopLite Application running the Realtime Audio feature

This is the eShopLite Application using the DeepSeek-R1 Reasoning Model:

eShopLite Application using the DeepSeek-R1 Reasoning Model

The Aspire Dashboard to check the running services:

Aspire Dashboard to check the running services

The Azure Resource Group with all the deployed services:

Azure Resource Group with all the deployed services

Resources

Getting Help

If you get stuck or have questions about building AI apps, join:

Azure AI Foundry Discord

If you have product feedback or errors while building, visit:

Azure AI Foundry Developer Forum

常见问题

What is eShopLite?

eShopLite is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Azure-Samples. eShopLite is a set of reference .NET applications implementing an eCommerce site with features like Semantic Search, MCP, Reasoning models and more. It has 168 GitHub stars.

Is eShopLite safe to use?

Yes. eShopLite passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install eShopLite?

Clone the repository with "git clone https://github.com/Azure-Samples/eShopLite" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is eShopLite written in?

eShopLite is primarily written in C#. It is open-source under Azure-Samples on GitHub, so you can review or fork the full source.

Are there alternatives to eShopLite?

Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh eShopLite against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

Scrapling

by D4Vinci

🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!

75,9137,581Python
MCP 服务器
查看详情

TrendRadar

by sansan0

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

61,65224,883Python
MCP 服务器
查看详情

context7

by upstash

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

61,0602,938TypeScript
MCP 服务器
查看详情

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

39,9393,219C
MCP 服务器
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情