Categories
ASP.NET CORE Blazor Products

Experimental Blazor Mobile (binding) on iOS

About a month ago, Jan 14, 2020, Microsoft announced an experimental Mobile Blazor Binding.

The reference link is here

I tried and it ran well on Android. However, we got a nasty crash on startup for iOS. In particular, the dreadful

System.PlatformNotSupportedException: Operation is not supported on this platform.

After few weeks, the solutions are finally out and we can start experimenting with it.

In particular, to fix the iOS crash, there are two parts:

  1. Use different Generic Host options: #51
  2. Fix MainPage initialization: #76

I can confirm this works. Eilon also mentioned they plan to have monthly releases and hopefully a nuget feed.

Happy Hacking!

Leave a Reply

Your email address will not be published. Required fields are marked *