Scott Hanselman

2010 Survey Results: What .NET Framework features do you use?

January 14, '10 Comments [37] Posted in ASP.NET | ASP.NET Ajax | ASP.NET Dynamic Data | ASP.NET MVC | Learning .NET | Programming | Web Services | Windows Client | WPF
Sponsored By

In October of 2008 I took an informal survey on Twitter. I wanted to get an idea of what features of the .NET Framework people were using.

Also, here's the disclaimer. I did this on a whim, it's not scientific, so the margin of error is +/-101%. That said, the results feel intuitively right to me, personally.

I put the poll out again last week, adding only Silverlight to the end as an option. I realize I could have added many other subsystems and choices, but I felt it would have made this new poll too different from the original. There's certainly many ways that it could be improved as a survey, but it's best to think of it more as a "which direction is the wind blowing" question, than a survey per se.

I also didn't push/promote this survey very hard, so it got only about 1250 responses, vs. the nearly 5000 from last year, but I've kept the same color and attempted to keep the scale so one could extrapolate trends visually.

Hanselman Blog Informal .NET Subsystem Survey CHART - Updated 2010 

Here's the original survey:

Hanselman Blog Informal .NET Subsystem Survey CHART - 2008

It's also worth noting that 'NHibernate' was written into the "other" option 24 times. The poll was taken with TwtPoll.

Here's my conclusions.

  • WinForms remains popular but WPF is closing the gap.
  • ASP.NET MVC is nearly as popular as ASP.NET WebForms. Remember, however, that my readership 'skews Alpha' so might be more likely to be using MVC.
  • ADO.NET Data Services is starting to get some of the appreciation it deserves, but the existence of ADO Datasets persists.
  • Lots of folks use Silverlight, in this example set, even more than WPF.

What are your conclusions and analysis?

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web
Thursday, January 14, 2010 11:35:39 PM UTC
Very interesting, although what's most interesting is that WebForms are still way up there. 'Legacy' business apps that don't want to switch to the MVC world I suppose?

Poor CardSpace :)
Thursday, January 14, 2010 11:43:34 PM UTC
I find it strange that Dynamic Data users didn't increase with the way it has been exposed for validation.
Or maybe people didnt consider using the Dynamic Data framework that way?
Thursday, January 14, 2010 11:48:36 PM UTC
Maybe people using Dynamic Data don't realize they are?
Thursday, January 14, 2010 11:49:12 PM UTC
@darkhelmetlive - "Legacy" that's funny.

@Scott, interesting survey. Glad to see MVC up there!
Thursday, January 14, 2010 11:49:34 PM UTC
Wow, look at the drop in Dynamic Data. It would be interesting to hear people's experiences with Dynamic Data in the comments. I've loved it, hated it, and been everywhere in between.
Thursday, January 14, 2010 11:53:52 PM UTC
I'm very surprised that the conclusions don't mention Ajax, the second highest bar, but it does mention Silverlight, which is less than 2/3 the size of Ajax.
Thursday, January 14, 2010 11:53:53 PM UTC
Thanks. Fun stats to look at. WebForms being the most used feature makes total sense to me. Despite all of the evangelism around WPF, Silverlight, and MVC I find that WebForms has been the technology most requested by clients. Reasons vary from place to place, with the most common being "don't want to retraing the team" to the more outlandish "Silverlight won't work for our problem space, which is as yet undefined".

Surprised to see DataSets still occupying such a big slice. Interesting to see EF and L2SQL face off though. :)
Friday, January 15, 2010 2:07:13 AM UTC
Nice! I would expect WF to be higher next year given that the model suits businesses quite well. Poor cardspace.

Thanks very much Scott for the survey! :)
Friday, January 15, 2010 2:46:22 AM UTC
I'm not surprised by WPF/SL numbers being a bit sluggish. The trick still remains open, convince the masses to move off WinForms/WebForms for the new flavours of Microsoft Ice Cream :) heheh

Friday, January 15, 2010 3:53:08 AM UTC
In my humble opinion, the best set of features (collection of tools) for rapid development, low maintenance, and easiness are:

ASP.NET MVC
jQuery
NHibernate (ORM) with Fluent NHibernate (Mapping) and LINQ to NHibernate
xVal (easily link both server-side Castle Project Validator Component and client-side jQuery Validation)
NUnit (TDD)

