A curated collection of C# and Blazor code samples, components, and utilities generated with the assistance of Claude AI. Each sample is a real snippet pulled from a working .NET / ASP.NET Core back-office application — practical, reusable Razor components and services for common admin-dashboard, payments, and logging challenges, ready to adapt into your own Blazor project.
These are illustrative code excerpts (Razor components and C# classes), not a standalone buildable solution — there's no .csproj here. Browse a folder, read the code, and copy what's useful into your own ASP.NET Core / Blazor app.
- AspNetUsersManagement: ASP.NET Core Identity user-management UI — a
QuickGrid-based user list with search, stat cards, Excel export, password generation, and IP geolocation lookup - EmailTemplates: A rich-text email template editor and preview component, with live HTML preview via an iframe
- IISLogViewer: Component and controller for parsing, summarizing, and browsing IIS log files
- JSONViewer: Interactive, recursively-rendered JSON viewer/editor component built with Blazor's
RenderTreeBuilder - KYCDashboard: Dashboard for reviewing and managing Know Your Customer (KYC) verification records
- BitPayPaymentsTester: Client and Razor page for testing and simulating BitPay cryptocurrency payment flows
- StrikePaymentsTester: REST client and models for testing Strike (Bitcoin Lightning) payment integrations
- TransactionErrorReport: Components for reporting and inspecting failed/errored payment transactions
- Shared: Reusable building blocks (
StatCard,FieldDisplay) and constants used across the samples above
To use these samples in your own Blazor / ASP.NET Core project:
- Clone the repository:
git clone https://github.com/DavidVeksler/LLMCraftedBlazorSamples.git - Browse the directories for the specific feature you need.
- Copy the relevant Razor component(s) and/or C# class(es) into your project and adjust namespaces,
@injectservices, and models to match your own app.
We welcome contributions! If you have a useful code sample or component to share:
- Fork the repository
- Create a new branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE file for more information.
- Claude AI for assisting in code generation and problem-solving
- The .NET and Blazor communities for inspiration and best practices
David Veksler - @heroiclife






