Menu
Microsoft enables native mobile development with Blazor

Microsoft enables native mobile development with Blazor

Mobile Blazor Bindings allow developers to build native Android and iOS using C#, .NET, and web programming patterns

Credit: Little Visuals

Microsoft has rolled out an experimental project to allow developers to build native mobile apps using the Blazor web framework for C# and .NET.

The Experimental Mobile Blazor Bindings project enables development of native mobile apps via C# and .NET for Android and iOS, leveraging familiar web programming patterns. The goal of the project is to find out if developers like the option of writing markup and performing data binding for native mobile applications using the Blazor-style programming model with Razor syntax and features. If so, Microsoft may support it in a future version of the Visual Studio IDE.

With the mobile Blazor bindings, developers can leverage existing web skills to build native iOS and Android apps powered by .NET. The Blazor programming model and Razor markup syntax can be used to define UI components as well as behaviors of an application. The UI components included are based on Xamarin.Forms native UI controls.

Blazor runs on .NET Standard 2.0. To begin working with mobile Blazor bindings, developers must have the .NET Core 3.0 or 3.1 SDK, Visual Studio, or Visual Studio for the Mac. Also needed are ASP.NET web development and mobile development with .NET (Xamarin.Forms) workloads installed. Sample apps are available on GitHub. Templates can be installed by running the following command from a command/shell window:

dotnet new -i Microsoft.MobileBlazorBindings.Templates::0.1.173-beta

Developers can create their first project by using the following command:

 dotnet new mobileblazorbindings -o MyApp

The SLN file must be opened in Visual Studio, with developers marking Android or iOS as the startup project.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Featured

Slideshows

Reseller News Platinum Club celebrates leading partners in 2019

Reseller News Platinum Club celebrates leading partners in 2019

The leading players of the New Zealand channel came together to celebrate a year of achievement at the annual Reseller News Platinum Club lunch in Auckland. Following the Reseller News Innovation Awards, Platinum Club provides a platform to showcase the top performing partners and start-ups of the past 12 months.

Reseller News Platinum Club celebrates leading partners in 2019
Reseller News hosts alumnae breakfast for Women in ICT Awards

Reseller News hosts alumnae breakfast for Women in ICT Awards

Reseller News hosted its second annual alumnae breakfast for the Women in ICT Awards in New Zealand, designed to showcase the leading female leaders in the industry. Held at The Cordis in Auckland, attendees came together to hear inspiring keynotes and panel discussions, alongside high-level networking among peers. Photos by Gino Demeer.

Reseller News hosts alumnae breakfast for Women in ICT Awards
Reseller News Innovation Awards 2019: meet the winners

Reseller News Innovation Awards 2019: meet the winners

Reseller News honoured the standout players of the New Zealand channel in front of more than 480 technology leaders in Auckland on 23 October, recognising the achievements of top partners, emerging entrants and innovative start-ups.

Reseller News Innovation Awards 2019: meet the winners
Show Comments