Lyhr

Stories kicked by Lyhr

What Goes In Must Come Out(morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 8 months ago

In essence all computer systems are about I/O, data is send against the system and data is sent back. Splitting logic into Business rules and ETL. read more...

add a comment |category: |Views: 7

tags: another

How to create fully encapsulated and simple Domain Models(morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 8 months ago

Udi wrote about this topic, but I never really liked the solution. To me it seemed complex and over architected, even the solutions from the commenter's where surprisingly complex (No disrespect for Udi or any of the commenter's intended). My solution looks like this. read more...

add a comment |category: |Views: 20

tags: another

Lists: Filter, Map and Reduce - and the Magic of IEnumerator.(honestillusion.com)

submitted by JamesCurran2JamesCurran2(134) 3 years, 9 months ago

There are 3 very handy list functions which make dealing with lists a breeze: Map, Filter and Reduce. But along the way of writing them, an important principle of IEnumerator<> comes up. read more...

add a comment |category: |Views: 63

tags: another

Error creating window handle(morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 9 months ago

I have been chasing a bug in a VB.NET Windows Forms application today. The error log was filled with Win32Exception Error creating window handle. Digging in the usage log I loacted the following code. read more...

add a comment |category: |Views: 36

tags: another

Delegates - Late Bound VS Expression(morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 9 months ago

With the new Expressions .NET 3.5, is there any reason to use a late bound delegate? Lets put it to the test. read more...

add a comment |category: |Views: 18

tags: another

Onion Architecture in Praxis (morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 9 months ago

Jeffrey Palermo has coined the pattern onion architecture, so what is it? Actually it is "just" my default architecture, and has been for some time now. The ideas behind are not new, and it is related to other principles and patterns. Never the less I really like having a name for it, so we have a common understanding of it. read more...

add a comment |category: |Views: 28

tags: another

Visual Studio Theme Generator(frickinsweet.com)

submitted by dengar007dengar007(3084) 3 years, 9 months ago

A fun little ASP.NET MVC Application I wrote to generate Visual Studio themes based off of 3 given colors. I have always felt that selecting every color to make a decent theme is way too repetitive. This web application automatically chooses complements / contrasts based off your initial color selections (and uses jQuery to let you preview your theme before creating). Check it out and let me know what you think. read more...

2 comments |category: |Views: 548

tags: another

fluent-nhibernate for creating entity mapping files(zachariahyoung.com)

submitted by zpyoungzpyoung(595) 3 years, 9 months ago

fluent-nhibernate is an API that creates nhibernate entity mapping files. This will prevent you from having to create the XML mapping files and provides testability. This API was part of the Shade Tree code base written by Jeremy Miller. read more...

add a comment |category: |Views: 26

tags: another

Four Ways to Test Expected Exceptions(nunit.com)

submitted by terrbleterrble(1665) 3 years, 9 months ago

For new applications, I recommend you set aside ExpectedException and use either Assert.Throws or Throws.Exception. That way, what you are testing is clearly stated right in the code, for everyone to see. read more...

add a comment |category: |Views: 9

tags: another

Learning by Sample: Monorail and AspView (morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 10 months ago

I really like the AspView View engine for Monorail, not that the other view engines are bad - but... Intellisense and a familiar syntax just does it for me, however the documentation is lacking behind. So I have converted the monorail getting started sample application to use aspview. read more...

add a comment |category: |Views: 18

tags: another

Hammett is joining the MEF team at Microsoft(hammett.castleproject.org)

submitted by simonechsimonech(10.1k) 3 years, 10 months ago

Hamilton Verissimo, aka Hammett is joining MS as PM inside the MEF (Managed Extensibility Framework) team, but will keep on working on Castle. read more...

add a comment |category: |Views: 196

tags: another

The Seductive Visual Designer (morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 10 months ago

Is the Visual Designer the best tool in the toolbox, for every GUI task? read more...

add a comment |category: |Views: 21

tags: another

Visual Studio #regions are a code smell (morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 10 months ago

Offers the why's and hows... read more...

add a comment |category: |Views: 31

tags: another

Creating an Active Directory Authentication Service (morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 10 months ago

This should be as easy as a one liner, and guess what - it is :-) read more...

add a comment |category: |Views: 55

tags: another

Doing BDD, with Rhino Mocks AAA syntax (morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 10 months ago

Ayende proposed a new AAA syntax in Rhino Mocks. I was wondering how it mixed with BDD. read more...

add a comment |category: |Views: 241

tags: another

Doing BDD, when expecting an exception (morten.lyhr.dk)

submitted by LyhrLyhr(315) 3 years, 10 months ago

I really like the look of my tests specifications, they read almost like plain English. After fumbling around for a while, I finally get how to specify an expected exception. read more...

add a comment |category: |Views: 21

tags: another