{"id":28443141,"url":"https://github.com/rizingstar/measurementhub","last_synced_at":"2026-04-27T18:04:12.223Z","repository":{"id":295527217,"uuid":"990313933","full_name":"rizingstar/MeasurementHub","owner":"rizingstar","description":"A sample C# project demonstrating Clean Architecture and CQRS patterns with Blazor and Entity Framework Core.","archived":false,"fork":false,"pushed_at":"2025-06-02T05:09:38.000Z","size":243,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-02T10:38:37.870Z","etag":null,"topics":["blazor","clean-architecture","cqrs","csharp","efcore","restful-api"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rizingstar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-25T23:31:28.000Z","updated_at":"2025-06-02T05:09:40.000Z","dependencies_parsed_at":"2025-05-26T02:52:21.667Z","dependency_job_id":null,"html_url":"https://github.com/rizingstar/MeasurementHub","commit_stats":null,"previous_names":["rizingstar/measurementhub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rizingstar/MeasurementHub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizingstar%2FMeasurementHub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizingstar%2FMeasurementHub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizingstar%2FMeasurementHub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizingstar%2FMeasurementHub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rizingstar","download_url":"https://codeload.github.com/rizingstar/MeasurementHub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizingstar%2FMeasurementHub/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261771110,"owners_count":23207218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blazor","clean-architecture","cqrs","csharp","efcore","restful-api"],"created_at":"2025-06-06T07:00:34.460Z","updated_at":"2026-04-27T18:04:12.173Z","avatar_url":"https://github.com/rizingstar.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📏 MeasurementHub, ASP.NET Core C# CQRS REST API MediatR Clean Architecture\n\n**MeasurementHub** is a modular, full-stack demo application built using **ASP.NET Core**, **Blazor WebAssembly**, **Entity Framework Core**, and **Clean Architecture** principles with **CQRS** pattern and **MediatR** integration.\n\n**📏 MeasurementHub **\n**A real-world .NET reference for building, learning, and selling your expertise—MeasurementHub helps you ship enterprise-grade software faster and smarter.**\n\nMeasurementHub is more than just a demo—it's a modular, production-style blueprint engineered for developers and teams who want to build scalable, maintainable, and interview-ready solutions on today’s .NET stack.\n\n**Why MeasurementHub?**\nAccelerate your learning and project delivery with a battle-tested architecture inspired by real-world enterprise scenarios (think Fortune 500s). Whether you’re preparing for interviews, onboarding to a new team, or looking for proven patterns to implement at work, MeasurementHub empowers you to build with confidence and modern best practices.\n\n**🚀 Key Features \u0026 Benefits**\n**Clean Architecture**\nRobust, enterprise-proven separation of concerns to keep your codebase maintainable as it grows.\n\n**CQRS + MediatR**\nLeverage command/query segregation and MediatR pipelines to deliver true decoupling and testability.\n\n**RESTful ASP.NET Core Web API**\nBuild scalable backend services, ready for integration and extension.\n\n**Modern UI with Blazor WebAssembly**\nDeliver rich client experiences with a modern SPA frontend (showcasing Telerik UI, trial version included).\n\n**Plug-and-Play Data Layer**\nUse Entity Framework Core with an in-memory database for rapid prototyping and automated testing.\n\n**Swagger/OpenAPI**\nOut-of-the-box interactive API documentation makes onboarding and integration a breeze.\n\n**Professional Project Structure**\nOrganized src/ and tests/ directories modeled after enterprise codebases for real-world maintainability.\n\n**Who Is This For?**\n**.NET Developers:**\nLooking for a reference app with proven patterns.\n\n**Engineering Teams:**\nOnboarding new team members or standardizing best practices.\n\nJ**ob Seekers:**\nPreparing for interviews or building a portfolio project that stands out.\n\n**Enterprise Architects:**\nEvaluating modular approaches for greenfield or brownfield projects.\n\n---\n\n## 🏗️ Project Structure\nMeasurementHub/\n├── src/\n│ ├── MeasurementHub.Api/ # ASP.NET Core Web API (Controllers + DI)\n│ ├── MeasurementHub.Application/ # Application layer (CQRS Handlers, DTOs)\n│ ├── MeasurementHub.Domain/ # Core domain models and interfaces\n│ ├── MeasurementHub.Infrastructure/# Infra services (logging, email, etc.)\n│ ├── MeasurementHub.Persistence/ # EF Core DbContext \u0026 Repository\n│ └── MeasurementHub.Client/ # Blazor WASM UI using TelerikGrid\n└── README.md\n\n---\n\n## 🧰 Tech Stack\n\n| Layer            | Tech Used                              |\n|------------------|-----------------------------------------|\n| UI Frontend      | Blazor WebAssembly + Telerik UI         |\n| API Backend      | ASP.NET Core 8                          |\n| Data Access      | Entity Framework Core (InMemory + SQL) |\n| Architecture     | Clean Architecture + CQRS              |\n| Mediator         | MediatR                                 |\n| API Docs         | Swashbuckle / Swagger                   |\n| DI \u0026 Config      | .NET built-in Dependency Injection      |\n\n---\n\n## 📸 Screenshots\n\n\u003e _(Coming Soon)_ Blazor UI with live API integration and grid-based data listing.\n\n---\n\n## 🔧 Getting Started\n\n### ✅ Prerequisites\n\n- [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)\n- Visual Studio 2022+ with Blazor/WebAssembly workload\n- (Optional) Telerik UI Trial Key (if using premium components)\n\n### 🛠️ Setup Instructions\n\n1. **Clone the repository**\n   ``bash\n   git clone https://github.com/rizingstar/MeasurementHub.git\n   cd MeasurementHub/src\n---\n\n| Method | Endpoint                 | Description            |\n| ------ | ------------------------ | ---------------------- |\n| GET    | `/api/measurements`      | Get all measurements   |\n| GET    | `/api/measurements/{id}` | Get measurement by ID  |\n| POST   | `/api/measurements`      | Create new measurement |\n| PUT    | `/api/measurements/{id}` | Update measurement     |\n| DELETE | `/api/measurements/{id}` | Delete measurement     |\n\n---\n\n💡 Learnings \u0026 Design Choices\nImplemented CQRS pattern using IRequestHandler\u003cTRequest, TResponse\u003e for command/query segregation.\n\nUsed Clean Architecture to enforce layer separation:\n\nDomain: Business rules\n\nApplication: Use-cases, handlers\n\nInfrastructure: EF Core logic\n\nAPI: Only orchestration via Controllers + MediatR\n\nDependency Injection ensures testability and decoupling.\n\nBlazor WASM acts as lightweight SPA frontend, consuming REST API.\n\n---\n\n👨‍💻 Author\nNoman Khan\n.NET Full Stack Developer | Clean Architecture Advocate | Houston, TX\nLinkedIn Profile (https://www.linkedin.com/in/Nomanakhan/)\n\n---\n\n📜 License\nThis project is licensed under the MIT License.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizingstar%2Fmeasurementhub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frizingstar%2Fmeasurementhub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizingstar%2Fmeasurementhub/lists"}