Lyhr

Stories submitted 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

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

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

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

Doing BDD(morten.lyhr.dk)

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

Basically it a shift towards specifying behavior instead of testing behavior. The specification consists of 3 parts: 1: A namespace with called "Specs_for_subject" 2: One or more classes called "When_operation_on_state", with a SetUp/Init method that performs the "operation_on_state" 3: One or more methods called "Should_expectation" read more...

add a comment |category: |Views: 30

tags: another

NHibernates MemCached feature(morten.lyhr.dk)

submitted by LyhrLyhr(315) 4 years, 1 month ago

Make you database write only with NHibernate and MemCached. read more...

add a comment |category: |Views: 15

tags: another

NHibernates Search Feature(morten.lyhr.dk)

submitted by LyhrLyhr(315) 4 years, 2 months ago

Googlize your entities: NHibernate & Lucene.NET Integration - Example. read more...

add a comment |category: |Views: 3

tags: another

NHibernates SchemaUpdate feature (morten.lyhr.dk)

submitted by LyhrLyhr(315) 4 years, 2 months ago

Zero friction data access with NHibernate. read more...

add a comment |category: |Views: 5

tags: another

When to throw an Exception(morten.lyhr.dk)

submitted by LyhrLyhr(315) 4 years, 2 months ago

2 Golden rules of using Exceptions: - Fail Fast - Exceptions should be... well exceptional. These two rules are contradicting, or are they? read more...

add a comment |category: |Views: 5

tags: another