6

Faster & Safer XAML with Compiled Bindings in Xamarin.Forms & .NET MAUI

 2 years ago
source link: https://www.youtube.com/watch?v=3-cT97sBmxM
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
#XamarinForms #DotNetMaui #XAML

Faster & Safer XAML with Compiled Bindings in Xamarin.Forms & .NET MAUI

2,312 views
Jul 8, 2021

Are you looking to make your Xamarin.Forms or .NET MAUI app even more performant? Look no further than compiled bindings. This piece of technology speeds up your app by compiling your data bindings ahead of time and has the additional bonus of compile type checking of your bindings. I walk through the few lines of coded needed.

Time Codes: 00:00 - Intro and what are compiled bindings 03:30 - Our first compiled binding for the page 06:45 - Compiled bindings on ItemTemplates 08:20 - Advanced compiled bindings and ignoring them 11:00 - Wrap-up

Links: * Data Bindings: https://docs.microsoft.com/xamarin/xa... * Compiled Bindings: https://docs.microsoft.com/xamarin/xa...

Follow: ๐Ÿ‘จโ€๐Ÿ’ป GitHub: https://github.com/jamesmontemagno ๐Ÿฆœ Twitter: https://twitter.com/jamesmontemagno ๐Ÿ”ด Twitch: https://twitch.tv/jamesmontemagno ๐Ÿ“„ Website: https://www.montemagno.com ๐Ÿ“ฐ Newsletter: https://newsletter.montemagno.com/

My Setup: * Blue Spark Microphone - https://amzn.to/3qgtYkq * Blue Pop Filter - https://amzn.to/3jEWM3r * Rode Microphone Arm - https://amzn.to/2Z68AlE * Sony MDR7306 Headphones - https://amzn.to/372jxta * Stream Deck - https://amzn.to/373Uk1n * Elgato Cam Link - https://amzn.to/3a9eGbh * GoPro Hero - https://amzn.to/374lm90 * MX Master 2S Mouse - https://amzn.to/3d7J2gj * Tecware Phantom Keyboard - https://amzn.to/3aUP4y9

#XamarinForms #DotNetMaui #XAML

Show lessShow more

22 Comments

Sort by
default-user=s48-c-k-c0x00ffffff-no-rj
Add a public comment...
James, you are one of the best explainers out there, right up with Hanselman.

4 days ago

Hei! x:datatype perfectly works with interfaces, so the possible solution for the case with grouping is to create a class which is inheriting the class Grouping and the interface IGrouping { string Key {get;}}

1 day ago

Thank you sooo much James. Much appreciated!!!!

4 days ago

Great - the x:Null bit had passed me by the first time I saw compiled bindings and I found that having them turned on caused me problems.

Now I understand the x:Null, Iโ€™ll go back and adopt this approach again. Nice one, thanks James!

Read more 4 days ago

It will be great if you show a video on what tools and software you use to make your videos especially live videos and how to make the animations and how user tweets at the bottom of the screen just like Xamarin Standup videos. Thanks

3 days ago


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK