A
Arjen
Hello,
I have an ASP.NET web application on this place:
C:\webapplications\portal\
Inside my C# class I tried to get the application path like this:
System.Web.HttpContext.Current.Request.ApplicationPath
But this is getting this path:
C:\webapplications\
But I want that it gets directly this path:
C:\webapplications\portal\
Because the name is not always "portal".
Is there a way to do this?
Thanks!
I have an ASP.NET web application on this place:
C:\webapplications\portal\
Inside my C# class I tried to get the application path like this:
System.Web.HttpContext.Current.Request.ApplicationPath
But this is getting this path:
C:\webapplications\
But I want that it gets directly this path:
C:\webapplications\portal\
Because the name is not always "portal".
Is there a way to do this?
Thanks!