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

Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners

Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners

More than 500 channel leaders gathered in Auckland on 21 October at the ​Reseller News Innovation Awards ​2020 to celebrate the achievements of the New Zealand technology industry's top partners, start-ups, vendors, distributors and individuals.

Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners
Meet the winners of the 2020 Reseller News Innovation Awards

Meet the winners of the 2020 Reseller News Innovation Awards

Reseller News honoured the standout players of the New Zealand channel in front of more than 500 technology leaders in Auckland on 21 October, recognising the achievements of top partners, start-ups, vendors, distributors and individuals.

Meet the winners of the 2020 Reseller News Innovation Awards
Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

This year’s Reseller News 30 Under 30 Tech Awards were held as an integral part of the first entirely virtual Emerging Leaders​ forum, an annual event dedicated to identifying, educating and showcasing the New Zealand technology market’s rising stars. The 30 Under 30 Tech Awards 2020 recognised the outstanding achievements and business excellence of 30 talented individuals​, across both young leaders and those just starting out. In this slideshow, Reseller News honours this year's winners and captures their thoughts about how their ideas of leadership have changed over time.​

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners
Show Comments