Browse by Tags
All Tags »
Development (
RSS)
This blogpost is part of a series Template Method Pattern explanation Template Method Pattern example Template Method Pattern advanced So we’ve looked at the Template Method Pattern with an implementation as really simple example, and another real world...
This blogpost is part of a series Template Method Pattern explanation Template Method Pattern example Template Method Pattern advanced So in my previous post I explained how I change the template method pattern a bit with protected abstract methods. In...
This blogpost is part of a series Template Method Pattern explanation Template Method Pattern example Template Method Pattern advanced I’ve recently read a post about someone who hated the Template Method Pattern, because its intent wasn’t revealed. When...
How do I test a method that returns void? For example a method like this. public void Process(int leadId) { decimal price = _calculator.CalculateNormalLead(leadId); Lead lead = new Lead(leadId, price); _leadRepository.Save(lead); } How to test what the...
I’ve written about transactions, the TransactionScope in .NET before. System.Transactions : An introduction System.Transactions : Unit Testing System.Transactions : Promotable Enlistment System.Transactions still not working System.Transactions : Read...
When starting to dig into nServiceBus, you’ll notice almost every single example is executed via the NServiceBus.Host.exe instead of doing it in-process. In my opinion this might be more likely on the receiving side (the subscriber) that just does some...
I’ve written some tutorials in the past to help people with manually updating their ClickOnce deployed applications. Manual check for updates with ClickOnce Turn off automatic updates with ClickOnce ClickOnce automated build and pfx file Creating ClickOnce...
Just subscribed to the next Devnology meeting. This one will be an expert meeting. Normally Devnology is all about communication and sharing experiences and knowledge, but this evening Rob Vens will be speaking about Re-inventing programming. At the end...
Now this got me puzzled today for some time. I started up Visual Studio 2008 and opened a solution I had been working on for some time. But when trying to debug the application, it threw an error on Unity and the SerivceLocator trying to get an instance...
I got sick of manually attaching to the webserver (either aspnet_wp.exe on WinXP or w3wp.exe on Win2003 or later). You can have a macro for that, incl. a shortcut key. I got this from somewhere on the web, but forgot where. If I find out, I’ll of course...
I love ClickOnce, automated builds and a lot more Microsoft stuff. Unfortunately not for everything there is a simple solution. I ran into a new problem today. I was playing around with certificates, signed manifests and all of this in an automated build...
Thursday September the 4th I gave a presentation for DotNed about Velocity, the framework to enable distributed cache on the Windows platform. It was a fun evening for me with lots of great questions from the audience. You can download the slides from...
There’s an article up at eweek about Oslo , the new initiative by Microsoft in create the tools and a language that’s more accessible to more people than just official developers. You’re supposed to create data and models to build an application, something...
For a customer I’m looking for a PDF library to create thousands of PDF document. I’ve tried two open source libraries, but didn’t quite like them. I’m not sure if it’s me, the library or just PDF because they didn’t feel right. So I tried two commercial...
A little snippet that I use from time to time when I need information on how long something takes. Type ‘sw’ (without the quotes) and tab-tab . Installation is easy, just create a file called “sw.snippet” in your %Documents%\Visual Studio 2008\Code Snippets...
More Posts
Next page »