jasonsturges / Blazor-MAUI-Shared-Components

Reusing shared components between Blazor Web and MAUI apps using a Razor Class Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.NET Blazor + MAUI Shared Components

Reusing shared components between Blazor Web and MAUI apps using a Razor Class Library

Isolate shared functionality into a library for Blazor Server, Webassembly, or MAUI projects to reference.

Exactly the same razor views across multiple platforms, create a single source of development to share and reuse components across multiple projects.

Projects:

  • Example.App: MAUI Blazor App
  • Example.Web: Blazor Server / Webassembly project
  • Example.WebComponents: Razor Class Library (Razor and wwwroot static assets)

Example repository from YouTube video: https://youtu.be/UpOPtj-qd6A

About

Reusing shared components between Blazor Web and MAUI apps using a Razor Class Library


Languages

Language:HTML 35.2%Language:CSS 34.4%Language:C# 29.4%Language:JavaScript 1.0%