Nach Ordnungsbegriffen durchsuchen

Ugly integration test…what can I do better?
This test was driving me somewhat crazy... //TODO: A lot of setup noise here. Will we do similar tests again?! var threadId = -2; var threadIdFromTest = -1; IBus bus = null; var resetEvent = new ManualResetEvent(false); var uiThread = new Thread( () ...
Resharper 5.0 Outgoing calls analysis: Example from NHibernate
The following is a screenshot when you start off from NHibernate’s default OnLoad listener (called e.g. when you say session.Load<Cat>(23) ). I’ve cut out other outgoing calls to show you the level of abstraction between loading an Entity and hitting...
respond_to, REST and WCF binding configuration
some new content over at my site: “respond_to” in .NET : In .NET, dynamic can make your reflection jobs easier. My MemBus project uses a more enhanced version of the code presented here that mitigates the penalty of reflection on subsequent calls of checking...
Posted 30 Juli 2010 12:00 von Frank Quednau | mit no comments
Abgelegt unter: , , ,
Do you think your Windows.Forms Application has no memory leaks?
If you do, please read my latest article here: http://realfiction.net/go/169 . If you don’t it may still contain useful information.
A HTTP file server in 130 lines of code…
...of which 20 deal with mapping file extensions to MIME types. Over here at my main site: http://realfiction.net/go/166
Rf.Sites source code available
It is my aim to have this site running on .NET code by the time I can leave my current hosting contract (end of February 2010). After some time I decided to have my own small platform to support just the features I need on my site for mainly two reasons...
ASP.NET MVC: class / action, not method / action
While pushing along my little home-brew CMS, Rf.Sites, which uses ASP.NET MVC for the HTTP Cruft that comes with Web development, there was something that was disturbing me. The train of thought was roughly as follows: read more
How can I get rid of this goto?
Help! It's late and I don't see a good way to get rid of this goto construct: private void advanceTheTimeCursor( Func<DateTime> nextTime, Action uponSuccessfulAdvancement) { loop: var t = nextTime(); if (t > reference) return; uponSuccessfulAdvancement...
Repository or DAO?: Repository
Fine, fine, the title is a blatant copy from Fabio Maulo 's equally titled blog post . Then again, this was the direct inspiration for understanding how the data access should look like in the mini-Blog engine I am cooking up. I decided to implement...
Intermezzo: XSL 2.0 on .NET
I was up to updating some old stuff that I had previously written in JAVA to the .NET world. It has been a while since I worked with JAVA - I had forgotten that the XSL I once built used version 2.0 features. To my dismay .NET 3.5 allows you to control...
Fashion of the week - Building with Rake
Here & There I have been seeing people using Ruby's build system rake in their .NET open source projects instead of NAnt or MSBuild. I don't really feel like commenting this fact here, but it is slightly annoying that people expect us to know...
Comfortable command line argument parsing
Once in a while you may want to write a command line tool which may have to accept commad line arguments. In comes a nice little bit of source code that is part of the great output of the Mono project. Documentation is available here and the source code...
cycling through a number range
What I really wanted to do was to play a round of quakelive. But right now, quakelive is down (well, it's Beta, isn't it?). Quakelive pointed me to their twitter feed . read more
Another beacon in a sea of expressions
A prosaic introduction to the subject of .NET expressions. These were introduced with .NET 3.5 and are featured most prominently in LINQ. Over here I implemented a use case with the aid of expressions. In my current project I am using expressions to be...
Iterators do [1..]
The following picture probably doesn't surprise you But as you can see in what is commented out, you can indeed e.g. do DataSource. Take ( 10 ) . ToList Such an iterator then has quite a similarity to Haskell's [1..], the infinite list...
Mehr Beiträge Nächste Seite »