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.

Events

Featured

Slideshows

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
Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

This exclusive Reseller News Exchange event in Auckland explored the challenges facing the partner community on the cloud security frontier, as well as market trends, customer priorities and how the channel can capitalise on the opportunities available. In association with Arrow, Bitdefender, Exclusive Networks, Fortinet and Palo Alto Networks. Photos by Gino Demeer.

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security
Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomed 2019 inductees - Leanne Buer, Ross Jenkins and Terry Dunn - to the fourth running of the Reseller News Hall of Fame lunch, held at the French Cafe in Auckland. The inductees discussed the changing face of the IT channel ecosystem in New Zealand and what it means to be a Reseller News Hall of Fame inductee. Photos by Gino Demeer.

Reseller News welcomes industry figures at 2020 Hall of Fame lunch
Show Comments