Can someone please assist me with that issue. I'm trying to convert a WinForm to Webform. I need to access the main folder, It was implemented that way for the Winform, but I would like to have to retrieve the same path in ASP.NET AJAX for Webform.
For WinForm:
string appPath = Path.GetDirectoryName(Application.ExecutablePath);
DirectoryInfo info = Directory.Getarent(appPath);
WebForm:
????