Asp.net MVC Framework - Utah CodeCamp
Tagged Under : ASP.Net MVC, CodeCamp, Utah
Today I had the opportunity to attend the Utah CodeCamp and I learned quite a few new things. The main reason I wanted to go was to listen to Mark from Medicity give his presentation on the new Asp.net MVC Framework. He probably gave one of the best presentation there today. I made sure it was clear at work that I had high expectations, so maybe that helped?
So what’s the big deal about the new MVC Framework? Oh it’s only the best thing to happen to Asp.net ever! I never really played with classic Asp much but I’m told it has some similarities and you might feel like things are moving backwards, but it really is for the best. If you’re familiar with how JSP (yuck) works with the MVC pattern then a lot of the new things will feel very familiar.
The biggest shock to me was how they have basically eliminated the page life cycle and the traditional postback. Until now, in Asp whenever you wanted to fire some click event the client posted back to the aspx, recreated the entire page again firing off the pageload and all the other junk and THEN invoked the click event. That has always bugged me! It is such waste of time to recreate an instance of a page that you’re probably going to throw away anyway. That’s because the majority of the time you direct the user to different page when they invoke some event. Now, your buttons invoke specific ‘actions’ on your controller and the controller decides what data to pull from the model and what view to use.
I’m not going to go into much more detail now but I’ll try share any new findings in future posts. Until then, check out Scott Gu’s blog for more info!
Thanks Mark for an awesome presentation!



