10 WPF Best Practices [2024]

10 WPF Best Practices [2024]

by Metalama Team on 19 Nov 2024

Windows Presentation Foundation, or WPF, remains a vital technology for building visually appealing desktop applications on Windows. In this article, we’ll explore some essential best practices for creating high-performance and maintainable WPF applications with minimal effort – updated with new tools and features released in 2024. We’ll cover strategies like using the MVVM pattern, employing c...

4 Ways to Implement ICommand

4 Ways to Implement ICommand

by Metalama Team on 06 Nov 2024

One of the best practices in WPF is to implement the logic behind buttons and menu items as a command instead of a simple event handler. In this article, we review several ways to implement a WPF command, focusing on strategies that minimize the amount of boilerplate code.

Implement ICommand with Metalama

Implement ICommand with Metalama

by Darío Macchi on 04 Nov 2024

This article explores the use of the ICommand interface in a temperature monitor application, contrasting manual and automated approaches using Metalama. Initially, it details how to manually create commands for operating a temperature sensor, highlighting the repetitive coding and potential for errors. Then, it introduces Metalama and its [Command] aspect to automatically generates the necessa...

Metalama Status Update, October 2024

Metalama Status Update, October 2024

by Gael Fraiteur on 31 Oct 2024

As the .NET Conf 2024 approaches, we’ve made significant progress in supporting .NET 9.0 and C# 13 with both Metalama and PostSharp. But that’s not all. We’ve also filled usability gaps in introduced types and added several minor features. October was buzzing with community interactions: we hosted an event with Andrea Angella from Productive C#, exchanged blog posts with GoatReview, and publish...

Why I switched from Fody to Metalama for method caching

Why I switched from Fody to Metalama for method caching

by Cyril Canovas on 29 Oct 2024

Having previously written about implementing caching aspects with Fody, I wanted to share my experience switching to Metalama and why I believe it offers significant advantages for Metalama users looking to implement caching in their applications.

Categories

From the Timeless .NET Engineer Newsletter

Product & Community News