Browse by Tags

All Tags » English Postings » .NET 2.0 / Whidbey (RSS)
When writing more complex code you cannot really step through during debugging, it´s helpful to put stud it with statements tracing the execution flow. The .NET Framework provides for this purpose the System.Diagnostics namespace. But whenever I just...
Martin Fowler in his famous article "Inversion of Control Containers and the Dependency Injection pattern" has compiled a number of ways how to dynamically bind a client to a service. I now would like to add two points to the discussion: firstly...
In my previous posting I presented a way to avoid unnecessarily copying data during read/write of binary files by using low level C CTR file functions like fread() instead of System.IO . This works just fine - but requires you to link in an unmanaged...
According to the German .NET developer magazine dotnetpro , Microsoft has shown a prototype of its new CSCop refactoring tool at CeBit 2005 ( read full article here (in German)). CSCop stands for Code Smell Cop and is developed by Microsoft Research....
ObjectSpaces needs three XML documents to completly define the mapping between persistent classes and SQL Server databases. However, keeping these mapping files separate from the application code has the drawback, that mapping info and code/class definitions...
Posted by ralfw | with no comments
I know, by asking the question in the subject line, some will view me as a haeretic or as naive or something else. But still, I cannot shed the feeling, that striving for this orthogonality - as Microsoft ObjectSpaces (OS) does - could be harmful. (For...
When I started playing with Whidbey´s ADO.NET ObjectSpaces object persistence technology (see [1] for an introductory article) I immediately ran into two nasty problems costing me a long time to solve: 1. Trying to avoid problems I started with a...
More Posts