AuthorDaniel Marbach

Moq suggestions: SetupSequentials

M

I must say I’m really a huge fan of Moq. Moq is steady growing and the developer community is quite impressive in inventing new features and extensions. I recently ran over a nice feature suggestion placed in a private branch from moq. The branch belongs to Brian J. Cardiff. I suggest you check also his blog out! The feature brain suggested is an extension method which allows to do sequential setups. The sequential setup allows to specify in a fluent way for example different return types...

The code part II: EventTester with expression trees

T

The first post of this series gave a quick overview over the event tester usage, the last post gave a deep dive into some part of the event tester code. When talking about line numbers or certain code expression I’m always referring to the code provided in the last post. When talking about the expression tree construction in the last post the last thing we got into was the build up of the if/then/else expression. After building up the if/then/else expression we need to build the...

The code part I: EventTester with expression trees

T

In my last post I gave a quick overview over the event tester usage and how you could benefit from such a component. In this post I want to show you the source code of my event tester implementation and give you a short dive into the expression tree magic that is happening behind the scenes. This time I show you first not only portions of the code but the whole code in advance annotated with line numbers. My explanations will point to line numbers in the code below.

Introduction: EventTester with expression trees

I

I always wanted to get my hands dirty with a little expression tree magic but never had the time to do so. When test driving code of a component you are currently working on you might feel in the middle of the “Do a little change, let it fail, make it green” process that your component needs an event which is publicly visible and can be subscribed by clients. But how would you test that the event is fired on your component’s interface? I’ll show you how this is normally...

Thawte Personal Email Certificate discontinued

T

Since the year 2004 I’m a member of the Web of Trust from Thawte and have been giving trust points to a number of people. To spread the web of trust we did also signing parties at some universities and schools. This era has come to an end! Thawte decided to discontinue the personal e-mail certificate and the web of trust services. Thawte recently published that security compliance requirements have become more restrictive, while the technology infrastructure necessary to meet these...

Twitter account

T

Just a short notice. We have now our own twitter account available under . On this twitter account you’ll receive the latest updates when new posts are published on planetgeek.ch. Hope we’ll have you soon as one of our followers.

Windows Mobile 6.5 officially released

W

Today is the official release day of Windows Mobile 6.5. The new release of Windows Mobile 6.5 is claimed to be much smoother in terms of finger friendly navigation in all parts of the operating system including the today screen and windows explorer but also in terms of stability and performance. The famous iPhone lock and unlock slider is now available on Windows Mobile 6.5 (why reinventing the wheel ;)? ). The internet explorer 6 is integrated into the operating system and offers flash...

MaXSoftProjects Windows Mobile Articles and Freeware

M

September 15th, 2009 at 14:16, Max Hi, I’e like to introduce my new site dedicate to windows mobile develop. The url is You will find several program and several c# source code. I’hope to recieve your feedback. Regards, Max for Maxsoftprojects.com We recently received the “Ask a geek” input showed above from one of our blog readers. Actually it’s not an ask a geek question but we decided to honor Max’s effort nonetheless and show our readers Max’s...

CodePlex Foundation

C

Have you ever been thinking in one of your commercial projects of how one particular open source tool or frameworks could solve a lot of your problems but there were to many uncertainties in terms of licensing, compliance to your customers needs and law impediments etc.? I think you have. Must people now tend to say go for Apache 2 license and you won’t have to worry to much because you have almost any rights to change and adapt the provided code (naively speaking). Recently the CodePlex...

Monitor.Enter, Thread aborts and orphaned locks

M

Back from holiday from an intense ten days of biking and partying on Mallorca Port Sollér and Cala Ratjada I found this exiting article about the problem of Monitor.Enter when the entering thread is aborted at the “wrong” position in the code. I think it’s worth reading the article because developers should be aware about this. Joe Duffy’s Weblog – Monitor.Enter, thread aborts, and orphaned locks and “The moth’s” interesting hint about the new forthcoming API changes in .NET 4.0...

Recent Posts