Day to day good stuff I find regarding my work

Sunday, October 28, 2007

Domain driven design

Reading the book Applying Domain-Driven Design and Patterns by Jimmy Nilsson
and are gathering links and commens in this blogpost

Ben Scherman has a good article serie about doing a project using Domain-Driven Design and Nhibernate

10 tips about using Hibernate

Repostory
Repository, the Foundation of Domain Driven Design
Persistence Last
Evans model-to-work


Value Objects


LINQ
LINQ to SQL comment
Non-scalar Value Objects aka "Complex Types"

Wednesday, September 19, 2007

Coalesce



Coalesce goes C# « Only Talking Sense

... the null-coalescing operator in C# 2.0.

string name = (userName == null? “” : userName);



There’s nothing wrong with this code ....but the ternary operator ?
you can now write



string name = userName ?? “
”;



Powered by ScribeFire.

Sunday, July 15, 2007

Subversion

PDF http://svnbook.red-bean.com/nightly/en/svn-book.pdf

Subversion on Windows quick start


C:\mgns\Visual Studio 2005\Projects> svn import RegAdmin file:///c:/regadminrepos -m "Initial Import"

C:\mgns\Visual Studio 2005\Projects> svn checkout file:///C:\regadminrepos "file://C:\mgns\Visual Studio 2005\Projects\RegAdmin"