Skip to content

DavidVeksler/LLMCraftedBlazorSamples

Repository files navigation

LLMCraftedBlazorSamples

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.

Samples

  • 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

Email Templates Transaction Errors Report Log Viewer Payments Tester KYC Dashboard JSON Viewer ASP.NET Users Management

Getting Started

To use these samples in your own Blazor / ASP.NET Core project:

  1. Clone the repository:
    git clone https://github.com/DavidVeksler/LLMCraftedBlazorSamples.git
    
  2. Browse the directories for the specific feature you need.
  3. Copy the relevant Razor component(s) and/or C# class(es) into your project and adjust namespaces, @inject services, and models to match your own app.

Contributing

We welcome contributions! If you have a useful code sample or component to share:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE file for more information.

Acknowledgments

  • Claude AI for assisting in code generation and problem-solving
  • The .NET and Blazor communities for inspiration and best practices

Contact

David Veksler - @heroiclife

About

Blazor and C# code samples, components, and utilities for ASP.NET Core apps — generated with the assistance of Claude AI (LLM-generated code samples)

Topics

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Contributors