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 http://go.microsoft.com/fwlink/?LinkId=70353 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

Use VB's Powerful Format Function Trhrough ASP

This article originally appeared on 4GuysFromRolla.com at www.4guysfromrolla.com/webtech/051601-1.shtml.

When creating ASP pages you can choose to use a number of scripting languages, such as VBScript, JScript, PerlScript, and even Python. While this may seem all fine and good, realize that VBScript, the most popular server-side scripting languages, is a watered-down version of VisualBasic. Think of VBScript as VB-Lite - certain things are missing.

continue reading