Creating an app with Maui Blazor Bindings
Creating an app involves a few steps:
- Create a new Maui Blazor Bindings mobile app project from the
- Open the new project in an editor such as Visual Studio
- Write your app
- Run it!
Maui Blazor Bindings has the same prerequisites as MAUI itself has, i.e. you need to install Visual Studio Preview with MAUI workload.
Install the project templates
Open a command prompt or shell window
Install the Maui Blazor Bindings project templates by running this command:
dotnet new install BlazorBindings.Maui.Templates::0.10.40-preview
Create your project
Create your first project by running command:
dotnet new blazorbindingsmaui -o MyBlazorBindingsApp
This will create a folder named
MyBlazorBindingsApp with the solution file (SLN), which you can open in Visual Studio.