Tuesday, 15 June 2010

How can I find a folder in a web application project asp.net 2.0 -


I have a folder named "MyFolder" in the web application project. Programmatically, I need to find the path. If I request. Url AbosoluteURI gives this complete path how can I find my fallows in this web project?

Example

Hi,

If you want to know all the paths, it would be best to use the following:

/ P>

Application physical Path: Request. Physical App Path

Application Path : Request. Application page

Current Page Path : Request.CurrentExecutionFilePath

Add the Applicaton Path + bin for the Bin folder path, and through it you can easily Bin folder Find the path.

Like all of these you will find all the paths.


No comments:

Post a Comment