I highly recommend try this setup (you won't go back to anything else). The only downside is the learning curve and initial setup. After that, full steam ahead on rapid development.

Sincerely,
William Chang
Baby Blue Box
Friday, January 15, 2010 4:00:59 AM UTC
At least one conclusion is that Webforms ain't goin' anywhere for quite some time yet. Webforms are still relevant and useful, despite what many would have you believe (or wish to fool themsleves into believing).

Suck on that, ALT.NET fanboys.
Friday, January 15, 2010 6:39:51 AM UTC
Oh, I noticed that the people using WinForm is the double amount of the ones using MVC
Friday, January 15, 2010 7:23:35 AM UTC
The trend and lack of uptake of Dynamic Data is interesting. How many people are avoiding DD and pushing towards MVC and especially templating in MVC 2? DD never seemed to gain a critical mass of people actively talking about it to get a roll on.

@JohnB: I've had the same roller coaster with DD. It provided a quick win for starting a system but now as functionality grows I find myself replacing some bloated DD pages with MVC pages to reduce the complexity in the view layer and tease away the service and data layers. Good testament to being able to have the two frameworks coexisting in a single app though! Choice is good.
Friday, January 15, 2010 7:40:11 AM UTC
My conclusion is that Linq 2 SQL isn't going away. It went from 34% to 47% usage, although EF also went from 13% to 22% usage.
Jens Samson
Friday, January 15, 2010 8:48:07 AM UTC
Nice to see Webforms still up there. MVC is great, but way over-hyped and WebForms is stilly hugely relevant.
Friday, January 15, 2010 9:35:06 AM UTC
How do you people compare MVC with WinForms!?
Friday, January 15, 2010 9:49:09 AM UTC
The companies (legacy) using webforms with custom controls are finding ways to carry their control logic to MVC. Once the portability is easy then there will big difference in usage of Webforms nd MVC.. MVC shoots up
Hassan
Friday, January 15, 2010 1:42:35 PM UTC
Who's your target population? Your readers, Twitter followers? I'm wondering if these results would change if Microsoft sends an email to all developers in MSDN and a link is posted on StackOverflow.
Friday, January 15, 2010 4:02:50 PM UTC
My take away is - start learning WPF ASAP. A good article to start with it is http://scottbilas.com/2010/01/14/finally-onto-wpf/
Friday, January 15, 2010 4:03:26 PM UTC
My take away is - start learning WPF ASAP. A good article to start with it is http://scottbilas.com/2010/01/14/finally-onto-wpf/
Friday, January 15, 2010 4:07:26 PM UTC
WebForms definitely aren't going anywhere - I keep reading so many good things about MVC, but in my opinion, simple applications are definitely easier to build and maintain in WebForms, and the learning curve of a brand new way of thinking is going to take years to reach everyone.

I do like to see that MVC usage is going up - it is a good technology, and it's nice to have the choice between the two going forward.
Friday, January 15, 2010 5:42:37 PM UTC
Thanks for sharing survey results. CardSpace is fairly new compared to win/web forms. Probably some day people would know its business on finger tips? (0:
Friday, January 15, 2010 5:48:12 PM UTC
@@William Chang
NHibernate (ORM) with Fluent NHibernate (Mapping) and LINQ to NHibernate
EF 4 (It is matured now) and LINQ to NHibernate don't do complex stuff. Linq wins here.

For me MVC + EF 4 is the winner in VS2010.
What I understand from the survey that majority of the people participated in the survay dealing with
ASP.NET + LINQ 2 SQL combo.

thanks for the info.
achu.
Achu
Friday, January 15, 2010 6:20:46 PM UTC
Great poll. Fascinating to stare at it and try to ferret out trends. (E.g. WPF gaining on Win Forms). I wish we had a crystal ball and knew what the distribution was for the vast armies of developers out there who are NOT forward-thinking, eager-to-learn-new-stuff, Hanselman-reading smarties. :O) The answers also change when you ask: what technologies do you use on new projects vs. what technologies are you using every day. These are two very different questions, with very different answers. So much legacy code out there, that successful technologies tend to have a long lifetime. (Ask me about being on a team that maintains a 15-yr old TCL codebase, among other things).
Friday, January 15, 2010 6:47:52 PM UTC
@Achu
For me MVC + EF 4 is the winner in VS2010.


In my opinion, MVC and EF 4 is a good combo, but you have to look at the long term of maintainability/incresing complexity and visual studio GUI dependency. Comparing "mature" with EF 4 against NHibernate (ASPNET)/Hibernate (Java) that has 9 years of specializing in ORM, used by many enterprise applications, and support ridiculous amount database technologies (open eco-system).

Entity Framework Technical Comparison: Click to Read Article

Entity Framework Experience Comparison (read the comments too): Click to Read Article

Reading the latest news from NHibernate, the next version coming soon support complex LINQ and their ICriteria API will support QueryOver (lambda expressions, strongly typed): Click to Read Article

I strongly agree LINQ overall is awesome, but if you're using the repository pattern with MVC, you won't have a problem switching and using NHibernate's current querying features: ICriteria, HQL, Native SQL, and LINQ (simple queries).
Friday, January 15, 2010 6:51:45 PM UTC
One of the things that bothers me about adopting MVC is that one its main benefits - testability - is rarely discussed or shown in examples. I like some of the things that the MVC style brings (separation of concerns, yada yada, insert buzz words here), but I have way too much invested in WebForms to move to MVC. I could use MVC on new projects, but then I have two completely different technologies to support. I may use it for personal use, but don't plan to use it in our business apps.
Saturday, January 16, 2010 2:26:05 AM UTC
You got very log ass page name to describe results. Any one SharePoint (another product down the toilet) ?
Developer
Saturday, January 16, 2010 2:55:50 PM UTC
yes many people still not aware of the dynamic data is used. are probably the only one designed diyemi düşünoylar. funny
Sunday, January 17, 2010 3:31:34 PM UTC
1. How do you know your readership skews alpha?
2. If your readership is skewed, how does it affect the holistic results. Could we say that cardspace may be unpopular with your readers but very popular in the wild?
Monday, January 18, 2010 12:29:36 AM UTC
@@William Chang
ICriteria, HQL, Native SQL, I believe developers prefer IntelliSense over string based syntax

achu.
Achu
Monday, January 18, 2010 4:06:09 AM UTC
The result were quite obvious. However its good to find that people using LINQ and Silverlight are increasing. Good survey scott.
Nishit vaghela
Tuesday, January 19, 2010 5:39:47 AM UTC
am afraid why you didnt much vote for dynamic data
Tuesday, January 19, 2010 5:50:32 AM UTC
am afraid to see why dynamic data is not on the list...
Thursday, January 21, 2010 10:20:04 PM UTC
I'm surprised WPF is gaining as much as it is. If I'm not using Silverlight, what advantage is there to me to target WPF, keeping in mind that the benefits have to offset the cost of requiring the 3.0/3.5 Framework.
R. Bemrose
Saturday, January 23, 2010 3:26:25 AM UTC
Hi, I am facing an issue with MVC, Can you please suggest a work-around Scott?

I have a partial view that is rendered at ...mysite/Home/Index and there is another button on the page which opens a pop up(modal) that contains this control again... now in this pop I modify the view model of this partial view and on close it is updated, the view model has been updated but the HTML on the page has not, I have tried JQuery and Ajax approaches to avoid page refresh/reload as I have unsaved data on the page but niether updated the HTML(seen on view page source as I need to perform edit operation on the appended HTML).

Thanks in advance

Best Regards

KK
Friday, January 29, 2010 5:17:28 AM UTC
Here's the list sorted by most-used to least-used, in case anyone else wants to see it this way:

01 - WebForms
02 - Ajax
03 - WCF
04 - Linq to SQL
05 - MVC
06 - WinForms
07 - ASMX
08 - Silverlight
09 - WPF
10 - ADO DataSets
11 - Entity-Framework (EF)
12 - Workflow
13 - ADO.NET Data Services
14 - DynamicData
15 - CardSpace
Thursday, May 13, 2010 3:57:45 PM UTC
It would be more interesting if you had transform the numbers of anwsers to percentage of anwser relative to total.
Felipe Almeida
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.