Nach Ordnungsbegriffen durchsuchen

Don't be afraid of your csproj-Files (III): We have a condition
16 August 08 10:22 | realfiction - TrivadisContent
Project references Consider the following situation: You want to test an application that uses plugins. The dependencies look as such: read more
Don't be afraid of your csproj-Files (II): Add Your own Targets
02 August 08 12:03 | realfiction - TrivadisContent
In my first post on csproj-fun I had an example where after every build, the resulting assemblies lying in e.g. bin/debug would be merged into one and copied out to some other place. Maybe you do not want this every time yoyu rebuild your project, but...
Don't be afraid of your csproj-Files (I): Embracing the idea
31 Juli 08 12:05 | realfiction - TrivadisContent
Intro Blimey, what a shock when MSBuild became available. NAnt was alive & kicking, hence the question emerged...WHY? read more
So, how expensive is it to let NInject make my object?
25 Juni 08 03:11 | realfiction - TrivadisContent
Back here I made a quick and dirty performance comparison. In the comments I actually got some "flak" scrutinizing some of the "design decisions" behind the example shown. I would like to reinstate that the example was made purely...
WPF + INotifyPropertyChanged Proxy = success!
16 Juni 08 04:04 | realfiction - TrivadisContent
Remember the Epic fail that was building a simple class and a proxy on top to save on doing the PropertyChanged-mechanics? It now works in WPF, too, which, I hope you'll agree, is pretty cool. After some research I found in the Discussion Forum of...
Some more on the implicit operator
22 Mai 08 09:59 | realfiction - TrivadisContent
Elaborating on my past post on the implicit operator in C#, here some additional information to round this thing up. Can you inherit the implicit operator(s)? No, you cannot. Within a type you could write as many implicit operator implementations as you...
Abgelegt unter: , ,
A simple way to start your code in a different AppDomain
20 Mai 08 06:50 | realfiction - TrivadisContent
You may know that AppDomains in the .Net Framework are comparable to processes in that they provide an isolated execution context for the instructions executed by the CLR. However, they are also quite lightweight and what is more, you can have more than...
Lazy instantiation one-liner of instance fields with the coalesce operator
13 Mai 08 02:00 | realfiction - TrivadisContent
It is hardly worth blogging, but... Did you know that the return value of an assignment is the assignment? i.e. class Person { public string Name; } ... Person p; Console.WriteLine((p = new Person()).Name); And did you know there is a coalesce operator...
Abgelegt unter: , ,
WPF + INotifyPropertyChanged Proxy = Epic Fail!
08 Mai 08 10:48 | realfiction - TrivadisContent
It seemed a straightforward thing to do. Sending property changed events when a property is changed is repetitive boilerplate code that can be factored out into an aspect of your system's behaviour. This can be done with a proxy generator library...
Is it alright to send messages to null references?
04 Mai 08 09:01 | realfiction - TrivadisContent
This is a non-question, you may say, and even at the end of this post you will notice that it is still true that you cannot call anything on a null reference. But let me explain... Foundation for this post are the following blog entries... read more
Spring.AOP, Castle.DynamicProxy2 - first glance from an outsider
30 April 08 10:24 | realfiction - TrivadisContent
The other day I got a presentation on Spring.NET and that it brings along quite a bit of aspect oriented Zen. Frankly, I do not know much about Spring.NET. I did a very quick look at performance comparison with respect to object instantiation between...
Singletons are boring, hence factor out the concern
29 April 08 04:16 | realfiction - TrivadisContent
dotnetkicks has an astonishing amount of entries related to "The Singleton"® ... read more
NDepend Cheat Sheet
03 April 08 01:51 | realfiction - TrivadisContent
Some of you have heard of NDepend. The tool comes loaded with metrics that can be checked from fields up to namespaces and assemblies with the aid of Code Query Language (CQL) statements. Some of those metrics did not want to enter my head easily, which...
Someone closes your console, stopping you from doing any cleanup?
31 März 08 06:19 | realfiction - TrivadisContent
Fair enough, production code is unlikely to be running in a cute .NET Console App, but maybe you come into a situation where you at least want to prevent somebody from closing your console window without going through your lovely cleanup routines. This...
Abgelegt unter: ,
Javascript FTW or what's "this" anyway?
30 Januar 08 09:48 | realfiction - TrivadisContent
It has been itching for a while now. I may love .NET, but every once in a while I need to escape into something else. Primordial soups of programming, dynamic chaos...well, ok, I am exaggerating, I wasn't doing unlambda , just javascript. Arguably...
Mehr Beiträge Nächste Seite »