One Codebase, Two Worlds: Sharing Razor Components Across Blazor Web and .NET MAUI Hybrid

Friday, November 13

– PST

Shriram Sankaran

Add to calendar

Teams with an existing Blazor web application are often asked to deliver the same functionality across mobile and desktop platforms without rebuilding the application from scratch. In this session, I will demonstrate how Razor components, services, UI patterns, and business logic can be shared between a Blazor web application and a .NET MAUI Blazor Hybrid app targeting Android, iOS, Windows, and macOS. The live demonstration will show the same application running on the web and as a native hybrid application, with shared components such as data grids and charts. I will explain what can be reused directly, what requires platform-specific adaptation, and how to structure shared code using Razor Class Libraries and BlazorWebView. The session will also explore the architectural decisions and code-sharing strategies needed to create maintainable experiences across web, mobile, and desktop environments. Attendees will leave with practical guidance for deciding what to share, what to abstract, and what to implement separately when extending a Blazor web application to mobile and desktop with .NET MAUI Hybrid.

Speakers

Shriram Sankaran