Click here to Skip to main content
14,300,951 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
AnswerRe: Desktop: WinForms, WPF, UWA Pin
Meshack Musundi13-Dec-17 21:04
professionalMeshack Musundi13-Dec-17 21:04 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
raddevus14-Dec-17 3:08
mvaraddevus14-Dec-17 3:08 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
dietmar paul schoder14-Dec-17 0:11
professionaldietmar paul schoder14-Dec-17 0:11 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
Marc Clifton14-Dec-17 1:29
protectorMarc Clifton14-Dec-17 1:29 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
Nish Nishant14-Dec-17 2:49
sitebuilderNish Nishant14-Dec-17 2:49 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
Marc Clifton14-Dec-17 5:11
protectorMarc Clifton14-Dec-17 5:11 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
Nish Nishant14-Dec-17 5:17
sitebuilderNish Nishant14-Dec-17 5:17 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
Steve Naidamast14-Dec-17 3:57
professionalSteve Naidamast14-Dec-17 3:57 
I moved over to WPF a number of years ago simply because it had been touted as the technology to replace WinForms.

To me WPF biggest advantage is that you can program it in similar style to that of an ASP.NET WebForms application. However, this is about its only real big advantage.

WPF documentation is notoriously fragmented, and in some cases just downright bad.

The complexity in developing a nice interface with WPF is terrible. And like ASP.NET MVC, forces developers to take on more complexity than is actually needed.

Having to rework templates for a single control simply to have it work in a manner consistent with how you may want it to work with your application is beyond ridiculous. And the time-worn excuse that WPF is designed to be highly flexible as a result, is pathetic. On average, how many developers really require such flexibility. I have never seen a need for it in my career.

The problem is that Microsoft is still trying to set trends instead of maintaining mature platforms that have made it very easy for developers to build and implement applications. As a result, you have gotten such implementations such as ASP.NET MVC, WPF (with all the complexity), and LocalDB (supposedly to replace SQL Server CE).

Though I believe that WPF would have seen many more developers gravitate towards it had Microsoft streamlined its interface design with less complexity, they don't seem to be interested in refining this development environment. The form designer is still terrible in that you cannot accurately gauge where anything will actually show up as with the WinForms designer.

My complaint about a lot of this can be encapsulated around LocalDB. Though an excellent refinement for SQL Server Express it can hardly be seen as a real replacement for SQL Server CE, probably the finest desktop database ever produced to date.

SQL Server CE served a very specific purpose for those developers concentrating on the desktop. And as of a recent Microsoft survey (I believe), 46% of all development, despite all the hype is still for the desktop. With a few refinements, SQL Server CE would have been a snap to deploy and would have remained the desktop database of choice for a long time.

Instead, with the new directions of Microsoft under Nadella, who like all technology idiots with a "vision", he is enamored with cloud computing, which was a major factor in SQL Server CE's demise. Instead of offering both, SQL Server CE is simply removed from the product lineup. At the very least it could have been Open Sourced to a third party.

True, LocalDB can be used with desktop applications but it is a far larger implementation. To avoid user intervention during an installation process one has to set up their installation with a silent install. If you want to control any of the features of LocalDB from your application (beyond data access) you have to use a "Process.Start" method to run the "SqlLocalDB" utility to create instances, databases and the whatnot.

The idea of on-demand servicing, where LocaldDB remains dormant until a call is made for a request is rather ridiculous, considering that it will then only stay active for several minutes at a time.

With this milieu, Microsoft now claims this is a great database for developers and desktop applications. I would like to know how, when SQL Server Express is a snap to set up and SQL Server CE avoided a lot of the LocalDB issues.

Thinking like this is why WPF is a great way to program but a painful implementation to deal with...
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com

GeneralRe: Desktop: WinForms, WPF, UWA Pin
raddevus14-Dec-17 4:26
mvaraddevus14-Dec-17 4:26 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
jackbrownii14-Dec-17 4:44
professionaljackbrownii14-Dec-17 4:44 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
Gerry Schmitz14-Dec-17 5:02
mveGerry Schmitz14-Dec-17 5:02 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
André Pereira29-Jan-18 1:48
memberAndré Pereira29-Jan-18 1:48 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
MSBassSinger14-Dec-17 5:18
professionalMSBassSinger14-Dec-17 5:18 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
Joe Woodbury14-Dec-17 8:22
professionalJoe Woodbury14-Dec-17 8:22 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
raddevus14-Dec-17 8:28
mvaraddevus14-Dec-17 8:28 
GeneralRe: Desktop: WinForms, WPF, UWA Pin
swampwiz4-Apr-18 9:33
memberswampwiz4-Apr-18 9:33 
GeneralXKCD-OTD Pin
Maximilien13-Dec-17 9:21
memberMaximilien13-Dec-17 9:21 
GeneralRe: XKCD-OTD Pin
R. Giskard Reventlov13-Dec-17 9:25
memberR. Giskard Reventlov13-Dec-17 9:25 
GeneralRe: XKCD-OTD Pin
CPallini13-Dec-17 9:49
mveCPallini13-Dec-17 9:49 
GeneralRe: XKCD-OTD Pin
PIEBALDconsult13-Dec-17 13:23
protectorPIEBALDconsult13-Dec-17 13:23 
GeneralRe: XKCD-OTD Pin
Brisingr Aerowing13-Dec-17 15:27
professionalBrisingr Aerowing13-Dec-17 15:27 
GeneralDadness... Pin
R. Giskard Reventlov13-Dec-17 6:40
memberR. Giskard Reventlov13-Dec-17 6:40 
GeneralI was sent this, and... Pin
OriginalGriff13-Dec-17 6:39
protectorOriginalGriff13-Dec-17 6:39 
GeneralRe: I was sent this, and... Pin
Chris Losinger13-Dec-17 8:39
professionalChris Losinger13-Dec-17 8:39 
GeneralBitCoin Pin
Eddy Vluggen13-Dec-17 5:49
mveEddy Vluggen13-Dec-17 5:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.