theDeSilva.com Andrew de Silva

Find your Base Path / Local Directory using VB.NET

September 20th, 2010 · No Comments · .NET

Here’s a fast way to find what’s your application base path. Why do you need to do this ? This is extemely handy when you are trying to figure where your files are hosted on the hosting company. It’s not always easy to figure out this path.

Response.Write(System.AppDomain.CurrentDomain.BaseDirectory)

Tags: