42 references to Uri
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
879uri = new Uri(baseUri, path);
BasicTestApp (1)
AuthTest\ServerAuthenticationStateProvider.cs (1)
24var uri = new Uri(_httpClient.BaseAddress, "/subdir/api/User");
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\XmlResolver.cs (1)
64return new Uri(baseUri, relativeUri);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
1788return new Uri(Globals.DataContractXsdBaseNamespaceUri, clrNs).AbsoluteUri;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
293fullUri = new Uri(baseAddress, relativeAddress);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (1)
587return new Uri(new Uri(baseUri), relativeUri);
Metadata\MetadataFileNameManager.cs (1)
230return (new Uri(baseUri, relUrl)).GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
Microsoft.AspNetCore.Components (1)
NavigationManager.cs (1)
219return new Uri(_baseUri!, relativeUri);
Microsoft.AspNetCore.Components.WebView (1)
WebViewManager.cs (1)
67=> NavigateCore(new Uri(_appBaseUri, url));
Microsoft.AspNetCore.Components.WebView.Photino (1)
BlazorWindow.cs (1)
59var appBaseUri = new Uri(new Uri(PhotinoWebViewManager.AppBaseOrigin), _pathBase);
Microsoft.AspNetCore.Components.WebView.Test (1)
Infrastructure\TestWebViewManager.cs (1)
33MessageReceived(new Uri(AppBaseUri, "/page"), IpcCommon.Serialize(messageType, args));
Microsoft.Maui (1)
Handlers\HybridWebView\HybridWebViewHandler.iOS.cs (1)
87 using var nsUrl = new NSUrl(new Uri(AppOriginUri, "/").ToString());
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\ResourceIDHelper.cs (1)
26Uri srcUri = new Uri(baseUri, relPath.Replace("#", "%23"));
PresentationCore (6)
MS\Internal\AppModel\SiteOfOriginPart.cs (1)
128_absoluteLocation = new Uri(SiteOfOriginContainer.SiteOfOrigin, uriMinusInitialSlash);
MS\Internal\FontCache\FontResourceCache.cs (1)
54uri = new Uri(uri, FakeFileName);
MS\Internal\FontCache\FontSourceCollection.cs (1)
151fontSources.Add(new FontSource(new Uri(_uri, resourceName), isComposite));
System\Windows\Media\FontFamily.cs (1)
511Uri locationUri = new Uri(Util.WindowsFontsUriObject, canonicalFamilyReference.EscapedFileName);
System\Windows\Media\Fonts.cs (1)
111fontLocation = new Uri(baseUri, location);
System\Windows\Navigation\BaseUriHelper.cs (1)
504return new Uri(baseUri, appendedUri);
PresentationFramework (1)
System\Windows\ColorConvertedBitmapExtension.cs (1)
140return new Uri(_baseUri,uri);
ReachFramework (2)
Packaging\XpsManager.cs (1)
119_uri = new Uri( new Uri(Directory.GetCurrentDirectory()+"/"), path );
Serialization\VisualTreeFlattener.cs (1)
156return new Uri(BaseUriHelper.SiteOfOriginBaseUri, uri);
Sample (2)
Transformers\AddExternalDocsTransformer.cs (2)
16var url = new Uri(baseUri, $"/api/docs/operations/{Uri.EscapeDataString(id)}"); 32var url = new Uri(baseUri, $"/api/docs/schemas/{Uri.EscapeDataString(schema.Type)}");
System.IO.Packaging (1)
System\IO\Packaging\PackUriHelper.cs (1)
436new Uri(s_defaultUri, partName).GetComponents(UriComponents.Path |
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\DataContract.cs (1)
1585return new Uri(Globals.DataContractXsdBaseNamespaceUri, clrNs ?? string.Empty).AbsoluteUri;
System.Private.Xml (1)
System\Xml\XmlResolver.cs (1)
66return new Uri(baseUri, relativeUri);
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\SchemaImportHelper.cs (1)
78return new Uri(ImportGlobals.DataContractXsdBaseNamespaceUri, clrNs ?? string.Empty).AbsoluteUri;
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
113fullUri = new Uri(baseAddress, relativeAddress);
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\FeedUtils.cs (1)
84return new Uri(rootBase, newBase);
System.Windows.Forms (1)
System\Windows\Forms\Help\Help.cs (1)
268file = new Uri(new Uri(AppContext.BaseDirectory),
Templates.Blazor.Tests (3)
BlazorWebTemplateTest.cs (1)
85var request = new HttpRequestMessage(HttpMethod.Get, new Uri(aspNetProcess.ListeningUri, "/_framework/blazor.boot.json"));
src\ProjectTemplates\Shared\AspNetProcess.cs (2)
255RetryHelper.RetryRequest(() => _httpClient.GetAsync(new Uri(ListeningUri, path)), logger: NullLogger.Instance); 266new Uri(ListeningUri, requestUrl));
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (2)
255RetryHelper.RetryRequest(() => _httpClient.GetAsync(new Uri(ListeningUri, path)), logger: NullLogger.Instance); 266new Uri(ListeningUri, requestUrl));
Templates.Blazor.WebAssembly.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (2)
255RetryHelper.RetryRequest(() => _httpClient.GetAsync(new Uri(ListeningUri, path)), logger: NullLogger.Instance); 266new Uri(ListeningUri, requestUrl));
Templates.Mvc.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (2)
255RetryHelper.RetryRequest(() => _httpClient.GetAsync(new Uri(ListeningUri, path)), logger: NullLogger.Instance); 266new Uri(ListeningUri, requestUrl));
Templates.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (2)
255RetryHelper.RetryRequest(() => _httpClient.GetAsync(new Uri(ListeningUri, path)), logger: NullLogger.Instance); 266new Uri(ListeningUri, requestUrl));