Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jpmikkers/baksteen.templates.wpf.blazor

Project template for hybrid WPF Blazor application
https://github.com/jpmikkers/baksteen.templates.wpf.blazor

blazor-hybrid csharp template wpf

Last synced: 17 days ago
JSON representation

Project template for hybrid WPF Blazor application

Awesome Lists containing this project

README

        

# Baksteen.Templates.WPF.Blazor
Project template for hybrid WPF Blazor .NET 8 application. This is a nice entry point for a WPF based Blazor hybrid project, when you're not in the mood to deal with dotnet Maui's awkward packaging/deployment. A WPF based project will result in a good old executable you can copy and run anywhere as you please.

This template is based on the instructions here:

- [https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/?view=aspnetcore-8.0](https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/?view=aspnetcore-8.0)

- [https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/tutorials/wpf?view=aspnetcore-8.0](https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/tutorials/wpf?view=aspnetcore-8.0)

And then extended with the contents of the current mauiblazor project template

## How to use

Run the following command to install the template (this will download the nuget package from nuget.org):

dotnet new install Baksteen.Templates.WPF.Blazor

Then use visual studio and create a new project, select 'WPF Blazor Template'

Alternatively you can create a new project from commandline as follows:

dotnet new wpfblazor.app

To uninstall the template run this command:

dotnet new uninstall Baksteen.Templates.WPF.Blazor

## Screenshot

![WPFBlazor hybrid app](https://github.com/jpmikkers/Baksteen.Templates.WPF.Blazor/blob/main/screenshot.png)