57 references to VirtualPathUtility
System.Data.Entity.Design (1)
System\Data\Entity\Design\AspNet\BuildProviderUtils.cs (1)
58
string name =
VirtualPathUtility
.ToAppRelative(virtualPath);
System.Data.Services.Design (6)
System\Data\EntityModel\DataServiceBuildProvider.cs (6)
169
webReferencesRootVirtualPath =
VirtualPathUtility
.AppendTrailingSlash(webReferencesRootVirtualPath);
170
virtualPath =
VirtualPathUtility
.AppendTrailingSlash(virtualPath);
190
virtualPath =
VirtualPathUtility
.RemoveTrailingSlash(virtualPath).Substring(webReferencesRootVirtualPath.Length);
219
return
VirtualPathUtility
.AppendTrailingSlash(
VirtualPathUtility
.ToAbsolute(appVirtualPath));
227
return
VirtualPathUtility
.Combine(GetAppDomainAppVirtualPath(), WebRefDirectoryName + @"\");
System.ServiceModel.Activation (30)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
517
string fileName =
VirtualPathUtility
.GetFileName(baseAddress.AbsolutePath);
System\ServiceModel\Activation\HostedTransportConfigurationBase.cs (1)
48
string absoluteVirtualPath =
VirtualPathUtility
.ToAbsolute(virtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath);
System\ServiceModel\Activation\MetabaseSettings.cs (4)
288
string relativeVirtualPath =
VirtualPathUtility
.ToAppRelative(virtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath);
314
string curAppPath =
VirtualPathUtility
.AppendTrailingSlash(HostingEnvironmentWrapper.ApplicationVirtualPath);
330
absoluteVirtualPath =
VirtualPathUtility
.AppendTrailingSlash(absoluteVirtualPath);
333
string childPath =
VirtualPathUtility
.AppendTrailingSlash(appPath);
System\ServiceModel\Activation\ServiceParser.cs (3)
334
return string.Concat(
VirtualPathUtility
.ToAppRelative(virtualPath), Delimiter,
645
string baseVirtualDir =
VirtualPathUtility
.GetDirectory(virtualPath);
646
string fullVirtualPath =
VirtualPathUtility
.Combine(baseVirtualDir, path);
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (6)
66
string xamlVirtualPath =
VirtualPathUtility
.Combine(AspNetEnvironment.Current.XamlFileBaseLocation, constructorString);
81
string serviceName =
VirtualPathUtility
.GetFileName(xamlVirtualPath);
82
string serviceNamespace = String.Format(CultureInfo.InvariantCulture, "/{0}{1}", ServiceHostingEnvironment.SiteName,
VirtualPathUtility
.GetDirectory(ServiceHostingEnvironment.FullVirtualPath));
125
XName.Get(XmlConvert.EncodeLocalName(
VirtualPathUtility
.GetFileName(ServiceHostingEnvironment.FullVirtualPath)),
126
String.Format(CultureInfo.InvariantCulture, "/{0}{1}", ServiceHostingEnvironment.SiteName,
VirtualPathUtility
.GetDirectory(ServiceHostingEnvironment.FullVirtualPath))));
154
string xamlFileName = Path.GetFileNameWithoutExtension(
VirtualPathUtility
.GetFileName(this.xamlVirtualFile));
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
51
string xamlFileName = Path.GetFileNameWithoutExtension(
VirtualPathUtility
.GetFileName(xamlVirtualFile));
System\ServiceModel\Channels\MsmqHostedTransportManager.cs (2)
49
string absoluteVirtualPath =
VirtualPathUtility
.ToAbsolute(virtualPath, HostingEnvironment.ApplicationVirtualPath);
194
&& AspNetEnvironment.Current.IsWithinApp(
VirtualPathUtility
.ToAbsolute(serviceFile)));
System\ServiceModel\ServiceHostingEnvironment.cs (12)
535
processedVirtualPath =
VirtualPathUtility
.ToAppRelative(virtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath);
559
string extension =
VirtualPathUtility
.GetExtension(subVirtualPath);
777
if (
VirtualPathUtility
.IsAbsolute(relativeAddress))
782
relativeAddress =
VirtualPathUtility
.Combine(RootVirtualPath, relativeAddress);
783
string extension =
VirtualPathUtility
.GetExtension(relativeAddress);
849
VirtualPathUtility
.ToAbsolute(normalizedVirtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath))));
915
new StringTraceRecord("VirtualPath",
VirtualPathUtility
.ToAbsolute(normalizedVirtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath)), this, (Exception)null);
947
lastException = new ServiceActivationException(SR2.Hosting_ServiceCannotBeActivated(
VirtualPathUtility
.ToAbsolute(normalizedVirtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath), ex.Message), ex);
964
lastException = new ServiceActivationException(SR2.Hosting_ServiceCannotBeActivated(
VirtualPathUtility
.ToAbsolute(normalizedVirtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath), ex.Message), ex);
1263
virtualPath =
VirtualPathUtility
.ToAbsolute(virtualPath);
1291
xamlFileBaseLocation =
VirtualPathUtility
.AppendTrailingSlash(currentVirtualPath);
1537
new StringTraceRecord("VirtualPath",
VirtualPathUtility
.ToAbsolute(virtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath)),
System.ServiceModel.WasHosting (2)
System\ServiceModel\WasHosting\MetabaseSettingsIis7.cs (2)
137
string absolutePath =
VirtualPathUtility
.ToAbsolute(relativeVirtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath);
474
string absolutePath =
VirtualPathUtility
.ToAbsolute(relativeVirtualPath, HostingEnvironment.ApplicationVirtualPath);
System.Web (2)
Handlers\AssemblyResourceLoader.cs (2)
401
url =
VirtualPathUtility
.ToAbsolute(path);
404
url =
VirtualPathUtility
.ToAbsolute(path, _applicationRootPath);
System.Web.DynamicData (4)
DynamicData\FilterFactory.cs (1)
87
string filterTemplatePath =
VirtualPathUtility
.Combine(FilterFolderVirtualPath, filterControlName + ".ascx");
DynamicData\MetaModel.cs (1)
95
_dynamicDataFolderVirtualPath =
VirtualPathUtility
.AppendTrailingSlash(value);
DynamicData\Util\TemplateFactory.cs (2)
44
_templateFolderVirtualPath =
VirtualPathUtility
.AppendTrailingSlash(_templateFolderVirtualPath);
49
_templateFolderVirtualPath =
VirtualPathUtility
.Combine(Model.DynamicDataFolderVirtualPath, _templateFolderVirtualPath);
System.Web.Extensions (12)
Compilation\WCFBuildProvider.cs (6)
429
webReferencesRootVirtualPath =
VirtualPathUtility
.AppendTrailingSlash(webReferencesRootVirtualPath);
430
virtualPath =
VirtualPathUtility
.AppendTrailingSlash(virtualPath);
450
virtualPath =
VirtualPathUtility
.RemoveTrailingSlash(virtualPath).Substring(webReferencesRootVirtualPath.Length);
479
return
VirtualPathUtility
.AppendTrailingSlash(
VirtualPathUtility
.ToAbsolute(appVirtualPath));
487
return
VirtualPathUtility
.Combine(GetAppDomainAppVirtualPath(), WebRefDirectoryName + @"\");
Handlers\ScriptResourceHandler.cs (3)
44
_scriptResourceAbsolutePath =
VirtualPathUtility
.ToAbsolute(_scriptResourceUrl);
454
VirtualPathUtility
.ToAbsolute(resourcesAndCultures[j]);
796
VirtualPathUtility
.ToAbsolute(_scriptResourceUrl) + "?d=";
Script\Services\PageClientProxyGenerator.cs (1)
15
: this(
VirtualPathUtility
.MakeRelative(page.Request.Path, page.Request.FilePath), debug) {
Script\Services\WebServiceData.cs (1)
92
virtualPath =
VirtualPathUtility
.ToAbsolute(virtualPath);
UI\ServiceReference.cs (1)
70
serviceUrl =
VirtualPathUtility
.Combine(containingControl.Context.Request.FilePath, serviceUrl);