Modernizing .NETpad Step-By-Step, Part 2: Next Steps (Premium)

This time, we’ll look at some basic code refactoring, add a few small features and other changes, and redesign .NETpad’s menu system.
Separate application state variables from MainWindow
I wrote about my code refactoring efforts twice this past summer,… Continue reading Modernizing .NETpad Step-By-Step, Part 2: Next Steps (Premium)

Modernizing .NETpad Step-By-Step, Part 1: The Basics (Premium)

In this first phase of modernizing the WPF version of .NETpad, we’ll take the original project, apply Windows 11 theming, and make some other basic updates.
For those unfamiliar, .NETpad is my basic clone of Notepad, an update I created–and then recre… Continue reading Modernizing .NETpad Step-By-Step, Part 1: The Basics (Premium)

Modernizing .NETpad: The Way Forward (Premium)

This year, Microsoft seemed to bring the Windows Presentation Foundation (WPF) back from the dead, cheering those who still support this powerful but aging app framework. This was personally exciting to me because WPF is my favorite Microsoft app frame… Continue reading Modernizing .NETpad: The Way Forward (Premium)

Modernizing .NETpad: Application State (Premium)

Developers often utilize design patterns that logically separate an app’s presentation and business logic and use a third component to mediate between the two. The Windows Presentation Foundation (WPF) straddles the evolution of these design patterns. … Continue reading Modernizing .NETpad: Application State (Premium)

Modernizing .NETpad: Title Bar Customization (Premium)

In addition to implementing a tab-based user interface, the modern Notepad also does something that’s a bit tricky to do well with WPF: It hides the old-school window title bar and implements its own versions of the some of the buttons that usually app… Continue reading Modernizing .NETpad: Title Bar Customization (Premium)

Modernizing .NETpad: (More) Dialog about Dialogs (Premium)

It’s been a frustrating week for the .NETpad modernization project. Some of it was self-inflicted. And some was Microsoft’s fault.
I take exception
Let me address the latter first, as it’s a quicker conversation: Earlier this week, Microsoft made three… Continue reading Modernizing .NETpad: (More) Dialog about Dialogs (Premium)

Modernizing .NETpad: Project Update (Premium)

Last week, a reader asked me why I wasn’t posting the source code for the .NETpad modernization work I’m working on and writing about. This is by design, but I didn’t explain this well (or at all). So that’s on me, apologies. This initial phase of the … Continue reading Modernizing .NETpad: Project Update (Premium)