Archive
Windows Phone 7: Hope has come
Finally the latest news about Windows Phone 7 is arrived and it seems that Microsoft has ultimately learned its lessons. Windows Phone 7 has a totally news concept regarding what we are used to have with the Windows Mobile editions. But the Windows Phone 7 concept is not only new for “Microsoftish” phones it is also totally new for all smart phone operating systems on the market (including iPhone).
Github: failed to push some refs
I’m heavily experimenting with git using github.com. Just in case you’ll ever receive the following error message:
failed to push some refs
Don’t panic as I did! Just need to make a pull request first because there might be changes that we need to pull in. Afterwards it is easy possible to push your changes to github.com. Have fun!
German .NET Magazin article published
Just a quick announcement. I wrote together with Alain Baumeler from bbv Software Services AG an article about hybrid application development targeting both .NET and .NET compact framework. The article is written in German and published in the .NET Magazin.
Here is the quick overview of the article:
Hybride Softwareentwicklung in .NET – Einführung in die Vorteile und Patterns der hybriden Softwareentwicklung für .NET Compact und .NET Framework
Mobile Geräte mit Windows Mobile sind trotz zunehmender Konkurrenz bei Businessapplikationen vielfach die erste Wahl. Dieser Artikel führt in die Thematik der hybriden Softwareentwicklung ein und zeigt deren Vorteile und etablierte Patterns anhand von Praxisbeispielen in .NET.
von Daniel Marbach und Alain Baumeler
For those who are interested in mobile application development and fluent in reading German language I really recommend our article! Buy the magazine
Thanks for your support.
http://it-republik.de/dotnet/dotnet-magazin-ausgaben/Parallel-Programming-000333.html
I’m also happy about feedback. Leave comments either by email or by posting your comment on planetgeek!
Moq suggestions: SetupSequentials
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 on a mock for each call. Let’s have an example!
The code part II: EventTester with expression trees
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 expression code which calls the if/then/else expression by passing in the parameter array which we built up with the GetParameterExpressionsFor method.
The code part I: EventTester with expression trees
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 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 achieved and how an event tester could simplify the process.
Thawte Personal Email Certificate discontinued
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 requirements has expanded greatly. The effort Thawte had been taking lately to adapt their services to these changes is now for Thawte to high to be taken. As a result Thawte Personal email certificates and the web of trust will be discontinued on November 16, 2009 and will no longer be available after that date.
Twitter account
Just a short notice. We have now our own twitter account available under http://twitter.com/planetgeekch. 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.


