ASP.Net search subdirectory
<p>How do I search a sub directory in my ASP.Net web site?</p>

<p>I know if this was a regular Winform project, I could easily get it by the following:</p>

<pre><code>Environment.CurrentDirectory
</code></pre>

<p>or</p>

<pre><code>System.IO.Directory.GetCurrentDirectory()
</code></pre>

<p>then</p>

<pre><code>string[] directories = System.IO.Path.Combine(Environment.CurrentDirectory, "Portfolio")
</code></pre>

<p>How do I build the path to a subfolder called Portfolio in ASP.Net? </p>

<p>I'm having a problem building everything from the <a href="http://??????????/Portfolio" rel="nofollow">http://??????????/Portfolio</a>. How do I find the ?????? part?</p>

<p>I tried the code above but got a completely different directory...</p>

<p>I don't want to hard code everything before that last subfolder because it will be different on another server.</p>
