fquednau

Stories submitted by fquednau

Introducing MemBus: In-Memory Publish/Subscribe Messaging(realfiction.net)

submitted by fquednaufquednau(404) 1 year, 8 months ago

MemBus allows you to use the messaging paradigm while staying internal to your App. This post introduces MemBus and provides links to several posts about the framework. read more...

add a comment |category: |Views: 63

tags: another

Introducing the realfiction builder – MsBuild without XML(realfiction.net)

submitted by fquednaufquednau(404) 2 years, 2 months ago

Imagine writing MsBuild scripts: Without touching XML but rather using a simple syntax. If you like the idea, check out rfb. read more...

add a comment |category: |Views: 6

tags: another

NHibernate's ISession, scoped for a single WCF-call(realfiction.net)

submitted by fquednaufquednau(404) 3 years, 8 months ago

How to make a Session available to a WCF request without breaking a leg. read more...

add a comment |category: |Views: 161

tags: another

Spoiled with Dependency Injection(realfiction.net)

submitted by fquednaufquednau(404) 3 years, 8 months ago

This post could be interpreted as a starting point to get links and a few warm words to the choice of DI container available out there read more...

add a comment |category: |Views: 39

tags: another

Lazy instantiation one-liner with the coalesce operator(realfiction.net)

submitted by fquednaufquednau(404) 4 years ago

The one-liner for lazy instantiation of instance fields using the coalesce-operator read more...

2 comments |category: |Views: 344

tags: another

WPF + INotifyPropertyChanged Proxy = Epic Fail!(realfiction.net)

submitted by fquednaufquednau(404) 4 years ago

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 like the Castle's DynamicProxy2. Alas, it is not as pretty as it seems... read more...

add a comment |category: |Views: 141

tags: another

Is it alright to send messages to null references?(realfiction.net)

submitted by fquednaufquednau(404) 4 years ago

Several blog posts have come up on extension methods that have in common a check for null on the extension target. This now allows to call methods on null references. I would like to hear opinions if this is good or bad or a non-issue... read more...

add a comment |category: |Views: 5

tags: another

Spring.AOP, Castle.DynamicProxy2 - first glance from an outsider(realfiction.net)

submitted by fquednaufquednau(404) 4 years ago

A first look at the two "aspect oriented" frameworks and a rough indicator what it means performance-wise to use them. read more...

add a comment |category: |Views: 68

tags: another

Singletons are boring, hence factor out the concern (with a twist)(realfiction.net)

submitted by fquednaufquednau(404) 4 years ago

The umpteenth pattern to singletons...I know you've seen it by the gross ton. Anyway, I just wanted to add a twist with the implicit operator and here you find the result. read more...

add a comment |category: |Views: 3

tags: another

So, how expensive is it to let Castle Windsor / Spring.NET make my obj(realfiction.net)

submitted by fquednaufquednau(404) 4 years, 1 month ago

I was getting increasingly curious about the overhead of using a Dependency Injection-container to provide me with instances of my objects. With overhead I mean if and how much longer it takes for the DI container to provide me with the desired instance. read more...

add a comment |category: |Views: 43

tags: another

NDepend Cheat Sheet(realfiction.net)

submitted by fquednaufquednau(404) 4 years, 1 month ago

Far from complete, it's a version 1 cheat sheet which includes the metrics whose meaning I tend to forget. read more...

add a comment |category: |Views: 35

tags: another

Do function compositions like in Haskell with c# and .net 3.5(realfiction.net)

submitted by fquednaufquednau(404) 4 years, 8 months ago

Haskell has a simple operator to combine functions to form a new one: The dot. This is a very versatile tool to plug existing functionality together seamlessly . In C# we require some more work to have that, but with new possibilities a similar construction is quite doable. read more...

add a comment |category: |Views: 4

tags: another

I for one welcome my 'new' Split overload(realfiction.net)

submitted by fquednaufquednau(404) 4 years, 9 months ago

Hands up, who builds an ad-hoc char array when feeding string's Split method? It really is not necessary... read more...

1 comment |category: |Views: 0

tags: another

How much Haskell can I squeeze out of C#?(realfiction.net)

submitted by fquednaufquednau(404) 4 years, 10 months ago

Haskell is a purely functional programming language. C# owes quite a few things to such languages. This article describes what things are available to us in Haskell that may be desirable to have in C# and how one can get there. read more...

add a comment |category: |Views: 1

tags: another

C# 3.0 - Hair extensions for wanna-be rubyists(realfiction.net)

submitted by fquednaufquednau(404) 4 years, 10 months ago

Get some of ruby's sexyness by using C# 3.0's extension methods. read more...

2 comments |category: |Views: 10

tags: another

State design pattern, simplified?(realfiction.net)

submitted by fquednaufquednau(404) 4 years, 10 months ago

Some generics and some reflection to encapsulate the essentials of the state machine pattern in c# read more...

add a comment |category: |Views: 23

tags: another