I see that there are some ways to get the application folder path:
Application.StartupPath
System.IO.Path.GetDirectoryName( System.
For a web application, to get the current web application root directory, generally call by web page for the current incoming request:
HttpContext.Current.Server.MapPath(); System.Web.Hosting.HostingEnvironment.ApplicationPhysicalPath;
Above code description