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