Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h2>EDIT</h2> <p><a href="http://weblogs.asp.net/rajbk/archive/2010/04/21/setting-up-visual-studio-2010-to-step-into-microsoft-net-source-code.aspx" rel="nofollow">Setting up Visual Studio 2010 to step into Microsoft .NET Source Code</a></p> <p>Using thing post I tried to find out what is actually haopping in .net framwork when we use method <code>server.MapPath</code> after debugging the .net framwork code I found out calls to get absolute path from virtual path going throw following files and methods of framework</p> <p><strong>File</strong> - System\Web\httpserverutility.cs\1477467\httpserverutility.cs <strong>Method</strong>-MapPath</p> <p><strong>File</strong> - \System\Web\VirtualPath.cs\1477467\VirtualPath.cs*<em>Method</em>*-Create</p> <p><strong>File</strong> -System\Web\HttpRequest.cs\1599819\HttpRequest.cs <strong>Method</strong>-MapPath</p> <p>But i found that with the strage behaviour its returning me null when path is /folder1/folder2 /file.cs but not reutn null object when enter /folder1/ folder2/file.cs </p> <p>I hop you like to step in framwork and see what happnen</p> <p>Any way good question ..but still the anwser to this question might be given by microsoft people only who design that files in framewok</p> <hr> <p>The problem is its not able to locate the Folder withg space i.e "Folder2 ".not valid and not able to locate this folder on file system.</p> <p>Basically you dont find any folder on windows file system which is having sapce after namei.e at the end or begining.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload