Summary 12.08.2009 – 14.08.2009

14/08/2009

Architecture

Ayende has (yet) another really enlightening post about the issues with the classic three layers (tiers) applications.

DDD

Jonathan Oliver has another great post about storage of events.

C#

Eric Lippert has a very nice post clearing some of the doubts people might have around precedence operator and order of operations.

ASP.NET MVC

Joe Stagner points out a DotNetSlackers project that aims to clone StackOverflow.com. In the process they will use: CruiseControl.Net, NAnt, NUnit, RhinoMocks, NDepend, NCover, NDoc, ASP.NET MVC 2.0, LINQ to SQL, StructureMap, AutoMapper, Elmah, Velocity, MemCached. Keep an eye on what promises to be a very cool open source project!

Entity Framework

Alex James published two more tips:

Julie Lerman has a very nice article about table splitting as the opposite of entity splitting.

TDD

Daniel Cazzulino shows how the power of LINQ is integrated in the next version of Moq.

Shout it

kick it on DotNetKicks.com


Summary 10.05.2009 – 20.05.2009

17/05/2009

Architecture

Justin Etheredge shares his thoughts about exceptions handling in .NET.

Dino Esposito has a very interesting post about the differences between testability and testing.

ASP.NET

Scott Mitchell has a very nice article about using the new routing module in .NET 3.5 SP1 without ASP.NET MVC.

ASP.NET AJAX

A new version of AJAX Control Toolkit is available. It contains three new controls (HTMLEditor, ComboBox and ColorPicket), HTMLEditor being one of the controls I have been waiting for a long time.

C#

Eric Lippert shows what is the semantic difference between null and empty. He also explains why we don’t have the ForEach sequence operator extension method.

Entity Framework

The ADO.NET Team continues the Sneak Preview series. Please find below the complete list of posts:

Moses has a very interesting post about his implementation for Entity Framework 1.0 of a eager loading mechanism similar to DataLoadOptions in LINQ directly to ObjectContext versus the default ObjectQuery<T>.Include(string) mechanism.

JavaScript

Betrand Le Roy has a nice post about the use of setInterval versus the use of setTimeout.

Visual Studio 2010

Jason Zender has a great post with all the details about the release of Visual Studio 2010 Beta 1 and .NET Framework 4.0 Beta 1.

RIA

Nikhil shows how ViewModel pattern plays along with RIA Services in scenarios involving testability, server mocking and dependencies.


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 27.04.2009

27/04/2009

Sharp

Luis presents how the duplicate entity validator works and what is inside the SharpArch.Web namespace.

DDD

Jonathan Oliver joins the debate Greg and Ayende had over the past few days, sharing his ideas on the repository pattern. Jonathan’s concerns summarize some of the most frequently asked questions around repositories:

  1. How do we best query the repository to find the particular aggregates that we care about?
  2. How do we handle UI concerns such as paging within the repository?
  3. Does the repository even care about UI concerns?
  4. How do we display domain objects to the UI (this is only slightly related to the repository pattern).
  5. How do we modify our domain objects to support lazy loading?

ASP.NET MVC

Keyvan Nayyeri, one of the authors of Beginning ASP.NET MVC 1.0, writes about IRouteHandler.

The storm continues as Chad Meyer presents his opinion on MVC vs. WebForms. While Chad puts the two technologies head to head, go and watch this video where ASP.NET MVC and WebForms are combined. Simone Chiaretta, the other author of Beginning ASP.NET MVC 1.0, shares his thoughts on when and why ASP.NET MVC should be adopted.

ASP.NET

Scott Mitchell announces that another four hosting tutorials are now available on www.asp.net. These tutorials follow the first six tutorials on hosting.

Windows 7

The RC release will be out this week and the Public Sector Developer Team published a few useful links with the changes from the beta.

Visual Studio 2008

Rick Strahl gives another great tip on how to create template projects.

Internet Explorer 8

Check-out this interesting video on box sizing and vertical text. John Hrvatin, the Lead Program Manager on IE Team, has some great tips on how to improve the application performance with IE8.

TDD

Karl Seguin writes about the 7 phases of unit testing. Where are you?

ASP.NET 4.0

Remember Control Adapters? Adapter Groups were supposed to be included in ASP.NET 4.0 but Scott Galloway announces that they will be out in the next beta.

Agile development

Nick Malik has a great article on agile development and agile architecture and what are the required changes from the classic waterfall and BDUF approach in order to improve the delivery.

Architecture

Karl Seguin continues his tutorial on building a validation framework showing how client-side validation can be done.

C#

Eric Lippert as usual has a great post explaining what is wrong when value types are by definition as variables allocated on the stack.

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.


Summary 17.04.2009 – 19.04.2009

21/04/2009

Visual Studio

Another great podcast on Windows Workflow 4 is available on Channel 9.

Design patterns

Oren has posted a very nice article on the repository pattern which is used as a singleton in many cases due to lack of understanding. Oren advocates for using directly NHibernate instead of using the additional repository pattern. The problem in question here is the fact that the repository contains methods such as FindXXX which according to DDD principles should belong to query objects and that repositories should deal only with domain state changes. Udi Dahan wrote an article on whether to use query objects or methods in the repository two years ago. Very often the repository is used for achieving persistence ignorance in a DAO fashion. In DDD, the repository has the precise role of maintaining the integrity of aggregate roots.

Following his above mentioned post, Oren wrote another one explaining how mocking NHibernate can be achieved when taking the above mentioned approach where repositories aren’t used.

Justin Etheredge replies to Oren’s approach which uses the Query Object pattern considering that allowing an IQueryable<> from the repository would allow the upper layers not only to do presentation concerns actions such as paging and sorting but also modifying the query itself.

Architecture

I think that Oren’s posts on the fact that the DAL goes all the way to UI, coins the exact problem with the classical three layers applications that we encounter very often.

ASP.NET MVC

Kobe tries to be the starter kit from Microsoft for building ASP.NET MVC applications. So far, it has failed. Go and check my previous post to get all the details. Oren has also a response to Phil which leads him to the same conclusion as the one from by previous post:

Stop shipping official guidance package without involvement from the community.

Application Lifecycle Management

David Chappell announces a series of posts on Application Lifecycle Management without having the focus on Microsoft’s products an technologies.

NHibernate

Oren Eini has another posts on named queries and one-to-one mapping.

Peter Bromberg wrote a nice article on Fluent NHibernate automapping.

Gabriel Schenker has published his second article on Fluent NHibernate. He also has a nice article on 2nd level cache and multiple databases.

Velocity

If you are starting with Velocity, you might want to check Andrea Colaci’s overview.

The Velocity team gives a short explanation on regions and high availability and a tip on how client performance can be increased.

Azure

Rob Bagby posted the third part of his tutorial on building a Azure shopping cart.

TDD

Brad Wilson has a very interesting post where he chooses Design by Example instead of TDD.

Internet Explorer 8

The JScript blog wrote on how JScript versioning works in IE 8.

RIA Services

Fredrik Normen has two interesting posts on RIA having in mind Silverlight.

MS Deploy

The RC1 release of MS Deploy is available.

Sharp

After finishing his ASP.NET MVC series, Luis Abreu started to talk about the S#arp framework. The first two posts present the BaseObject class and value objects.

Entity Framework

Simone Ince has an interesting series on auditing presenting the types of auditing and how data auditing works with Entity Framework and the auditing implementation.


Follow

Get every new post delivered to your Inbox.