Yesterday while performing some maintenance on our internal Gemini website I ran into an error where the default.aspx page would redirect to the main.aspx page and then the main.aspx page would …
Namespace Aliasing – The using directive
You can easliy alias a namespace in .NET by doing the following: using System;using System.Text;using myXml = System.Xml; // <-- myXml is the alias. Then in the code you can reference it like …
Continue Reading about Namespace Aliasing – The using directive →
Google Maps on your Mobile
If you're like me, you visit new places quite often and you need to find your way around. Or, maybe you're just terrible with directions and you can't find your way out of a wet paper bag, either way, …
Updated: Formatted XML From SQL
In my previous post I showed you how to return XML from the SQL Server Database. To further this topic, you can also format your XML to use Xml elements. This time, we're going to take a list of …
Generate XML in SQL
You can easily generate Xml from a DataTable by using the .WriteXml() method. But you can also bypass this and retrieve the Xml directly SQL Server 2005 by running the following command: …
The hidden Trace page, trace.axd
Most developers dont know about the virtual trace output page available in ASP.NET. This page allows you to see the Trace Output provided by ASP.NET. You can view many statistics about the pages that …