paint-brush
Updating a .NET MAUI Canvas with Messaging eventsby@wdebruin
1,768 reads
1,768 reads

Updating a .NET MAUI Canvas with Messaging events

by Wouter de Bruin7mNovember 28th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

CHIP-8 was created as a “virtual platform” to run games on a variety of kit computers in the 1970s and 1980s. I implemented an emulator in .NET MAUI. The problem: How to let the Canvas know that it should redraw itself? The solution: Messaging events. The emulator class uses messaging to inform the mainpage that the canvas should be redrawn. After upgrading to .NET 7 it was all different. And 100x faster!

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Updating a .NET MAUI Canvas with Messaging events
Wouter de Bruin HackerNoon profile picture
Wouter de Bruin

Wouter de Bruin

@wdebruin

Dutch software development addict with .NET, Cloud and Mobile. In freetime a chess and tennis player

0-item

STORY’S CREDIBILITY

Code License

Code License

The code in this story is for educational purposes. The readers are solely responsible for whatever they build with it.

L O A D I N G
. . . comments & more!

About Author

Wouter de Bruin HackerNoon profile picture
Wouter de Bruin@wdebruin
Dutch software development addict with .NET, Cloud and Mobile. In freetime a chess and tennis player

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite