Microsoft's "New" Technologies

Microsoft's new technologies of ASP.NET MVC, T4, and MEF are taking development to the next level.

April 24th, 2009 at 6:00am — Comments: (1) — By: Jonathan Danylko — Tags: .NET

Lately, I've been diving heavily into ASP.NET MVC and jQuery. I really like them! No, I mean I really like them!

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

No, I'm not talking about the upcoming Terminator: Salvation movie or the TV series, but the Text Template Transformation Toolkit.

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?").

Elmah (Error Logging Modules and Handlers) is an assembly that you place inside your bin folder and modify your web.config and Bam!... you're done! Instant Error Handling (on a stiick!)

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.

Picture of Jonathan Danylko
  • Jonathan Danylko Twitter Account LinkedIn Account Facebook Account

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."

Related Posts

1 Comments

  1. amin
    January 10th, 2012 at 8:24am
    thanks

Post a comment