![]() |
VOOZH | about |
dotnet add package BlazorBindings.Maui.SkiaSharp --version 1.0.1
NuGet\Install-Package BlazorBindings.Maui.SkiaSharp -Version 1.0.1
<PackageReference Include="BlazorBindings.Maui.SkiaSharp" Version="1.0.1" />
<PackageVersion Include="BlazorBindings.Maui.SkiaSharp" Version="1.0.1" />Directory.Packages.props
<PackageReference Include="BlazorBindings.Maui.SkiaSharp" />Project file
paket add BlazorBindings.Maui.SkiaSharp --version 1.0.1
#r "nuget: BlazorBindings.Maui.SkiaSharp, 1.0.1"
#:package BlazorBindings.Maui.SkiaSharp@1.0.1
#addin nuget:?package=BlazorBindings.Maui.SkiaSharp&version=1.0.1Install as a Cake Addin
#tool nuget:?package=BlazorBindings.Maui.SkiaSharp&version=1.0.1Install as a Cake Tool
Check out the documentation for how to build your first app: https://dreamescaper.github.io/MobileBlazorBindingsDocs
Maui Blazor Bindings enable developers to build native and hybrid mobile apps using C# and .NET for Android, iOS, Windows, macOS, and Tizen using familiar web programming patterns. This means you can use the Blazor programming model and Razor syntax to define UI components and behaviors of an application. The UI components that are included are based on MAUI native UI controls, which results in beautiful native mobile apps.
Here is a sample Counter component that renders native UI, which may look familiar to Blazor developers, that increments a value on each button press:
<StackLayout>
<Label FontSize="30">You pressed @count times </Label>
<Button Text="+1" OnClick="@HandleClick" />
</StackLayout>
@code {
int count;
void HandleClick()
{
count++;
}
}
Notice that the Blazor model is present with code sitting side by side the user interface markup that leverages Razor syntax with mobile specific components. This will feel very natural for any web developer that has ever used Razor syntax in the past. Now with the Experimental Mobile Blazor Bindings you can leverage your existing web skills and knowledge to build native and hybrid mobile apps using C# and .NET for Android, iOS, Windows, macOS, and Tizen.
Here is the code above running in the Android Emulator:
<img src="https://devblogs.microsoft.com/aspnet/wp-content/uploads/sites/16/2020/01/blazor-android-counter-2.gif" alt="Clicking increment button in Android emulator" width="300" height="533" class="aligncenter size-full wp-image-23061" />
This repository is a fork of Microsoft's Experimental MobileBlazorBindings, which I decided to fork and maintain separately. If at any point of time Microsoft developers decide to push that repository moving forward, I'll gladly contribute all of my changes to the original repository.
As an experimental project, there are several active areas of development and we're looking for your feedback to help set the direction for this project. Please check it out and let us know any feedback you have on the project by logging issues in this repo.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
For more information, see the .NET Foundation Code of Conduct.
Thank you!
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.0.1 | 570 | 3/5/2023 | 1.0.1 is deprecated because it is no longer maintained. |
| 0.10.40-preview | 282 | 11/16/2022 | |
| 0.10.39-preview | 294 | 11/15/2022 | |
| 0.9.2-preview | 341 | 9/23/2022 | |
| 0.8.31-preview | 373 | 7/25/2022 | |
| 0.7.1-preview | 314 | 5/25/2022 | |
| 0.6.163-preview | 281 | 5/12/2022 |
Release notes are available at: https://dreamescaper.github.io/MobileBlazorBindingsDocs/maui-blazor-bindings/release-notes/1-0.html