What’s new in ASP.NET 4.5 – #2 Session at John Bryce

יום ראשון, אפריל 29, 2012

Today I delivered a 3 hour session about ASP.NET 4.5 at John Bryce college. This is the second session about ASP.NET 4.5 and like the first one I displayed the major new features of the Microsoft web platform. Specifically I presented the new ASP.NET Web Forms data binding mechanism, KnockoutJS, Web API, Bundling and Minification, Visual Studio 11 IDE enhancements and ASP.NET MVC 4 new mobile support. All samples which were presented during the session can be found here Hope to see you in the next session too

ASP.NET Web Forms 4.5, MVVM and Testability

יום רביעי, פברואר 22, 2012

ASP.NET Web Forms 4.5 introduces a new data binding mechanism. The formal name of this feature is "Model Binding". I guess the name implies that pages/controls are now bound to a model object and not just plain data. Is there any difference between data and model? I guess that most of us will agree that model has state + behavior while data has only state. Taking that into account it is not surprising that the new data binding mechanism is named "Model Binding" since we can use it to bind to arbitrary methods and not just properties. From flexibility perspective this...