MVC Features Rumored to be Coming to ASP.NET WebForms
Despite the excitement around MVC, ASP.NET WebForms are still very popular. According to Evonet Consulting, the next major ASP.NET release will contain a number of features originally introduced in MVC, including Model Binders, unobtrusive client-side validation, and CSS sprites.
MVC Model Binders automatically handle the mapping between fields on a web form and properties on an object. This avoids a lot of the repetitive code that exists in WebForms where properties from an object are manually mapped to controls for presentation to the user and then mapped back out again to the object in order to save changes. For an example of Model Binders in action see Maarten Balliauw’s presentation. The next version of ASP.NET will allow data controls like the Gridview or Listview to directly bind updated values to the underlying record. Hopefully records represented by a variety of controls, such as a number of text boxes, will also acquire some level of automatic binding.
CSS sprites are an optimization in how to push images down to the client. All images on the page are combined into a single file laid out in a grid. This significantly reduces the number of HTTP requests required to get all the images on the page, thus speeding up load time. CSS sprites are coming in the next version of ASP.NET WebForms, but if you don't want to wait you can get the CSS spirits preview from CodePlex.
Dodging the issue still
In MVC, the best practices and guidances are given up front, the default template enforces it, and there's no pretence of "RAD" like there is in WebForm.
If Microsoft wants to "fix" WebForm, they need to do the same thing: have a default MVP template like there was in the Web Application Software Factory, make the tutorials push to use the proper best practices (like avoiding to do real work in a button click even, instead opting to change model state, and have the UI modifications in pre-render), and then people will be able to benefit from the real power of WebForm without ending up in spaghetti code unless a real pro did it.
Until then, unless you have absolute trust in the capacity of your team, you have to go with MVC: not because its necessarily better (even though often it is), but because you can't trust 90% of devs not to do something completely dumb with it because they followed the mainstream tutorials.
they need more ..
Re: they need more ..
and JSF2's very simple yet very usefule ajax suprot
No! WebForm is only good for RAD and too complicated for anything else more properly architected. Just as they created MVC out of lessons from Java and Ruby, MS needs to create another framework by leanring lessons from Java frameworks such as JSF2/RichFaces4, GWT etc.
Just my 2c.
Ralph Winzinger Nov 25, 2014