{"id":28374787,"url":"https://github.com/alefcarlos/blazor-server-mud-template","last_synced_at":"2026-03-07T11:31:56.723Z","repository":{"id":293347013,"uuid":"983746785","full_name":"alefcarlos/blazor-server-mud-template","owner":"alefcarlos","description":"Blazor templates for \"production-ready\" apps using MudBlazor","archived":false,"fork":false,"pushed_at":"2025-06-09T23:41:57.000Z","size":79,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-01T07:21:32.275Z","etag":null,"topics":["blazor","csharp","mudblazor","template"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alefcarlos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-14T21:15:51.000Z","updated_at":"2025-06-13T14:14:50.000Z","dependencies_parsed_at":"2025-06-26T02:35:32.095Z","dependency_job_id":null,"html_url":"https://github.com/alefcarlos/blazor-server-mud-template","commit_stats":null,"previous_names":["alefcarlos/blazor-server-template"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/alefcarlos/blazor-server-mud-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alefcarlos%2Fblazor-server-mud-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alefcarlos%2Fblazor-server-mud-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alefcarlos%2Fblazor-server-mud-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alefcarlos%2Fblazor-server-mud-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alefcarlos","download_url":"https://codeload.github.com/alefcarlos/blazor-server-mud-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alefcarlos%2Fblazor-server-mud-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","csharp","mudblazor","template"],"created_at":"2025-05-29T22:11:02.700Z","updated_at":"2026-03-07T11:31:56.705Z","avatar_url":"https://github.com/alefcarlos.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blazor-server-template\n\n## Get Started\n\n```sh\ndotnet new install AlefCarlos.Blazor.Templates\n```\n\n## Build\n\nTo install using local directory:\n\n```sh\ndotnet new install .\\\n```\n\n## Templates\n\n###  mudblazor-server-solution\n\n#### Using\n\n```sh\ndotnet new mudblazor-server-solution -n AppName -o ./app\n```\n\nThis templates add common features to the Basic Blazor template. It ensures a production-ready application\n\n#### features\n\n- [x] Auth using OIDC\n- [x] NotFound capability\n- [x] Localization\n- [x] Sync with browsertime\n- [x] Global error catcher\n- [x] User Session Management\n- [x] Aspire Integration\n    - [x] Keycloak \n\n#### Authentication\n\n\u003e This template offers a [keycloak](http://localhost:8080) resource using Aspire and a realm import as well\n\nStart creating an user on `local` realm to [log the application in](https://localhost:7212)\n\n#### User Session Management\n\n##### Session Store\n\n[Duende Blazor Server Access Token Management](https://docs.duendesoftware.com/accesstokenmanagement/blazor-server/) adds User Session management for Blazor safely.\n\n\u003e There is a in-memory store(ServerSideTokenStore.cs) for tokens, but you should user a persisted one.\n\n##### Propagate token into http requests\n\nAdd the handler to the httpclient using [Http Client Factory](https://docs.duendesoftware.com/accesstokenmanagement/workers/#http-client-factory) and the token will be automaticaly injected, if the token is expired, it refreshes it befor sending the request\n\n```csharp\nbuilder.Services.AddHttpClient\u003cCatalogClient\u003e(client =\u003e\n{\n    client.BaseAddress = new Uri(\"https://apis.company.com/catalog/\");\n}).AddUserAccessTokenHandler(); //\u003c-- this one\n```\n\n##### Back-Channel Logout\n\nThis template implements RemoteSignOut following the [RFC](https://openid.net/specs/openid-connect-backchannel-1_0.html)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falefcarlos%2Fblazor-server-mud-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falefcarlos%2Fblazor-server-mud-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falefcarlos%2Fblazor-server-mud-template/lists"}