{"id":14963631,"url":"https://github.com/dotnet/mobileblazorbindings","last_synced_at":"2025-07-23T21:32:13.578Z","repository":{"id":37029360,"uuid":"201976298","full_name":"dotnet/MobileBlazorBindings","owner":"dotnet","description":"Experimental Mobile Blazor Bindings - Build native and hybrid mobile apps with Blazor","archived":false,"fork":false,"pushed_at":"2023-11-14T20:48:59.000Z","size":6269,"stargazers_count":1186,"open_issues_count":141,"forks_count":167,"subscribers_count":77,"default_branch":"main","last_synced_at":"2024-04-17T02:54:38.356Z","etag":null,"topics":["blazor","dotnet","hybrid","mobile"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotnet.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-08-12T17:18:27.000Z","updated_at":"2024-04-13T16:07:28.000Z","dependencies_parsed_at":"2024-01-30T00:13:35.099Z","dependency_job_id":null,"html_url":"https://github.com/dotnet/MobileBlazorBindings","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2FMobileBlazorBindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2FMobileBlazorBindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2FMobileBlazorBindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2FMobileBlazorBindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotnet","download_url":"https://codeload.github.com/dotnet/MobileBlazorBindings/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869245,"owners_count":16555571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blazor","dotnet","hybrid","mobile"],"created_at":"2024-09-24T13:31:54.715Z","updated_at":"2024-11-30T15:04:58.582Z","avatar_url":"https://github.com/dotnet.png","language":"C#","readme":"# Experimental Mobile Blazor Bindings - ARCHIVED\n\n**Please see https://github.com/dotnet/MobileBlazorBindings/issues/480 for the archival announcement and where to go from here.**\n\n---\n\n---\n\n## Getting Started\n\nCheck out the documentation for how to build your first app: https://docs.microsoft.com/mobile-blazor-bindings\n\n## What is it?\n\nMobile 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 Xamarin.Forms native UI controls, which results in beautiful native mobile apps. In hybrid apps you can embed Blazor web UI built with HTML directly in the app in any composition, all running in the same app process. No web servers.\n\nHere is a sample Counter component that renders native UI, which may look familiar to Blazor developers, that increments a value on each button press:\n\n```razor\n\u003cStackLayout\u003e\n    \u003cLabel FontSize=\"30\"\u003eYou pressed @count times \u003c/Label\u003e\n    \u003cButton Text=\"+1\" OnClick=\"@HandleClick\" /\u003e\n\u003c/StackLayout\u003e\n\n@code {\n    int count;\n\n    void HandleClick()\n    {\n        count++;\n    }\n}\n```\n\nNotice 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.\n\nHere is the code above running in the Android Emulator:\n\n\u003cimg 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\" /\u003e\n\n## More info on Mobile Blazor Bindings\n\nTo get started, all you need is the [.NET Core 3.1 SDK][1], Visual Studio or Visual Studio for Mac, and the ASP.NET and web development and Mobile development with .NET (Xamarin.Forms) workloads installed.\n\nGet started by reading the Getting Started section in the [docs](https://docs.microsoft.com/mobile-blazor-bindings/) and read through the related walkthroughs.\n\n## Contributing\n\nAs 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.\n\n# Code of Conduct\n\nThis project has adopted the code of conduct defined by the Contributor Covenant\nto clarify expected behavior in our community.\n\nFor more information, see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).\n\nThank you!\n\n [1]: https://dotnet.microsoft.com/download/dotnet-core/3.1\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnet%2Fmobileblazorbindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotnet%2Fmobileblazorbindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnet%2Fmobileblazorbindings/lists"}