Ask a Question related to ASP.NET General, Design and Development.
-
Arjen #1
How to get the application path
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.Application Path
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!
Arjen Guest
-
Setting Return Path Application Wide
Hello, We were running CF 5 on our old server, and everytime we did a mailing using our custom built cf mailmanager, the failed deliveries would be... -
Web Application folder path
Anyone know how to get a path to your web application's folder at design time? I've tried using MapPathSecure in the OnInit call, but no luck. -
Convert text path back to regular path
Im sure this has been covereed beofre , but I want to take an oddly shaped pathy that I have converted to a text path, and revert it to a regualr... -
how to get application path ?
when I'm in a page or a control I could write MapPath(anUrl); to get local (on disk) path of an URL. however I'm writting an HttpHandler, and I... -
New Path for Application
If there is no place in the application to specify the location, and there is no registry key, or .ini file for the program that contains the path,...



Reply With Quote

