TWIL vol.3 (.NET Framework limitations, VS2022 and legacy apps, and the default keyword) New year, new discoveries... WinForms can be upgraded to .NET; default vs null in C#; VS 2022 won't show the Form designer in legacy apps
Why doesn't VS 2022 show my WinForms UI at design time? Someone at work asked about whether we'd be able to use VS 2022 to work on our main WinForms app. It works just fine in VS 2019, so it should work in VS 2022, right? Except it doesn't. What we get is white screens of brokenness whenever we try to open a Form in the designer. But why?
Displaying an IIS hosted site in CEFSharp Thanks to CEFSharp, we can finally bring WinForms to the web! That didn't sound right. Okay, let's just look at hosting a site in IIS and showing it.
Hosting a simple webpage in WinForms with CEFSharp WinForms and the web. Like oil and water, they don't mix well. But with CEFSharp, they mix a LOT better. Let's check it out.
How to log errors in WinForms using NLog Logs are a great tool for squashing bugs and tracing errors. Let's see how to add NLog to our project.
Using MVP to test a WinForms app If you find yourself supporting a WinForms application, you're likely to notice the tests... or lack thereof. Just because we may not have been so focused on automated tests and continuous integration when WinForms was younger, that doesn't mean we can't introduce them now. Better late than never!
Passing data between two Forms in WinForms Passing data between two Forms, or any two classes, is a very common issue in C#. If you need to pass data around, there are a few ways to do it. Let's get it to work, and then do it better.