Stefano Tommesani

  • Increase font size
  • Default font size
  • Decrease font size
Home

Windows Forms smells funny, but...

Hits

In the "2016 .NET Community Report" just released by Telerik, the answers to the question "What technology would you choose if building for Windows Desktop?" were as follows:

WinFormsWPFUsage

So roughly half of new desktop developments would be based on Windows Forms, a technology declared dead multiple times. The Telerik report states: 

This is somewhat surprising when you consider Windows Forms is under maintenance mode,with no new features being added. For larger organizations, which may havelonger iteration cycles or legacy OS requirements, Windows Forms remains aviable platform for building desktop applications.

This report resonates with an episode of .NET Rocks, when Carl and Richard, both of them quite incredulous, told that a substantial part of revenue of software component makers still comes from the WinForms editions.

However, a properly written WinForms application can be much better than a spaghetti-code monster. For tuning your WinForms capabilties and writing high quality apps, I truly recommend the following course on the PluralSight site: Windows Forms Best Practices by Mark Heath. Here is the description of the course: 

WindowsFormsBestPracticesThis course demonstrates several best practices for Windows Forms development by taking a demo application and gradually improving it to improve the user experience and code quality. We'll see how you can improve the layout and resizing of your application, and how you can make it more accessible, usable, and navigable from the keyboard. We'll explore how to approach localization, exception handling, and threading. We'll also devote time to various patterns that will help you write more maintainable and testable code. Finally, we'll provide guidelines for creating your own custom controls, and see how you can interoperate other technologies such as hosting web and WPF content within a Windows Forms application.

Quote this article on your site

To create link towards this article on your website,
copy and paste the text below in your page.




Preview :

Windows Forms smells funny, but...
Thursday, 07 April 2016

Powered by QuoteThis © 2008
Last Updated on Thursday, 07 April 2016 16:05  

Latest Articles

A software to stand out 27 January 2018, 14.35 Web
A software to stand out
Standing out of the pack starts by being visible, and being noticed by the right group of professionals. No matter how good your profile is, it is lost in a sea of similar profiles, so you need to show up and start attracting
Web page scraping, the easy way 07 January 2018, 00.46 Web
Web page scraping, the easy way
There are many ways to extract data elements from web pages, almost all of them prettier and cooler than the method proposed here, but as we are in an hurry, let's get that data quickly, ok? Suppose we have to extract the
Scraping dynamic page content 06 January 2018, 23.57 Web
Scraping dynamic page content
One of the most common roadblocks when scraping the content of web sites is getting the full contents of the page, including JS-generated data elements (probably, the ones you are looking for). So, when using CEFSharp to scrape
Unit-testing file I/O 26 November 2017, 12.09 Testing
Unit-testing file I/O
Two good news: file I/O is unit-testable, and it is surprisingly easy to do. Let's see how it works! A software no-one asked for First, we need a piece of software that deals with files and that has to be unit-tested. The
Fixing Git pull errors in SourceTree 10 April 2017, 01.44 Software
Fixing Git pull errors in SourceTree
If you encounter the following error when pulling a repository in SourceTree: VirtualAlloc pointer is null, Win32 error 487 it is due to to the Cygwin system failing to allocate a 5 MB large chunk of memory for its heap at