191 references to VirtualPathString
System.Web (191)
CachedPathData.cs (1)
142
(virtualPath != null) ? virtualPath.
VirtualPathString
: "null"));
Compilation\AssemblyBuilder.cs (2)
505
if (_buildProviders.ContainsKey(virtualPath.
VirtualPathString
))
659
pragma.FileName = ErrorFormatter.MakeHttpLinePragma(buildProvider.VirtualPathObject.
VirtualPathString
);
Compilation\BrowserCapabilitiesCompiler.cs (2)
260
ProcessBrowserFiles(true /*useVirtualPath*/, BrowserCapabilitiesCompiler.AppBrowsersVirtualDir.
VirtualPathString
);
261
ProcessCustomBrowserFiles(true /*useVirtualPath*/, BrowserCapabilitiesCompiler.AppBrowsersVirtualDir.
VirtualPathString
);
Compilation\BuildManager.cs (14)
990
Debug.Trace("BuildManager", "CompileCodeDirectory(" + virtualDir.
VirtualPathString
+ ")");
1004
_topLevelAssembliesIndexTable[virtualDir.
VirtualPathString
] = info;
1461
string virtualPathString = virtualPath.
VirtualPathString
;
1908
return CompilationUtil.IsBatchingEnabled(virtualDir.
VirtualPathString
);
2022
codeDirs[current++] = virtualSubDir.
VirtualPathString
;
2027
codeDirs[current++] = virtualDir.
VirtualPathString
;
2077
else if (String.Compare(virtualCodeDir.
VirtualPathString
, 0,
2078
HttpRuntime.WebRefDirectoryVirtualPath.
VirtualPathString
, 0, HttpRuntime.WebRefDirectoryVirtualPath.
VirtualPathString
.Length,
2105
AssemblyReferenceInfo info = TheBuildManager.TopLevelAssembliesIndexTable[virtualCodeDir.
VirtualPathString
];
2224
key = _keyCache[virtualPath.
VirtualPathString
] as string;
2234
_keyCache[virtualPath.
VirtualPathString
] = key;
2815
return _excludedCompilationPaths.Any(path => UrlPath.IsEqualOrSubpath(path.
VirtualPathString
, dir.VirtualPath));
3068
string message = SR.GetString(SR.Directory_progress, virtualDir.
VirtualPathString
);
Compilation\BuildManagerHost.cs (5)
290
virtualPath.
VirtualPathString
), "virtualPath");
506
if (StringUtil.EqualsIgnoreCase(virtualPath.
VirtualPathString
, BuildManager.GlobalAsaxVirtualPath.
VirtualPathString
)) {
687
_stringDictionary[virtualPath.
VirtualPathString
] = virtualFileString;
691
_stringDictionary.Remove(virtualPath.
VirtualPathString
);
Compilation\CodeDirectoryCompiler.cs (1)
118
throw new HttpException(SR.GetString(SR.Virtual_codedir, virtualDir.
VirtualPathString
));
Compilation\PageThemeBuildProvider.cs (1)
42
_skinFileList.Add(virtualPath.
VirtualPathString
);
Compilation\PageThemeCodeDomTreeGenerator.cs (3)
172
new CodePrimitiveExpression(_themeParser.VirtualDirPath.
VirtualPathString
));
281
spse.Value = UrlPath.MakeVirtualPathAppRelative(UrlPath.Combine(_themeParser.VirtualDirPath.
VirtualPathString
, strValue));
291
cpe.Builder = new StringPropertyBuilder(UrlPath.MakeVirtualPathAppRelative(UrlPath.Combine(_themeParser.VirtualDirPath.
VirtualPathString
, strValue)));
Compilation\PreservationFileWriter.cs (1)
53
SetAttribute("virtualPath", result.VirtualPath.
VirtualPathString
);
Compilation\ResourceExpressionBuilder.cs (2)
300
string cacheKey = CacheInternal.PrefixResourceProvider + virtualPath.
VirtualPathString
;
307
resourceProvider = s_resourceProviderFactory.CreateLocalResourceProvider(virtualPath.
VirtualPathString
);
Compilation\TemplateControlCodeDomTreeGenerator.cs (2)
81
Parser.CodeFileVirtualPath.
VirtualPathString
, badBaseClassLineMarker);
181
Parser.CodeFileVirtualPath.
VirtualPathString
, badBaseClassLineMarker);
Compilation\WebReferencesBuildProvider.cs (3)
59
currentWebRefDirVirtualPath, rootWebRefDirVirtualPath.
VirtualPathString
));
63
if (rootWebRefDirVirtualPath.
VirtualPathString
.Length == currentWebRefDirVirtualPath.Length) {
72
rootWebRefDirVirtualPath.
VirtualPathString
.Length);
Configuration\ExpressServerConfig.cs (5)
98
throw new InvalidOperationException(SR.GetString(SR.Cannot_map_path, path.
VirtualPathString
));
111
string vpath = path.
VirtualPathString
;
204
path.
VirtualPathString
,
337
return resolved.
VirtualPathString
;
355
int result = _nativeConfig.MgdGetAppPathForPath(siteValue, path.
VirtualPathString
, out pBstr, out cBstr);
Configuration\HttpHandlerAction.cs (1)
170
return (_path.IsSuffix(path.
VirtualPathString
) && _requestType.IsMatch(verb));
Configuration\MetabaseServerConfig.cs (8)
72
string aboPath = GetAboPath(_siteIdForCurrentApplication, path.
VirtualPathString
);
77
string aboPath = GetAboPath(appHost.GetSiteID(), path.
VirtualPathString
);
166
string aboPath = GetAboPath(siteID, vpath.
VirtualPathString
);
182
return resolved.
VirtualPathString
;
228
String cacheKey = CacheInternal.PrefixMapPath + siteID + path.
VirtualPathString
;
251
if (path.
VirtualPathString
.Length > 1) {
254
string parentPath = vParent.
VirtualPathString
;
322
string physicalPath = MBMapPath(appID, path.
VirtualPathString
);
Configuration\NativeConfig.cs (2)
77
int result = UnsafeIISMethods.MgdMapPathDirect(_nativeConfig, siteName, path.
VirtualPathString
, out pBstr, out cBstr);
79
throw new InvalidOperationException(SR.GetString(SR.Cannot_map_path, path.
VirtualPathString
));
Configuration\ProcessHostConfigUtils.cs (2)
58
int result = UnsafeIISMethods.MgdMapPathDirect(IntPtr.Zero, siteName, path.
VirtualPathString
, out pBstr, out cBstr);
60
throw new InvalidOperationException(SR.GetString(SR.Cannot_map_path, path.
VirtualPathString
));
Configuration\ProcessHostMapPath.cs (6)
179
return resolved.
VirtualPathString
;
188
Debug.Trace("MapPath", "ProcHostMP.GetAppPathForPath(" + siteID + ", " + path.
VirtualPathString
+ ")\n");
199
int result = UnsafeIISMethods.MgdGetAppPathForPath(IntPtr.Zero, siteValue, path.
VirtualPathString
, out pBstr, out cBstr);
226
String cacheKey = CacheInternal.PrefixMapPath + siteID + path.
VirtualPathString
;
248
if (path.
VirtualPathString
.Length > 1) {
251
string parentPath = vParent.
VirtualPathString
;
Configuration\ProcessHostServerConfig.cs (3)
88
throw new InvalidOperationException(SR.GetString(SR.Cannot_map_path, path.
VirtualPathString
));
101
string vpath = path.
VirtualPathString
;
195
path.
VirtualPathString
,
Configuration\RemoteWebConfigurationHostServer.cs (1)
197
string currentFilePath = configMapPath.MapPath(appSiteID, currentVirtualPath.
VirtualPathString
);
Configuration\UserMapPath.cs (2)
177
directory = GetPhysicalPathForPath(path.
VirtualPathString
, mapping);
216
return resolved.
VirtualPathString
;
Configuration\VirtualDirectoryMapping.cs (1)
52
return (_virtualDirectory != null) ? _virtualDirectory.
VirtualPathString
: string.Empty;
Configuration\WebConfigurationHost.cs (9)
153
if (locationVPath == null || locationVPath.
VirtualPathString
== "/") {
171
appPathString = configMapPath.GetAppPathForPath(appSiteID, locationVPath.
VirtualPathString
);
174
appPathString = configMapPath.GetAppPathForPath(appSiteID, virtualPath.
VirtualPathString
);
278
physicalPath = _configMapPath.MapPath(finalSiteID, finalPath.
VirtualPathString
);
429
physicalPath = _configMapPath.MapPath(siteID, path.
VirtualPathString
);
463
_configMapPath.GetPathConfigFilename(siteID, path.
VirtualPathString
, out directory, out baseName);
633
if (UrlPath.IsEqualOrSubpath(_appPath.
VirtualPathString
, path.
VirtualPathString
))
822
appPath = VirtualPath.CreateAllowNull(_configMapPath.GetAppPathForPath(siteID, vpath.
VirtualPathString
));
Handlers\AssemblyResourceLoader.cs (4)
206
return _webFormsScriptLocation.
VirtualPathString
;
215
return _webUIValidationScriptLocation.
VirtualPathString
;
224
return _smartNavPageLocation.
VirtualPathString
;
233
return _smartNavScriptLocation.
VirtualPathString
;
Hosting\ApplicationInfo.cs (1)
30
get { return _virtualPath.
VirtualPathString
; }
Hosting\ApplicationManager.cs (5)
209
string appId = String.Concat(virtualPath.
VirtualPathString
, physicalPath);
344
ISAPIApplicationHost isapiAppHost = new ISAPIApplicationHost(virtualPath.
VirtualPathString
, null, true, null, hostingParameters.IISExpressVersion);
976
string cacheKey = System.Web.Caching.CacheInternal.PrefixMapPath + siteID + virtualPath.
VirtualPathString
;
1686
dict.Add(".appVPath", appVPath.
VirtualPathString
);
1762
IConfigMapPath configMapPath = configMapPathFactory2.Create(virtualPath.
VirtualPathString
, physicalPath);
Hosting\HostingEnvironment.cs (5)
340
_configMapPath = configMapPathFactory.Create(_appVirtualPath.
VirtualPathString
, _appPhysicalPath);
997
return "MapPath_" + virtualPath.
VirtualPathString
.ToLowerInvariant().GetHashCode().ToString(CultureInfo.InvariantCulture);
1055
if (String.CompareOrdinal(reqpath.
VirtualPathString
, _appVirtualPath.
VirtualPathString
) == 0) {
1080
result = _configMapPath.MapPath(GetSiteID(), reqpath.
VirtualPathString
);
Hosting\ISAPIApplicationHost.cs (2)
69
_appId = GetDefaultAppIdFromVPath(_virtualPath.
VirtualPathString
);
99
return _virtualPath.
VirtualPathString
;
Hosting\MapPathBasedVirtualPathProvider.cs (4)
303
_virtualPaths[subdir] = new MapPathBasedVirtualDirectory(subpath.
VirtualPathString
);
372
if (_serverConfig2 != null && !_serverConfig2.IsWithinApp(UrlPath.SimpleCombine(_virtualPath.
VirtualPathString
, name))) {
396
return new MapPathBasedVirtualDirectory(childVirtualPath.
VirtualPathString
);
401
return new MapPathBasedVirtualFile(childVirtualPath.
VirtualPathString
, fileData.FullName, ffd);
Hosting\SimpleApplicationHost.cs (1)
48
return _appVirtualPath.
VirtualPathString
;
Hosting\VirtualPathProvider.cs (13)
70
return GetFileHash(virtualPath.
VirtualPathString
, virtualPathDependencies);
93
return GetCacheDependency(virtualPath.
VirtualPathString
, virtualPathDependencies, utcStart);
112
return FileExists(virtualPath.
VirtualPathString
);
131
return DirectoryExists(virtualDir.
VirtualPathString
);
149
return GetFileWithCheck(virtualPath.
VirtualPathString
);
185
return GetDirectoryWithCheck(virtualDir.
VirtualPathString
);
231
return GetCacheKey(virtualPath.
VirtualPathString
);
250
string virtualPath = CombineVirtualPaths(basePath.
VirtualPathString
,
251
relativePath.
VirtualPathString
);
266
return OpenFile(virtualPath.
VirtualPathString
);
272
new SingleObjectCollection(virtualPath.
VirtualPathString
), DateTime.MaxValue);
300
return DirectoryExistsNoThrow(virtualDir.
VirtualPathString
);
337
get { return _virtualPath.
VirtualPathString
; }
HttpApplication.cs (3)
1289
string vpath = path.
VirtualPathString
;
1326
handler = factory.GetHandler(context, requestType, path.
VirtualPathString
, pathTranslated);
1392
handler = factory.GetHandler(context, requestType, path.
VirtualPathString
, pathTranslated);
HttpRequest.cs (16)
198
_url = new Uri("http://localhost" + virtualPath.
VirtualPathString
);
1428
return PathObject.
VirtualPathString
;
1565
return CurrentExecutionFilePathObject.
VirtualPathString
;
1571
return UrlPath.GetExtension(CurrentExecutionFilePathObject.
VirtualPathString
);
1629
int pathLength = path.
VirtualPathString
.Length;
1631
int filePathLength = filePath.
VirtualPathString
.Length;
1638
string pathInfoString = path.
VirtualPathString
.Substring(filePathLength, pathLength - filePathLength);
1650
return (pathInfoObject == null) ? String.Empty : pathInfoObject.
VirtualPathString
;
3017
if (virtualPath.
VirtualPathString
== "/" &&
3018
originalVirtualPath.
VirtualPathString
!= "/" &&
3056
_rewrittenUrl = _path.
VirtualPathString
;
3063
iis7WorkerRequest.RewriteNotifyPipeline(_path.
VirtualPathString
, newQueryString, rebaseClientPath);
3086
string newFullPathString = newFilePath.VirtualPathStringWhicheverAvailable + "/" + newPathInfo.
VirtualPathString
;
3094
_rewrittenUrl = _path.
VirtualPathString
;
3108
String newPath = (_path != null && _path.
VirtualPathString
!= null) ? _path.
VirtualPathString
: String.Empty;
HttpResponse.cs (2)
3013
wr.PushPromise(virtualPath.
VirtualPathString
, queryString, method, headers);
3228
virtualPath = UrlPath.Combine(Request.ClientBaseDir.
VirtualPathString
, virtualPath);
httpserverutility.cs (3)
354
if (StringUtil.StringEndsWith(virtualPath.
VirtualPathString
, '.'))
502
!DefaultHttpHandler.IsClassicAspRequest(filePath.
VirtualPathString
)) {
788
wr.ScheduleExecuteUrl( virtualPath.
VirtualPathString
,
Security\CookielessHelper.cs (1)
71
string path = _Context.Request.ClientFilePath.
VirtualPathString
;
State\SessionIDManager.cs (1)
102
s_appPath = HostingEnvironment.ApplicationVirtualPathObject.
VirtualPathString
;
UI\BatchParser.cs (2)
73
_virtualPathDependencies.Add(virtualPath.
VirtualPathString
);
89
string fileToReferenceCheck = physicalPath != null ? physicalPath : virtualPath.
VirtualPathString
;
UI\Control.cs (1)
3033
string baseRequestDir = Context.Request.ClientBaseDir.
VirtualPathString
;
UI\HtmlForm.cs (2)
286
action = clientFilePath.
VirtualPathString
;
299
action = currentFilePath.
VirtualPathString
;
UI\MasterPage.cs (1)
237
string pageFile = master._masterPageFile.
VirtualPathString
.ToLower(CultureInfo.InvariantCulture);
UI\Page.cs (1)
2684
appliedMasterPages.Add(_masterPageFile.
VirtualPathString
.ToLower(CultureInfo.InvariantCulture));
UI\PageHandlerFactory.cs (1)
51
return GetHandler(context, requestType, virtualPath.
VirtualPathString
, physicalPath);
UI\PageParserFilter.cs (2)
26
protected string VirtualPath { get { return _virtualPath.
VirtualPathString
; } }
137
return AllowVirtualReference(referenceVirtualPath.
VirtualPathString
, referenceType);
UI\SimpleWebHandlerParser.cs (2)
151
_virtualPath.
VirtualPathString
, _lineNumber);
442
_sourceDependencies.Add(fileName.
VirtualPathString
);
UI\TagNameToTypeMapper.cs (1)
366
type = _parser.GetUserControlType(ucRegisterEntry.UserControlSource.
VirtualPathString
);
UI\TemplateParser.cs (9)
708
ParseFile(null /*physicalPath*/, CurrentVirtualPath.
VirtualPathString
);
729
string fileToReferenceCheck = physicalPath != null ? physicalPath : virtualPath.
VirtualPathString
;
1641
HttpRuntime.CheckVirtualFilePermission(virtualPath.
VirtualPathString
);
1646
_currentScript = new ScriptBlockData(1, 1, virtualPath.
VirtualPathString
);
2445
HttpRuntime.CheckVirtualFilePermission(newVirtualPath.
VirtualPathString
);
2458
HttpRuntime.CheckVirtualFilePermission(newVirtualPath.
VirtualPathString
);
2473
if (_pageParserFilter != null && !_pageParserFilter.AllowServerSideInclude(newVirtualPath.
VirtualPathString
)) {
2656
CurrentVirtualPath.
VirtualPathString
);
2869
_sourceDependencies.Add(fileName.
VirtualPathString
);
UI\Util.cs (1)
466
virtualPath.
VirtualPathString
));
UI\WebControls\AdRotator.cs (2)
114
string tplSourceDir = TemplateControlVirtualDirectory.
VirtualPathString
;
456
physicalPath : virtualPath.
VirtualPathString
);
UI\WebControls\login.cs (1)
1194
return Page.Request.ClientFilePath.
VirtualPathString
;
UI\WebControls\loginstatus.cs (1)
309
Page.Response.Redirect(Page.Request.ClientFilePath.
VirtualPathString
, false);
UI\WebControls\xml.cs (2)
408
physicalPath : virtualPath.
VirtualPathString
);
517
physicalPath : virtualPath.
VirtualPathString
);
VirtualPath.cs (14)
84
this.
VirtualPathString
, virtualPath.
VirtualPathString
);
113
return UrlPath.RemoveSlashFromPathIfNeeded(
VirtualPathString
);
179
return UrlPath.GetExtension(
VirtualPathString
);
209
virtualPath = UrlPath.Combine(virtualPath, relativePath.
VirtualPathString
);
258
resultVirtualPath._virtualPath = UrlPath.MakeRelative(this.
VirtualPathString
, toVirtualPath.
VirtualPathString
);
347
VirtualPathString
);
359
throw new ArgumentException(SR.GetString(SR.Cross_app_not_allowed, this.
VirtualPathString
));
473
v1.
VirtualPathString
, v2.
VirtualPathString
) == 0;
477
return StringComparer.InvariantCultureIgnoreCase.GetHashCode(
VirtualPathString
);
488
return
VirtualPathString
;
497
return virtualPath == null ? null : virtualPath.
VirtualPathString
;
VirtualPathUtility.cs (4)
50
return UrlPath.MakeVirtualPathAppRelative(virtualPathObject.
VirtualPathString
,
51
appVirtualPath.
VirtualPathString
, true /*nullIfNotInApp*/);
56
return virtualPathObject.
VirtualPathString
;
69
appVirtualPath.
VirtualPathString
);
XmlSiteMapProvider.cs (6)
265
string sourceFile = _virtualPath.
VirtualPathString
;
573
if (xmlParentProvider._parentSiteMapFileCollection.Contains(_normalizedVirtualPath.
VirtualPathString
)) {
585
_parentSiteMapFileCollection.Add(_normalizedVirtualPath.
VirtualPathString
);
618
parentSiteMapFileCollection.Add(_normalizedVirtualPath.
VirtualPathString
);
864
coll.Add(_siteMapFileAttribute, virtualPath.
VirtualPathString
);
868
Initialize(virtualPath.
VirtualPathString
, coll);