Monthly Archives: October 2009

StopWatch

http://www.switchonthecode.com/tutorials/csharp-snippet-tutorial-performance-timers Every once in a while, there comes a time when some chunk of code that you have written isn’t performing quite as well as you think it should. And when that time comes, you need to have a way … Continue reading

Posted in Software Development | Leave a comment

ASP.NET: How to get the current root URL

http://weblogs.asp.net/soever/archive/2006/07/03/Get-the-url-to-the-virtual-root-for-the-current-request.aspx#455413 string baseUrl = Request.Url.GetLeftPart(UriPartial.Authority);

Posted in Uncategorized | Leave a comment