Skip to content

Blazor app for Web, .NET MAUI, WPF, WinUI and more platforms with code sharing

License

Notifications You must be signed in to change notification settings

manfromarce/BlazorEverywhere

Repository files navigation

BlazorEverywhere

This project shows how to easily reuse Blazor UI and code across multiple web and hybrid projects.

Supported platforms

For AvaloniaUI please see MicroSugarDeveloperOrg/Avalonia.WebView and MicroSugarDeveloperOrg/Avalonia.BlazorWebView.Sample for now (note: they are not fully compatible with .NET 8 yet).

How to use

  1. Clone this repo git clone github.com/manfromarce/BlazorEverywhere
  2. Put most of your code can be put in the BlazorShared project which is referenced by all other projects
  3. Build and run the desired targets. You can remove projects that you don't need.

Some sample code is already present, mainly to show how to mix native controls and Blazor and how to use JavaScript interop.

About

Blazor app for Web, .NET MAUI, WPF, WinUI and more platforms with code sharing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published