Summary 17.07.2009

17/07/2009

Enterprise Library

Gregori Melnik announces that Unity’s ObjectBuilder 2 is gone!

LINQ

Rick Strahl shows how to handle timestamp fields on entities in disconnected scenarios that involve serializing XML serialization.

C#

Eric Lippert has an excellent series of post about the design considerations for iterator blocks:

T4

David Ebbo points out the difference between using T4 to generate support code and for one-time generation.

Advertisements

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 07.05.2009

07/05/2009

ASP.NET MVC

CoNatural continue their series on asynchronous search with ASP.NET MVC and JQuery.

Phil has an excellent article about another hidden gem of ASP.NET that allows us to mingle with the page parsing process: PageParseFilter.

Scott Allen show how to build a custom model binder and what are the different issues the arise in different implementations.

Maarten Balliauw adds to the previous list of best practices his very own.

David Hayden has a nice article about working with custom ControllerActionInvoker and overriding CreateActionResult() in order to return JSON results.

Visual Studio 2010

The WebDev Team just published a great article on how we can have a web.config file for each staging environment based on the new transformation features available in Visual Studio 2010.

Channel 9 has another webcast on functional UI testing.

CLR

For a deep dive into ThreadAbortException and how to make it stop using catch clause and Thread.ResetAbort(), go check the CLR Team’s post!

Eric Lippert has another great article that explains that value types being stored on the stack is just an optimization detail performed by the CLR.

C#

Eric Lippert explains how events are raised properly and what are the risks involved with using them inappropriately.

Architecture

Vittorio has another great article about claims and how they work.

Debugging

The Microsoft Support Team has a very cool article about debugging ASP.NET requests at runtime in IIS 6.0.

ASP.NET AJAX 4.0

Bertrand Le Roy has another great tip on how to use JQuery to instantiate Microsoft AJAX components.

Methodologies

The SRLTeam has a great post about bug management.

TDD

Simon Segal has a great post about mocking Entity Framework repositories with Moq.

Team Foundation Server

If you are looking for customizing different aspects of TFS, keep an eye on this blog as it very useful information. Currently they have a nice series of posts on work item customization.

Enterprise Library

Grigori Melnik has some greats news about EntLibContrib: a new release is available (based on the EL 3.1 core) and the future plans include upgrade to the core of EL 4.1.

kick it on DotNetKicks.com


Summary 24.04.2009 – 26.04.2009

26/04/2009

Visual Studio 2008

I remember looking for a way to start a single project in a solution having multiple projects. Now, the Web Developer Tips team has put a nice post about it.

Enterprise Library

David Hayden has a new screencast on Data Access Application Block.

Expression

Somasegar has a nice post on SketchFlow – a add on for Expression Blend 3. It seems to be a great tool for providing prototypes in the early stages of the project. You might also take a look at Balsamiq for creating great UI mockups in no time.

Entity Framework

Moses wrote a few days ago about his wish of having something like DataLoadOptions for ObjectContext. Stuart Little wrote today a very interesting post with a few extensions to ObjectQuery.Include to make it strongly typed. I think that it could be something that Moses can use for his approach.

Alex James continues his series of tips showing how we can use AttachTo() in combination with projections and avoid loading unnecessary properties.

ASP.NET

Scott Galloway has a nice post on how to build a ASP.NET control to combine and compress CSS files, reducing the number of requests and the traffic between the client and the server.

If you are looking for a DataReader – JSON converter, go check Rick Strahl post!

DDD

Yves continues his saga showing the importance of assertions for controlling the effects of commands.

NHibernate

Peter Bromberg has a nice overview on Fluent NHibernate automapping.

Luis Abreu takes a look to NHibernate Validator here and here while analyzing  S#arp framework.

ASP.NET MVC

After Oxite and Kobe, there is a lot of debate on the framework itself.

Karl Seguin asks whether ASP.NET MVC is half-baked or not. Jeffrey Palermo has a nice list of cases when ASP.NET MVC should NOT be used. Jeremy Miller has its own list of pros and cons for using ASP.NET MVC. Rob Conery has an excellent post on why we should learn MVC.

Scott Allen has a very interesting post on model binders.

C#

CoNatural continues the series on asynchronous programming showing how to search asynchronously with ASP.NET MVC and JQuery.

Design patterns

Greg and Ayende continue their debate on the repository pattern. Greg says that having a repository makes an explicit boundary around our domain. By simply having a contract of those boundaries we can adhere to the “onion architecture”. Ayende replies to Greg about the lack of explicit boundaries in cases such as transparent lazy loading. He also presents his concerns about the need of abstracting away the persistence without having a clear requirement in this direction.

I think that both of them have interpreted each other statements without having the other’s complete context and as Ayende says in his post, not having the complete context invalidates the entire argument.

Sharp

Luis Abreu talks about repositories in S#arp.

Architecture

Karl Seguin starts a very interesting series of posts showing how we can roll our own validation framework.

Ayende has a nice post about the differences between infrastructure and architecture.

kick it on DotNetKicks.com


Summary 20.04.2009

21/04/2009

DDD

Yves Goeleven continues his DDD saga explaining this time how to model less obvious concepts such as constraints and processes using the strategy and specification patterns.

Go and watch this interview with Eric Evans about the state of art in DDD!

Architecture

Udi Dahan wrote about event driven architecture using NServiceBus.

Ayende answers to Justin’s post saying the cost for implementing the abstraction of IQueryable to the upper layers could be bigger than the cost for fixing bugs that could arise from possible modifications of the query.

RIA

Nikhil wrote a great post on the View Model pattern with RIA Services. The first part of the article nicely presents how we can use the repository pattern, the DomainService and the DomainContext.

Team Foundation Server

Brian Harry has a nice post about the key concepts in Team Foundation Server 2010. Team Project Collections is something I wanted and needed for my projects.

ADO.NET Data Services

Gil Fink wrote about making cross domain calls for a data service using a proxy service.

Enterprise Library

Grigori Melnik announces the start of the development for Enterpise Library 5.0.

S#arp

Luis Abreu posted two more articles about validating objects and working with entities.

TDD

Gabriel Schenker will write a tutorial on Rhino Mocks. The first part of this tutorial introduces the two most used frameworks: Rhino Mocks and Moq.

ASP.NET AJAX 4.0

Politian continues the articles on ASP.NET AJAX 4.0 and ADO.NET Data Services writing about many to many relationships.

JavaScript

Rick Strahl wrote an excellent article on how to extend the JSON support for date objects.

NHibernate

Oren continues his talk about NHibernate mapping with <join/> and <any/>.

Oslo

Shawn Wildermuth presents how relationships are mapped in MSchema.

LINQ

Daniel Guard has two nice posts with LINQ tips. In part one, he covers eager loading, retrieving multiple entity types from a single stored procedure, intercepting CRUD operations. In part two, he shows how to control the TSQL, how to clone an entity and and to handle complex stored procedures.

ASP.NET MVC

Sankarsan has a nice tutorial about writing a layered ASP.NET MVC application with Entity Framework. In the first part, he presents the options for the O/R layer isolation. In the second part, he creates the repository. In the third part,  he creates the service layer. In the fourth part, he build the ASP.NET MVC application.