Jan Van Ryswyck talks about fluent domain methods for setting up complex aggregate roots and for implementing behavior on domain entities.
Alex James also shows how to work with fluent interfaces and how to use fluent interfaces with extension methods.
Jérémie Chassaing shows how Service Bus pattern can help in DDD with code reusability.
Ayende talks about decomposing an application into features as a way for separating different application functionality and to allow independent development.
Julie Lerman shows how in EF 4.0 the function mapping feature is improved as the conceptual space also gets the function allowing it to be called from the entity directly and not through EntityClient. She also points out a bug when using T4 template instead of EntityModelCodeGenerator for CustomTool mode. Another great article is about the major improvements in EF 4.0 for working with complex types.
The Entity Framework Design team talks about the Code Only enhancements that will be available in the next release.
Alex James how to use T4 templates for generating entities that have regular expressions applied to them. He also continues his tips series :
Tip 27 – How to Implement BeforeSave Validation
Tip 28 – How to implement an Eager Loading strategy
Tip 29 – How to avoid LazyLoad or Load() reader issues
Don Smith has an excellent about the usage of Model View ViewModel (MVVM) pattern and how to cleanly separate the View from the ViewModel in different scenarios including data bindings, animations, commands and parameters.
Sean Chambers has a great series about code refactoring.
Oleg Sych talks about the customization of the TFS Process Guidance with T4.
Visual Studio 2010
The 28th episode on Channe9 talks about the new historical debugger while the 29th episode talks about the workflow web services.
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.
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.
David Hayden announces the release of NHibernate 2.1. and NHibernate Linq 1.0.
PostSharp 1.5 is out!
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.
Udi Dahan has an excellent article in MSDN Magazine about the Domain Model Pattern and how domain events can greatly improve the general 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
- 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.
Oleg show how to use T4 in order to improve the model-driven approach for LINQ to SQL applications.
Danny Simmons shares two interesting material from TechEd: POCO and EntityFramework 4.0 features and his sample code showing some useful tips for creating n-tier applications with EntityFramework shipped with .NET 3.5 SP1.
The ADO.NET team has an excellent post about how POCO works in EF 4.0.
Alex James continues the tips on EF:
Visual Studio 2010
Daniel Moth has three new articles about parallel programming:
John Robbins has an excellent post about PDB files.
Scott Hanselman continues the posts about the new features of C# 4.0 talking about the dynamic keyword and embedded interop assemblies.
Rob Conery continues the Kona experiment approaching BDD.