Creating an app with Experimental Mobile Blazor Bindings

Important

This project is an experimental release. We hope you try out Experimental Mobile Blazor Bindings and provide feedback at https://github.com/xamarin/MobileBlazorBindings.

Creating an app involves a few steps:

  1. Create a new Experimental Mobile Blazor Bindings mobile app project from the dotnet new templates
  2. Open the new project in an editor such as Visual Studio
  3. Write your app
  4. Run it!

Prerequisites

Experimental Mobile Blazor Bindings requires the following software:

  1. .NET Core 3.1 SDK
  2. Visual Studio or Visual Studio for Mac, with the following workloads installed:
    • Mobile development with .NET (Xamarin.Forms)
    • ASP.NET and web development
  3. To use Blazor Hybrid Apps:

Install the project templates

  1. Open a command prompt or shell window

  2. Install the Experimental Mobile Blazor Bindings project templates by running this command:

    dotnet new -i Microsoft.MobileBlazorBindings.Templates::0.5.50-preview
    

Next steps

You're now ready to build your first app or build your first hybrid app!