One thing that has been recently announced by Microsoft is the availability of .NET Core 3. With it, you will be able to create WPF and Winforms apps with .NET Core. And…
Tag: WPF
Packaging an app with a Win32 dll to the Windows Store with the Desktop Bridge
In a previous post, I’ve shown how to package a Delphi application for the Windows Store, and in this post I’ve shown how to package a WPF application. In both cases, the apps…
Refactoring and testing a Delphi app
While writing my last article, something occurred to me: what if the app uses an external dll for some functions, how can I package them to send them to the store. Once…
XAML edit and continue
One of the features I really like in Visual Studio while I am developing is the Edit and Continue feature. Just add a breakpoint in the code, edit the code and maybe…
Loading Xaml Views and ViewModels Dynamically
This article demonstrates how to dynamically load XAML views and their corresponding ViewModels into a WPF application at runtime—rather than defining them statically at compile time—by leveraging reflection and runtime loading techniques to instantiate and bind UI components as needed, increasing flexibility and supporting scenarios like plugin architectures. His companion GitHub project DynamicXamlViews provides a practical demonstration of this approach
Backup Revisited
After using the program developed in the last post, I was thinking about some ways to optimize it. Then I went to the FileFinder class and saw this: class FileFinder { public…
Poor man’s backup
Introduction When you have something digital, having backups is something fundamental to keep your data safe. There are many threats over there that can destroy your data: hardware failures, viruses, natural disasters…
Alternate Data Streams in C#
I’m sure that you have had this scenario at least once: you download a file from the internet and try to run it and it doesn’t work fine. If it is a…
Loading XAML Dynamically – Part 2 – Loading Styles Dynamically
In the last post, I showed how to load a complete view dynamically, but that’s not the most common way to change the visualization of data. Most of the time, you will…
Loading XAML Dynamically – Part 1 – Loading Views Dynamically
Most of the time, our design is fixed and we don’t have to change it while it’s executing, but sometimes this is not true: we need to load the files dynamically, due…