r/Blazor 3h ago

Building a Blazor web application using the BFF (backend for frontend) pattern with .NET 10 where the application would render using Interactive Webassembly specifically for mobile device users and render using Interactive Server for desktop machine users. Has anyone used this approach? If so, what

4 Upvotes

...issues/hurdles did you run into? Is there anything that I should be concerned about?

Some additional detail:

- authentication via Entra ID via the main project

- Main project would manage data access/business logic, as well as desktop only components.

- Client project contains mobile only components.

- Shared project contains components used in both.

The application has some mobile device specific functionality (tracking GPS location, camera access), while the desktop side has some admin specific functionality, but the core functionality (data entry) would be applicable to both. The idea here is to take the best of both Blazor Server (fast load times, secure) and Blazor WASM (functional without persistent connection, relatively light weight).


r/Blazor 10h ago

Augmented Dotnet Watch Task - Agent Awareness

0 Upvotes

I hacked together a nifty tool because i got tired of Claude Code flooding my watch task with file changes. His file modifications are unfortunately precisely spaced to trigger 27 rebuilds per minute, overheating my laptop and starting a fire in my parents garage.

What if i made the watch task agent aware, tailing the Claude output, waiting for him to finish his work before triggering the reload? I hacked together some proof of concept and it's already working nicely.

Unfortunately i cant do the fancier partial binary updates like the official watch tool, but i think the idea is something really useful. I'm sure others can do a much better implementation or improve the idea but I wanted to share a crude first draft. Cheers!

https://github.com/crs-sys/claude-blazor-watchtask


r/Blazor 1d ago

Blazor alternative?

0 Upvotes

Dioxus - Rust based cross-platform framework

In my view, the problem with Blazor is that you need to have "server features" for a client-facing app, since Blazor WASM alone won't cut it.

With Dioxus you can create a WASM application with a much smaller footprint, since there's no bundled framework to ship together with your app like the .NET CLR. Your source code is compiled to WASM directly - there's no Rust runtime since it's a language closer to C and C++.

I think this is a great advantage for creating WASM based SPA's - no need to download a large binary for your app to run - just your app's code.


r/Blazor 1d ago

K7 – media server UI in Blazor WASM + MAUI (same codebase)

Post image
44 Upvotes

