Eilon / BlazorHybridWebAppDotNet8

Sample .NET 8 app showing how to share Blazor components between an ASP.NET Blazor Web App and a .NET MAUI Blazor Hybrid app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blazor Hybrid Web App sample

A sample project that shows how to share Razor components and pages between a .NET 8 Blazor Web app and a .NET MAUI hybrid app.

  1. The Blazor Web App's pages and components were moved to the Razor Class Library project
  2. The .NET MAUI Blazor Hybrid app's pages were deleted
  3. The Blazor Web App and .NET MAUI Blazor Hybrid app now use the shared pages/components

Notes:

  • The initial Blazor Web App used "Global Interactivity" because per-page/component interactivity is not compatible with Blazor Hybrid

About

Sample .NET 8 app showing how to share Blazor components between an ASP.NET Blazor Web App and a .NET MAUI Blazor Hybrid app

License:MIT License


Languages

Language:CSS 42.5%Language:HTML 31.6%Language:C# 24.9%Language:JavaScript 1.0%