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.


Summary 16.07.2009

16/07/2009

Visual Studio 2010

The 27th episode – server-side data paging using ADO.NET Data Services is available on Channel 9.

Sharp

Billy McAfferty presents the S#arp architecture.

CLR

In CLR 4, the AssemblyResolve event will provide information about the parent assembly identity.

ASP.NET MVC

Scott Allen explains how to make resource files work for unit testing.

DDD

Greg Young explains why having an anemic domain model can be a pattern and not an anti-pattern. He also points to his presentation at QCon in San Fransisco last year.


Summary 15.07.2009

15/07/2009

C#

The CLR team shows how to get more information from an error using Marshal.GetLastWin32Error.

Eric Lippert explains what “raising”,”hoisting” and “lifting” and currying means. In the next version of C# (version 5 I guess), we might even have observable collections, where they push data as events do. He has a great code puzzle about static and instance methods and how name collision resolution works in different scenarios.

Visual Studio 2010

If you do not want to change the security for your older projects, the CLR team shows how to enable CAS compatibility mode for a project.

Kirill Osenkov shows how much fun you can have in the new Visual Studio 2010 editor.

LINQ

Rick Strahl explains how to use (local) transactions with LINQ to SQL.

ASP.NET MVC

David Hayden shows how to use the Enterprise Library Logging Application Block as a custom ActionFilter.

John Teague has an interesting tip showing how adding a specific id to <body> allows you to have specific CSS for different code.

Agile

Billy McAfferty has an excellent post about the lessons he learned in practice.

Ian Cooper has a great article showing why choosing agile will allow your project to fail in a better way.


Summary 14.07.2009

14/07/2009

C#

CoNatural announces that both their DAL and asynchronous framework have been published to CodePlex. They have also uploaded a Visual Studio plugin for migrating stored procedures as CoNatural commands.

Justin Etheredge has a nice post explaining why LINQ is not LINQ to SQL.

Simon Segal shows an approach to be used in resolving a types property name using strongly typed expressions.

Kirill Osenkov presents his Undo/Redo framework.

Visual Studio 2010

John Robbins shows how historical debugging and multithreaded debugging work.

Channel 9 host a new episode about creating extensible applications with MEF.

Architecture

Jimmy Bogard shows how he does MVC in his current project.

Chad Myers explains how Front Controller should be implemented in MVC.

Entity Framework 4.0

Julie Lerman talks about model-defined functions and why work with ObjectStateEntities instead of the objects directly.

Matthieu Mezil writes about POCO T4 templates.

Entity Framework

Alex James continues his series of tips showing how to avoid database queries using Stub Entities.

Matthieu Mezil show how to implement EF4.0 IObjectSet<T> methods in EF1.0.

ASP.NET AJAX 4.0

Jonathan Carter shows how the new Sys.Data.DataContext and Sys.Data.AdoNetDataContext classes can be used to consume server side data from a WCF/ASMX or ADO.NET Data Service and how the change tracking and data persistence functionality of DataContext works.

ASP.NET MVC

Maarten Balliauw shows how to implement application-wide action filters.

David Hayden shows the MvcContrib Grid and Pager helpers.

ASP.NET

Simone Ince shows how to detect a Server.Transfer call.


Summary 11.07.2009 – 12.07.2009

12/07/2009

ASP.NET

Thomas Marquardt has an excellent post about the correct use of System.Web.HttpResponse.Redirect.

ASP.NET MVC

Scott Hanselman has a great post about migrating an ASP.NET MVC 1.0 running on .NET 3.5 to Visual Studio 2010 Beta 1.

Entity Framework

Moses talks about integrating MySQL support through EF in Kigg.

Visual Studio 2010

3 new webcasts about Visual Studio 2010 are available on Channel 9:

Daniel Moth talks about the parallel stacks feature.

Silverlight

Silverlight 3 and Expression 3 are out there! Go and get it! More details from Somasegar, ScottGu and Nikhil Kothari.

Concurrency

Sebastian Burckhardt talks about Chess;s data race detection and ChessBoard on Channel 9.


Summary 03.07.2009 – 07.07.2009

07/07/2009

ASP.NET AJAX

Stephen presents the Lightweight Test Automation Framework which represents an effort to improve the quality of AJAX Control Toolkit.

Scott Hanselman has a very nice post about combining and moving ScriptResource.axd to static scripts. It’ll be great if the WebResource.axd scripts will also be put in a single file and even hosted on a CDN as Scott shows!

ASP.NET MVC

David Ebbo continues his experiments with T4 template. He shows the option of modifying the generated code directly using the Code Model API. He uploaded a first improved version and continued with another great release.

Scott does an excellent job in promoting David’s work on MVC T4 templates.

Enterprise Library

P&P Guidance announces that EL 5.0 will focus on IoC containers for configuration offering the possibility to use other containers such as NInject, Castle Windsor or AutoFac. Check also Grigori’s announcement about the completion of the refactoring.

Grigori shares his thoughts on improving the performance of Application Logging Block.

Go watch this great video on Channel 9 about the upcoming features in Enterprise Library 5.0.

DDD

Udi Dahan has two excellent posts about domain events and the creation of aggregate roots.

Visual Studio 2010

The Visual Web Developer Team has an end to end example for packaging a web application with its database with “Delete existing objects before creating” flag.

Entity Framework

The EF Design team shows how the model first approach works in EF 4.0.


Summary 11.06.2009 – 02.07.2009

02/07/2009

ASP.NET MVC

Eric Hexter writes about a framework of input builders (part 1, part 2, part 3 and part 4) which are expression based strongly typed input helpers.

David Ebbo has a great article about ASP.NET MVC T4 template doing generation at design time instead of runtime.

ASP.NET MVC for Visual Studio 2010 beta is available on Codeplex!

Design patterns

Jeremy Miller has an excellent article on MSDN Magazine about Unit of Work Pattern and Persistence Ignorance. He also has two posts on the same subject on his blog: More persistence patterns on MSDN and Persistence patterns: cascading updates.

Entity Framework 4.0

The ADO.NET Team has another great post about Change Tracking with POCO.

Danny Simmons points to two excellent posts about producing a POCO repository with the EF and LINQ Expression Trees and the Specification Pattern. Danny continues his D3 development showing some great features of EF4:

Debugging

Tess has an excellent post about debugging .NET 4.0 dumps in Visual Studio 2010. She also points out a nice post about the debugging features coming in Visual Studio 2010.

Visual Studio 2010

The Visual Web Developer Team shows the changes in the Publish dialog in a web application and the updates to FTP publishing. They also show how the user can set the database package options in web applications.

Daniel Moth shows the Method View feature of the Parallel Stacks window. He also published 2 screencasts about Parallel Tasks and Parallel Stacks on Channel 9.

Moq

Bertrand shows how to can mock indexer setters with Moq.

RIA

Vijay has a very nice article about unit testing business logic in RIA Services.

DDD

Yves has an excellent presentation about DDD that basically sums up his articles so far.

C# 4.0

Sam Ng keeps posting about the new features in C# 4.0 talking about COM interop.