Updating a .NET MAUI Canvas with Messaging eventsby@wdebruin
600

Updating a .NET MAUI Canvas with Messaging events

tldt arrow
Read on Terminal Reader

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

@wdebruin

Wouter de Bruin

Credibility

react to story with heart
Wouter de Bruin HackerNoon profile picture
by Wouter de Bruin @wdebruin.Dutch software development addict with .NET, Cloud and Mobile. In freetime a chess and tennis player
Read my stories

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa