Tuesday, November 5, 2013

Getting Web Services to Work on IIS 7

After switching to a new server, my Web Services did not work.  It did not recognize the .svc extension.

This page has a log of info on fixing the problem:


Running this command from a command prompt fixed my problem:

"%WINDIR%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r

Thursday, January 24, 2013

Capitalize the First Letter of each Word in a String

There is a built in .NET method to capitalize the first letter of each word in a string:

newStr = Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(str)

This is easier than writing the function to do it.

I found this at: