eShopLite
Copilot instructions168 starsChanged 6 months agoMITView on GitHub
This repository contains practical, beginner-friendly samples and lessons for building Generative AI applications using .NET 10 and Blazor. It is focused on the eShopLite scenario, demonstrating modern .NET, Generative AI, Blazor, MCP, Semantic Search integration and more.
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
The file
We split this copilot-instructions.md into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Run dotnet format to ensure C# code style and formatting
- Very specific: line 18
Ensure all code builds and passes tests: dotnet build and dotnet test
- Distinctive: line 28
Follow C# and .NET best practices (naming, async/await, nullability, etc.)
- Distinctive: line 29
Use modern .NET features (e.g., top-level statements, nullable reference types, dependency injection)
- Distinctive: line 31
Write unit tests for new features (prefer xUnit or MSTest)
- Distinctive: line 32
Document public APIs, sample usage, and complex logic.
- Very specific: line 34
Use configuration via appsettings.json and dependency injection for new .NET code
- Distinctive: line 35
Keep code and documentation accessible for beginners—add comments and links to docs where helpful
- Distinctive: line 39
Use Azure AI Search and Generative AI services following Microsoft best practices
- Distinctive: line 40
Do not hardcode secrets or credentials—use configuration and environment variables
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot Coding Instructions for eShopLite
This repository contains practical, beginner-friendly samples and lessons for building Generative AI applications using .NET 10 and Blazor. It is focused on the eShopLite scenario, demonstrating modern .NET, Generative AI, Blazor, MCP, Semantic Search integration and more.
Repository Intent & Goals
- Provide hands-on, accessible code samples for integrating Generative AI in a sample eCommerce .NET 10 application.
- Showcase best practices for Blazor, .NET 10, Azure AI Search, MCP, and Semantic Search in a multi-project solution.
- Enable beginners to learn, build, and extend AI-powered .NET applications.
Repository Structure
scenarios/— Main scenarios for eShopLiteimages/— Course and lesson images
Code Standards & Contribution Guidelines
Required Before Each Commit
- Run
dotnet formatto ensure C# code style and formatting - Ensure all code builds and passes tests:
dotnet buildanddotnet test
Development Flow
- Build:
dotnet build - Test:
dotnet test - Format:
dotnet format - Lint (if enabled):
dotnet format --verify-no-changes - For other tools (e.g., Python, Docker), follow the relevant lesson's
readme.md
Best Practices
- Follow C# and .NET best practices (naming, async/await, nullability, etc.)
- Use modern .NET features (e.g., top-level statements, nullable reference types, dependency injection)
- Maintain the existing solution structure—add new samples to the correct project or lesson folder
- Write unit tests for new features (prefer xUnit or MSTest)
- Document public APIs, sample usage, and complex logic. Update lesson
readme.mdfiles as needed - For Azure AI integrations (Azure OpenAI, Azure AI Search, etc.), follow official SDK and security guidelines
- Use configuration via
appsettings.jsonand dependency injection for new .NET code - Keep code and documentation accessible for beginners—add comments and links to docs where helpful
- Prioritize Blazor and .NET 10 patterns over older ASP.NET approaches
AI & Azure Guidelines
- Use Azure AI Search and Generative AI services following Microsoft best practices
- Do not hardcode secrets or credentials—use configuration and environment variables
- Reference official Microsoft documentation for SDK usage and security
Additional Notes
- This repository is intended for educational purposes and rapid prototyping
- Contributions should be clear, well-documented, and beginner-friendly
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

