Manually Rolling Back A WPF ClickOnce Application

If you need to revert to a previous ClickOnce version you are expected to redeploy that older version.

Recently I was in a situation where this wouldn’t work as there were checked in code changes that the environment was not ready for. Now I could have reverted to the previous version in TFS and then redeployed that. But luckily I found an easier way.

continue reading

WCF Error: Could Not Register URL

When hosting WCF services from Visual Studio you may, as I recently did, come across this error:

HTTP could not register URL http://localhost:12345/Service1.svc Your process does not have access rights to this namespace (see for details.

continue reading

Performance Penalty Of Recursive Calls

This recent post on The DailyWTF has brought in many comments with people providing code samples in many different languages. The post, Programming Praxis: Russian Peasant Multiplication, offers a simple coding challenge.

The challenge screams for recursion and many of the answers in the comments went this route. Of course, when we talk recursion we always have to qualify it as saying there is a performance penalty for using recursion.

Using this Russian Multiplication challenge as an example, I’ve done some testing to see how much the penalty is.

continue reading