07 July 2008

Magic ~

When you need a local path for your web service or aspx path you may exercise Server.MapPath("~") to get a folder or Page.ResolvePath(@"~/image/"). The key symbol is ~ which is translated to a local path.

Enjoy .net responsive!

No comments: