Microsoft's "New" Technologies
Microsoft's new technologies of ASP.NET MVC, T4, and MEF are taking development to the next level.
Some of the side-projects I've been building over the past year came together when I was introduced to ASP.NET MVC, and since then, I haven't turned back yet ("Web Forms? Feh").
If you are new to ASP.NET MVC, I would recommend Phil Haacked's site. Not one article, but his entire site. Since he was one of the co-authors of ASP.NET MVC framework, it only stands to reason to blog about it. I would recommend one of his articles though: Everything you wanted to know about MVC and MVP but were afraid to ask.
T4 -- The Future
I just found out about this little nugget. A code generator is hidden inside all of your Visual Studios. Yes, even right now as you are reading this. If you are coding something multiple times, I urge you to stop and make a T4 code template out of it.
As an introduction along with the link above to Oleg Sych's site (He's the T4 master), check out Scott Hanselman's post about T4 to get you kick-started.
Wow! No more code generators for me. Just VS 2008 Pro.
But wait, there's more...
So here I am working on my code generators for my framework and libraries, and all of the sudden, I see another post about MEF. If it deals with ASP.NET MVC, I will be all over it.
Microsoft's Extensibility Framework (CodePlex) is a .NET library that enables greater reuse of applications and components. Even though the library is in development, it looks like it has great potential.
The Finishing Blow
Lastly, I wake up and check the ole feed reader this morning for some fresh news.
In my programming folder, I noticed Scott Hanselman talking about Elmah ("Elmah who? Elmo's cousin?").
Error handling is kind of like flossing. Everybody says they do it, but actually don't do it enough. Elmah seems to have that under control now as well.
According to Scott, it's like "TiVo for your ASP.NET errors." Kewl way of looking at it. :-)
I haven't dug into Elmah yet. I'm still floored from the last three technologies.
Has any experimented with the MEF or Elmah yet? Comment below.
Jonathan Danylko is a freelance web architect and avid programmer who has been programming for over 20 years. He has developed various systems in numerous industries including e-commerce, biotechnology, real estate, health, insurance, and utility companies.
When asked what he likes doing in his spare time, he answers..."programming."
Like this article?Subscribe for FREE to receive the latest posts before they become public.
- Security in Web Applications
- UPDATE: Multiple Project Area Support for ASP.NET MVC 2 RC
- MapAreaRoute Removed from ASP.NET MVC 2 RC
- Speed Links: ASP.NET MVC
- Microsoft Monday: August 17, 2009