Summary 18.07.2009 – 04.08.2009

04/08/2009

Visual Studio 2010

The 28th episode on Channe9 talks about the new historical debugger while the 29th episode talks about the workflow web services.

C#

David Ebbo shows how to use the buddy class mechanism (associated metadata class) that we have in Dynamic Data applications with TypeDescriptor.

He also shows a C# compiler method overload problem that we might end up with when putting methods in global namespace and having a more generic method in a namespace declared using statements inside another namespace.

ASP.NET MVC

David Ebbo released the 2.4 version of his cool T4MVC. Among the changes in this release:

  • separate settings file called T4MVC.settings.t4 that gets included by the main file
  • support for views in subfolders
  • support for [ActionName] attributes
  • new parameter-less overload for all actions
  • support for placing T4MVC.tt below the application root

ASP.NET MVC 2 Preview 1 is out there! Phil Haacked, ScottGu and Scott Hanselman have all the details. Phil also has a separate article about the new Areas feature.

Rick Strahl shows how to embed resources inside a View using both reflection and Page object.

NHibernate

David Hayden announces the release of NHibernate 2.1. and NHibernate Linq 1.0.

PostSharp

PostSharp 1.5 is out!

ASP.NET

Simone Ince has an excellent post about monitoring the ASP.NET caching API behaviour.

If you are familiar to the way Dynamic Data template fields work, you might also find useful FormFields.NET.

DDD

Udi Dahan has an excellent article in MSDN Magazine about the Domain Model Pattern and how domain events can greatly improve the general architecture.

Architecture

Karl Seguin has an update to his excellent free ebook Foundations of Programming. He shows how to build better software explaining concepts like:

  • Domain Driven Design
  • Persistence
  • Dependency Injection
  • Unit Testing
  • Object Relational Mappers
  • Working with the Memory
  • How to work with Exceptions

Don Smith talks about a new guidance project for Data Access. I think that providing guidance for this area will be very helpful.