| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Live Site: ui.makeboldspark.com
A .NET 10 (ASP.NET Core) application exploring multiple front-end technologies for building modern web user interfaces. This repository is an educational reference that compares UI patterns — MVC, Razor Pages, React, Vue, htmx, Blazor, and vanilla JavaScript SPA — using a common Employee/Department domain, with theming, containerization, and deployment examples.
UISampleSpark demonstrates how the same Employee/Department CRUD domain can be implemented across seven distinct front-end UI patterns — MVC, Razor Pages, jQuery AJAX, React, Vue, htmx, and Blazor — within a single ASP.NET Core application. It covers theming, containerization, REST APIs, and CI/CD.
Live site: ui.makeboldspark.com
Built by Mark Hazleton — Technical Solutions Architect Part of the MakeBoldSpark portfolio of technical demonstrations.
See the CHANGELOG for the full milestone timeline, and open reports/git-spark-report.html to explore commit velocity visualized by Mark Hazleton's git-spark npm package.
HttpClient is utilized via WebSpark.HttpClientUtility package which provides IHttpRequestResultService for making HTTP requests. This is actively used by WebSpark.Bootswatch to fetch Bootswatch theme data from CDN sources, enabling the dynamic theme switcher functionality. The base AddHttpClient() factory registration is also available for future external API integrations.
git clone https://github.com/markhazleton/UISampleSpark.git
cd UISampleSpark
dotnet restore
cd UISampleSpark.UI
dotnet runVisit https://localhost:5001
docker build -t uisamplespark ./UISampleSpark.UI
docker run -p 8080:80 uisamplesparkUISampleSpark.UI/ Web application (MVC, Razor Pages, React, Vue, htmx, Blazor) UISampleSpark.Core/ Domain models (Employee/Department DTOs, responses) UISampleSpark.Data/ EF Core context, service implementations, mock generator UISampleSpark.Core.Tests/ Unit tests for domain logic UISampleSpark.Data.Tests/ Unit tests for repository/service layer UISampleSpark.CLI/ Console app seeding & demonstration (SQLite EF example)
(There is no HttpClientFactory sample project; previous reference removed.)
Employees belong to Departments. Each UI pattern implements the same operations — create, read, update, delete — demonstrating validation, paging (PagingParameterModel), and simple relationships.
Interactive API docs available at /swagger when running locally or deployed.
API endpoints are protected by a lightweight API key check.
Example request:
curl -H "X-API-Key: <your-key>" https://localhost:5001/api/employeeImplemented via Bootswatch services and <bootswatch-theme-switcher /> integration.
An evidence-based narrative of this repository's development history, contributor patterns, and architecture: Repo Story (2026-06-21)
Contributions welcome. Submit issues or PRs.
MIT License © 2018-2025 Mark Hazleton See LICENSE for details.
| Back | FazBrowse Home | New Git URL |