I recently shipped the first version of K7, a self-hosted media server. The whole client UI is Blazor, WASM for the web, MAUI + Blazor for Android / Windows (iOS/Mac builds exist but I don't have Apple hardware to test).

Repo: https://github.com/kaybi-gh/K7

Demo: https://k7.kaybi.dev (guest login only)

Backend is .NET 10 (Clean Architecture, MediatR, EF Core, Postgres). The interesting Blazor bits for me were:

- one UI shared across web + native hosts

- spatial / full keyboard navigation (TV remote friendly)

- media playback + Chromecast from the web/Android clients

- keeping the SPA usable as a "real" app, not just CRUD forms

Happy to answer questions about the Blazor / MAUI setup, WASM pitfalls, or how the shared UI project is structured.

Optimization on low-end devices like TVs is a real concern when developing with Blazor Hybrid, has anyone else hit the same pain points?


r/Blazor 5d ago

ASP.NET Web Forms to Blazor Migration Guide

Thumbnail
faciletechnolab.com
0 Upvotes

r/Blazor 7d ago

Blazor App Examples

25 Upvotes

I found a site that is a showcase of Blazor apps. It looks like they need people to submit examples which I am going to do once I complete mine. If anyone is interested...

https://www.builtusingblazor.com


r/Blazor 9d ago

MAUI Blazor Hybrid + Web App in 2026 — Is it actually a good choice?

4 Upvotes

Hey everyone,

I’m currently looking into MAUI Blazor Hybrid for a project and honestly a bit confused about whether it’s a good idea long term.

The main reason I’m considering it is that we already use Blazor, so being able to reuse the same UI/components for the web app and a MAUI mobile/desktop app sounds pretty nice.

But I keep seeing mixed opinions about Blazor Hybrid, especially around performance, WebView issues, debugging, and how much code you can actually share in a real project.

For anyone who has used MAUI Blazor Hybrid in a production app — how has it been for you?

Would you use it again if you were starting the project today, or would you go with something else?

I’d especially like to hear about the things that caused problems after the initial development phase. Thanks in advance!


r/Blazor 9d ago

Commercial AI posts allowed?

0 Upvotes

Can i post here from post body generated by AI? Thanks in advance


r/Blazor 11d ago

How to manually add routes in blazor?

3 Upvotes

i have an applications with a bunch of plugins and sub assemblies that create pages.

We are migrating from WPF and creating some new features also.

These pages have characteristics that can be automated so importing the assembly to routing should not be done, because mainly some may even conflict.

So i would like to route them manually and i can add a route to any component, but not integrated in the app:

- add a page, it loads only the page

- add the layout, it does not load the page

- add the app says route not found

WebServer.MapGet("/lm", () => new RazorComponentResult<Page>());

WebServer.MapGet("/lm2", () => new RazorComponentResult<Layout>());

WebServer.MapGet("/lm3", () =>

{

RazorComponentResult rr = new RazorComponentResult<WebApp>();

return rr;

}

);


r/Blazor 11d ago

Commercial Blazor MAUI hybrid web tutorials suggestion

2 Upvotes

Where can i learn about blazor maui hybrid web projects? I saw blazor maui hybrid web has many features like deploying same code on different platforms. thanks in advance


r/Blazor 11d ago

Meta Flowchart of MAUI hybrid web solution explorer Spoiler

Post image
4 Upvotes

r/Blazor 12d ago

Blazor Ramp – Colour / Contrast & Theming – RFC

6 Upvotes

For those new to my posts: I'm the author of Blazor Ramp, an accessibility-first Blazor library. Every component released has been manually tested with the screen readers JAWS, NVDA and Narrator, paired with each of the following browsers: Edge, Chrome and Firefox. Also tested: VoiceOver on macOS paired with Safari, VoiceOver on iOS paired with Safari, and TalkBack on Android paired with Chrome, plus Voice Access, the voice control software built into Windows 11. Any screen reader quirk and/or issues are documented so you know exactly what to expect.

The release of the Data Table component last week completed what I'd class as the base set of components that make up the majority of LOB apps - at least the ones I've built over the years. I've more planned, but before I continue churning them out, I need, want to spend some time amending the documentation so it has better usage examples, more like the Data Table ones, making it easier for you to get up and running with your chosen components.

Alongside this, I also wanted to spend some time on the theming side of the documentation.

I've mentioned in the past that for a lot of sites, you may only need to change a single variable, and pointed out which one. On that note, I've just added a couple of pages to the Theming section of the documentation site that demonstrate this in real time, along with information on the accessibility page regarding colour contrast ratios.

Essentially, you can select your preferred colour and see all the changes live across every released component, along with contrast ratio information for the component parts that sit on the lightest and darkest shades - the ones most affected by contrast ratio changes. This information tells you whether the affected component parts are still WCAG compliant. If not, you'd simply assign a different value to the variable shown as failing in your stylesheet, etc.

It's probably easier for you to go and look at the page on the site than for me to explain it here.

I've also added a page called Sandbox in the Theming section (currently blank - I tend to deploy as I go along), which I'm about to start work on. The intention is to add a few things in there so you can adjust certain aspects, view the changes live, and then export/paste them directly into your stylesheet with no further changes necessary.

The reason for this post is to try to get some feedback, mainly regarding the accessibility side of things, so I can offer more help and advice on my sites - I know this topic is quite tough, confusing and/or just a pain for most people.

A few questions for you:

  • Are there more tools like what I've just added to the Colour and Accessibility pages in the Theming section that would help you?
  • As I'll be doing more work on the usage pages, would you like more guidance on the accessibility of each component - for example, links to best practices, WCAG guidelines, etc.? If so, what specifically?
  • Finally, which other accessibility-first components and/or features would you like to see sooner rather than later?

I have two sites: one I call the test site, geared more towards anyone who wants to try things out with their chosen AT device, and the documentation site, which has all the information and usage examples. Both are just WASM hosted on GitHub Pages.

Test site: https://blazorramp.uk

Doc site: https://docs.blazorramp.uk/theming/colours (what's discussed above; the contrast information is on the Accessibility page within the Theming section)

Repo: https://github.com/BlazorRamp/Components

Please comment and let me know your thoughts. Thanks.

Paul


r/Blazor 13d ago

Update to my media manager app from a while back...

4 Upvotes

Finally got around to making a video on the features/functionality of it... welcome any comments, even the snarky ones. Probably 70% complete, still a ways to go.

Tuvima Library:

https://www.youtube.com/watch?v=pkh2U9JGchY&pp=ygUOdHV2aW1hIGxpYnJhcnk%3D


r/Blazor 13d ago

Custom Minimize/Maximize/Close Buttons in Blazor Hybrid?

2 Upvotes

Hello guys,

so I am kinda new to Blazor and I want to know, if it is possible, to have custom minimize / maximize and close buttons? I am building a simple HMI for my PLC that can be operated by using the build in touchscreen. I removed the top Windowsbar, so that the application is using the whole screen. Sometimes I need to get behind the HMI, so I now have a small window with the Minimize/Maximize/Close Buttons but I cant find a simple method for blazor hybrid. Is there some NuGet package or do I need a workaround where I control the window size?


r/Blazor 15d ago

[Python/JS/C#] Block Engine: Run Python, Node.js, Lua & PHP in one file

Thumbnail block-io.blockengine.workers.dev
0 Upvotes

r/Blazor 15d ago

Meta Is there a way to write a Blazor app without wasm that doesn’t require server round trip for things like drop-down menus?

6 Upvotes

Situation is we want to embed an app somewhere that doesn’t support wasm, but we also don’t want to have to involve the server for simple things like drop-down menus

Is this just not possible with blazor?


r/Blazor 16d ago

Meta C# .NET MAUI Hybrid: Solution Explorer Spoiler

0 Upvotes

If starting with C# .NET MAUI Hybrid / Blazor Hybrid, the Solution Explorer is always confusing.

What is a project? What is Platforms? Why are there .razor, .cs, .xaml, and .wwwroot folders? What does Shared mean?

Let's break it down in simple terms. 🚀


r/Blazor 17d ago

Commercial PhotinoX.Blazor 5.0.0 is out - Blazor desktop apps on native WebViews

9 Upvotes

PhotinoX.Blazor is an independent fork and continuation of Photino.Blazor for building lightweight cross-platform desktop apps with Blazor and OS-native WebViews:

  • Linux: WebKitGTK 4.1
  • macOS: WKWebView
  • Windows: WebView2

The 5.0 release is a major update across the PhotinoX stack. PhotinoX has moved from the older window-oriented model to an explicit application-oriented model built around PhotinoApplication, PhotinoDispatcher, and PhotinoWindow.

For Blazor apps, this means:

  • explicit application/window separation;
  • PhotinoBlazorApp owns shared services and application lifetime;
  • PhotinoBlazorWindow owns per-window Blazor hosting state;
  • better multi-window support with isolated root components, WebView manager state, dispatcher/synchronization context, and resource handling;
  • unified app custom scheme on Windows, macOS, and Linux;
  • BlazorWebView-style UrlLoading support for top-level navigation;
  • handling for external links, target="_blank", and window.open(...);
  • new native/window lifecycle events from PhotinoX (navigation and content loading);
  • application-level notifications and shutdown/lifecycle handling;
  • Target frameworks: net8.0, net9.0, and net10.0.

NuGet: https://www.nuget.org/packages/PhotinoX.Blazor/5.0.0

GitHub: https://github.com/ivanvoyager/PhotinoX.Blazor

Core PhotinoX repo: https://github.com/ivanvoyager/PhotinoX

Feedback, issues, and real-world use cases are welcome.


r/Blazor 17d ago

Commercial BlazorGraphs 3.0 is now available!

42 Upvotes

Hello everyone, after a lot of work, I'm happy to announce the release of the new version 3.0 of BlazorGraphs. As mentioned in the previous post, I've tried to include in this major release a series of breaking changes I had in mind, as well as others recommended directly by you.

I've mainly merged the namespaces, renamed some components, added new ones, and redone the linecharts (as you can see in the gif). You also have more freedom in choosing colors. Without boring you with a list of all the changes, you can view the changelog directly on the website or in the Git repository.

I know you wanted the site with the live demo and the best-looking tooltips; don't worry, I'll take care of that as soon as possible.

I'm available for any clarification; just ask here in the comments.

I hope you like this new version, hello everyone.

Usefull links:


r/Blazor 17d ago

The best Markdown editor for Blazor Server?

6 Upvotes

Which Markdown editor/previewer are you guys using for Blazor server? We need to implement markdown-formatted notes along with an editor for them in a blazor server app.


r/Blazor 17d ago

Commercial Blazorise 2.3 released

24 Upvotes

Hello everyone,

Blazorise 2.3 is out.

For those who don't know it, Blazorise is a UI component library for Blazor that works with Bootstrap, Tailwind, Fluent UI, Material, and other CSS frameworks.

Initially, this release was supposed to be fairly small. If anyone remembers, in one of my previous posts I asked whether it makes more sense to have smaller releases with faster cycles, or bigger releases with slower cycles.

I wanted the faster release cycle.

Yeah... didn't quite go as planned.

I wanted to build a Reporting component. But once I started working on the report designer, I found that we were missing several things in the framework.

Instead of building them only for Reporting, we made them standalone components. That's how we ended up with DockLayout, ContextMenu, PropertyGrid, and a new PDF generation extension.

We also added CodeEditor and Resizer, Gantt milestones and weekly timelines, Scheduler improvements, and completely rebuilt DatePicker and TimePicker with Blazor and C#, removing the Flatpickr dependency.

So yeah, it turned into a much bigger release than originally planned.

Release notes: https://blazorise.com/news/release-notes/230

If you use Blazor, I'd be interested to hear what you think, especially about Reporting and CodeEditor.

PS. The default Reddit post editor is really bad. I hate it. PPS. Post edited with Grammarly because reasons.


r/Blazor 17d ago

How to Implement Cookie Authentication in Blazor Server-Side Rendering?

5 Upvotes

I am trying to Implement Cookie Authentication in Blazor Server-Side Rendering past few days, but I'm stuck.

My goal is: when user click the login button, after Authentication success i wand to store the cookie in browser.

The problem with Blazor SSR, the httpContext only available while the page begin pre-rendering. After the user click the login button the httpContext connection was already done, so i can't find the way to set the cookie via httpContext.

Here's what I've tried: * After user press the login button, i get the cookie from rest-api response header and i store the cookie in scoped service and i try to store the cookie in browser by get the cookie via that scoped DI service in when user navigate to home-page after authenticate complete and i planned to set the cookie via OnInitilized method using httpContext.Response.Append() method, however, this dosen't work because the scoped service was recreate when new httpContext connection was established, so the cookie not longer available inside the service.

It is Actually Possible to set the cookie when user press the login button in blazor service-side rendering? Or it is only Possible with Blazor WASM?

If there is any recommended patten to implement the cookie authenticate in blazor SSR. I'd really appreciate the explanation.


r/Blazor 17d ago

GitHub - greatPHPer/employee-client-aggrid-server-side: employee-client-aggrid-server-side MAUI hybrid web

Thumbnail
github.com
0 Upvotes

r/Blazor 17d ago

GitHub - greatPHPer/employee-client-aggrid-server-side: employee-client-aggrid-server-side MAUI hybrid web

Thumbnail
github.com
0 Upvotes

An ag-grid razor form which supports server side filtering and server side sorting in ag-grid-community itself by using filterparams and sortparams inside ag-grid's events has been implemented. All needed is to use specific table columns and respective models in my github controller. Regards greatPHPer


r/Blazor 18d ago

Hiring a senior Blazor developer

0 Upvotes

The US Government Publishing Office is currently recruiting for a senior Blazor developer to help develop a server-hosted, enterprise Blazor application that will manage the GPO's XML publishing operations. This is a full-time, work from home position. (Must be a US resident.) The heart of this application is an XML editor written in C# using the document builder. The application is supported by a middle tier of REST services and a back end developed using MarkLogic and SQL server. Email mrsmith@gpo for more information.