System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenHelper.cs (1)
85return new SessionSecurityToken(claimsPrincipal, sct.ContextId, sct.Id, String.Empty, sct.GetKeyBytes(), endpointId, sct.ValidFrom, sct.ValidTo, sct.KeyGeneration, sct.KeyEffectiveTime, sct.KeyExpirationTime, sctAuthPolicy, new Uri(version.Namespace.Value));
System\ServiceModel\ServiceHost.cs (6)
32internal static readonly Uri EmptyUri = new Uri(string.Empty, UriKind.RelativeOrAbsolute);
327ServiceEndpoint endpoint = this.AddServiceEndpoint(implementedContract, binding, new Uri(address, UriKind.RelativeOrAbsolute));
435Uri absoluteUri = MakeAbsoluteUri(new Uri(relativeAddress, UriKind.Relative), endpoint.Binding);
720baseUri = new Uri(baseUri.AbsoluteUri + "/");
722return new Uri(baseUri, path);
1731ServiceEndpoint endpoint = this.AddServiceEndpoint(implementedContract, binding, new Uri(address, UriKind.RelativeOrAbsolute));
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (3)
157ReadReferencedCategories(reader, referencedCategories, baseUri, new Uri(link, UriKind.RelativeOrAbsolute), version, preserveElementExtensions, preserveAttributeExtensions, maxExtensionSize);
461result.Link = new Uri(reader.Value, UriKind.RelativeOrAbsolute);
564result.BaseUri = new Uri(reader.Value, UriKind.RelativeOrAbsolute);
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (6)
67internal ByteRangeDownloader(Uri requestedUri, string tempFileName, SafeWaitHandle eventHandle)
95internal ByteRangeDownloader(Uri requestedUri, Stream tempStream, SafeWaitHandle eventHandle, Mutex fileMutex)
455private ByteRangeDownloader(Uri requestedUri, SafeWaitHandle eventHandle)
463if (String.Compare(requestedUri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal) != 0
464&& String.Compare(requestedUri.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal) != 0)
949private Uri _requestedUri; // url to be downloaded
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (22)
85Uri bitmapUri,
204Uri baseUri,
205Uri uri,
285Uri baseUri,
286Uri uri,
298Uri finalUri = null;
332((finalUri.Scheme == Uri.UriSchemeHttp) ||
333(finalUri.Scheme == Uri.UriSchemeHttps)))
507Uri bitmapUri,
524Uri bitmapUri,
987Uri uri = new Uri(_baseUri, _uri);
1146Uri uri,
1170Debug.Assert((uri.Scheme == Uri.UriSchemeHttp) || (uri.Scheme == Uri.UriSchemeHttps));
1218else if (uri.Scheme == Uri.UriSchemeHttp) // for http
1222else if (uri.Scheme == Uri.UriSchemeHttps) // for https
1366private static Stream ProcessHttpsFiles(Uri uri, Stream stream)
1400private static Stream ProcessHttpFiles(Uri uri, Stream stream)
1445private static Stream ProcessUncFiles(Uri uri)
1616Uri uri,
1951internal Uri _uri;
1954internal Uri _baseUri;
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (39)
46private static readonly Uri _siteOfOriginBaseUri = PackUriHelper.Create(new Uri(SOOBASE));
48private static readonly Uri _packAppBaseUri = PackUriHelper.Create(new Uri(APPBASE));
50private static SecurityCriticalDataForSet<Uri> _baseUri;
70_baseUri = new SecurityCriticalDataForSet<Uri>(_packAppBaseUri);
87typeof(Uri),
107public static Uri GetBaseUri(DependencyObject element)
109Uri baseUri = GetBaseUriCore(element);
150static internal Uri SiteOfOriginBaseUri
159static internal Uri PackAppBaseUri
171internal static bool IsPackApplicationUri(Uri uri)
196internal static void GetAssemblyAndPartNameFromPackAppUri(Uri uri, out Assembly assembly, out string partName)
204Uri partUri = new Uri(uri.AbsolutePath, UriKind.Relative);
267internal static void GetAssemblyNameAndPart(Uri uri, out string partName, out string assemblyName, out string assemblyVersion, out string assemblyKey)
323assemblyName = Uri.UnescapeDataString(assemblyInfo[0]);
364string assemblyName = Uri.UnescapeDataString(assemblyInfo[0]);
382static internal Uri GetResolvedUri(Uri baseUri, Uri orgUri)
388static internal Uri MakeRelativeToSiteOfOriginIfPossible(Uri sUri)
390if (Uri.Compare(sUri, SiteOfOriginBaseUri, UriComponents.Scheme, UriFormat.UriEscaped, StringComparison.OrdinalIgnoreCase) == 0)
392Uri packageUri;
393Uri partUri;
406static internal Uri ConvertPackUriToAbsoluteExternallyVisibleUri(Uri packUri)
410Uri relative = MakeRelativeToSiteOfOriginIfPossible(packUri);
427static internal Uri FixFileUri(Uri uri)
429if (uri != null && uri.IsAbsoluteUri && SecurityHelper.AreStringTypesEqual(uri.Scheme, Uri.UriSchemeFile) &&
430string.Compare(uri.OriginalString, 0, Uri.UriSchemeFile, 0, Uri.UriSchemeFile.Length, StringComparison.OrdinalIgnoreCase) != 0)
441static internal Uri BaseUri
481static internal Uri AppendAssemblyVersion(Uri uri, Assembly assemblyInfo)
483Uri source = null;
484Uri baseUri = null;
580internal static Uri GetBaseUriCore(DependencyObject element)
582Uri baseUri = null;
601baseUri = doCurrent.GetValue(BaseUriProperty) as Uri;
src\Framework\MS\Internal\AppModel\AppModelKnownContentFactory.cs (4)
43internal static object BamlConverter(Stream stream, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter)
55Uri partUri = PackUriHelper.GetPartUri(baseUri);
81internal static object XamlConverter(Stream stream, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter)
131internal static object HtmlXappConverter(Stream stream, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter)
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (21)
66internal static void SafeLaunchBrowserDemandWhenUnsafe( Uri originatingUri, Uri destinationUri, bool fIsTopLevel )
85internal static LaunchResult SafeLaunchBrowserOnlyIfPossible(Uri originatingUri, Uri destinationUri, bool fIsTopLevel)
108internal static LaunchResult SafeLaunchBrowserOnlyIfPossible(Uri originatingUri, Uri destinationUri, string targetName, bool fIsTopLevel )
112bool isKnownScheme = (Object.ReferenceEquals(destinationUri.Scheme, Uri.UriSchemeHttp)) ||
113(Object.ReferenceEquals(destinationUri.Scheme, Uri.UriSchemeHttps)) ||
116bool fIsMailTo = String.Compare(destinationUri.Scheme, Uri.UriSchemeMailto, StringComparison.OrdinalIgnoreCase) == 0 ;
176internal static void UnsafeLaunchBrowser(Uri uri, string targetFrame = null)
202internal static void ShellExecuteDefaultBrowser(Uri uri)
215if (uri.Scheme != Uri.UriSchemeHttp && uri.Scheme != Uri.UriSchemeHttps)
234private static string GetHeaders(Uri destinationUri)
262private static LaunchResult CanNavigateToUrlWithZoneCheck( Uri originatingUri, Uri destinationUri )
281Uri sourceUri = null;
406private static LaunchResult CheckBlockNavigation(Uri originatingUri, Uri destinationUri, bool fEnabled )
444private static bool IsZoneElevationSettingPrompt( Uri target )
554internal static int MapUrlToZone(Uri url)
src\Framework\MS\Internal\AppModel\MimeObjectFactory.cs (2)
27internal delegate object StreamToObjectFactoryDelegate(Stream s, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter);
41internal static object GetObjectAndCloseStream(Stream s, ContentType contentType, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter)
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (36)
68_predefinedNamespaces = new Dictionary<Uri, IList<Uri>>(6);
111public XmlStreamStore(Stream stream, IDictionary<Uri, IList<Uri>> knownNamespaces)
418public static IList<Uri> GetWellKnownCompatibleNamespaces(Uri name)
486public IList<Uri> IgnoredNamespaces
497public static IList<Uri> WellKnownNamespaces
501Uri[] res = new Uri[_predefinedNamespaces.Keys.Count];
753private void LoadStream(IDictionary<Uri, IList<Uri>> knownNamespaces)
797private void CheckKnownNamespaces(IDictionary<Uri, IList<Uri>> knownNamespaces)
802IList<Uri> allNamespaces = new List<Uri>();
805foreach (Uri name in _predefinedNamespaces.Keys)
811foreach (Uri knownNamespace in knownNamespaces.Keys)
825foreach (KeyValuePair<Uri, IList<Uri>> item in knownNamespaces)
829foreach (Uri name in item.Value)
853private XmlCompatibilityReader SetupReader(IDictionary<Uri, IList<Uri>> knownNamespaces)
858foreach (Uri name in _predefinedNamespaces.Keys)
866foreach (Uri knownNamespace in knownNamespaces.Keys)
881foreach (KeyValuePair<Uri, IList<Uri>> item in knownNamespaces)
885foreach (Uri name in item.Value)
916if (!Uri.IsWellFormedUriString(xmlNamespace, UriKind.RelativeOrAbsolute))
920Uri namespaceUri = new Uri(xmlNamespace, UriKind.RelativeOrAbsolute);
1028private void SetStream(Stream stream, IDictionary<Uri, IList<Uri>> knownNamespaces)
1072List<Uri> _ignoredNamespaces = new List<Uri>();
1083private static readonly Dictionary<Uri, IList<Uri>> _predefinedNamespaces;
src\Framework\System\Windows\Application.cs (30)
455public static void LoadComponent(Object component, Uri resourceLocator)
473Uri currentUri = new Uri(BaseUriHelper.PackAppBaseUri, resourceLocator);
548public static object LoadComponent(Uri resourceLocator)
579internal static object LoadComponent(Uri resourceLocator, bool bSkipJournaledProperties)
591Uri packUri = BindUriHelper.GetResolvedUri(BaseUriHelper.PackAppBaseUri, resourceLocator);
700public static StreamResourceInfo GetResourceStream(Uri uriResource)
738public static StreamResourceInfo GetContentStream(Uri uriContent)
771public static StreamResourceInfo GetRemoteStream(Uri uriRemote)
789Uri resolvedUri = BindUriHelper.GetResolvedUri(BaseUriHelper.SiteOfOriginBaseUri, uriRemote);
793Uri packageUri;
794Uri partUri;
855public static string GetCookie(Uri uri)
868public static void SetCookie(Uri uri, string value)
1100public Uri StartupUri
1661Uri relativeUri = BindUriHelper.GetUriRelativeToPackAppBase(StartupUri);
2181internal Uri ApplicationMarkupBaseUri
2254private static PackagePart GetResourceOrContentPart(Uri uri)
2259Uri packAppUri = BaseUriHelper.PackAppBaseUri;
2260Uri resolvedUri = BindUriHelper.GetResolvedUri(packAppUri, uri);
2264Uri packageUri;
2265Uri partUri;
2290private static Package GetResourcePackage(Uri packageUri)
2295Uri packUri = PackUriHelper.Create(packageUri);
2532private void ConfigAppWindowAndRootElement(object root, Uri uri)
2656private static bool IsComponentBeingLoadedFromOuterLoadBaml(Uri curComponentUri)
2786private Uri _startupUri;
2787private Uri _applicationMarkupBaseUri;
2877internal NestedBamlLoadInfo(Uri uri, Stream stream, bool bSkipJournalProperty)
2889internal Uri BamlUri
2917private Uri _BamlUri = null;
src\Framework\System\Windows\Documents\FixedSchema.cs (22)
74Uri packageUri,
75Uri baseUri
131Uri packageUri,
132Uri baseUri)
168Uri targetUri = PackUriHelper.ResolvePartUri(_baseUri, new Uri(uriAttr, UriKind.Relative));
169Uri absTargetUri = PackUriHelper.Create(_packageUri, targetUri);
227private Uri _packageUri;
228private Uri _baseUri;
271public virtual void ValidateRelationships(SecurityCriticalData<Package> package, Uri packageUri, Uri partUri, ContentType mimeType)
578public override void ValidateRelationships(SecurityCriticalData<Package> package, Uri packageUri, Uri partUri, ContentType mimeType)
596Uri targetUri = PackUriHelper.ResolvePartUri(partUri, rel.TargetUri);
597Uri absTargetUri = PackUriHelper.Create(packageUri, targetUri);
618Uri targetUri = PackUriHelper.ResolvePartUri(partUri, rel.TargetUri);
619Uri absTargetUri = PackUriHelper.Create(packageUri, targetUri);
638Uri targetUri = PackUriHelper.ResolvePartUri(partUri, rel.TargetUri);
639Uri absTargetUri = PackUriHelper.Create(packageUri, targetUri);
666Uri targetUri = PackUriHelper.ResolvePartUri(partUri, rel.TargetUri);
667Uri absTargetUri = PackUriHelper.Create(packageUri, targetUri);
689Uri targetUri = PackUriHelper.ResolvePartUri(partUri, rel.TargetUri);
690Uri absTargetUri = PackUriHelper.Create(packageUri, targetUri);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (10)
1215public LogicalHyperlink(Uri uri, Geometry geom, UIElement uiElement)
1224public Uri Uri
1270private Uri _uri;
1294public void AddLogicalHyperlink(Uri uri, Geometry geometry, UIElement uiElement)
1303public Uri GetUri(FixedSOMElement element, FixedPage p, out UIElement shadowElement)
1313Uri relUri = FixedPage.GetNavigateUri(e);
1447Uri navUri = FixedPage.GetNavigateUri(child);
1500Uri navUri = _logicalHyperlinkContainer.GetUri(element, page, out shadowHyperlink);
1759private void _SetHyperlink(Uri navUri, FixedNode node, UIElement shadowHyperlink)
1834private Uri _currentNavUri;
src\Framework\System\Windows\Documents\XPSS0ValidatingLoader.cs (11)
30internal object Load(Stream stream, Uri parentUri, ParserContext pc, ContentType mimeType)
35internal void Validate(Stream stream, Uri parentUri, ParserContext pc, ContentType mimeType, string rootElement)
56private object Load(Stream stream, Uri parentUri, ParserContext pc, ContentType mimeType, string rootElement)
70Uri uri = pc.BaseUri;
74Uri packageUri;
75Uri partUri;
80Uri parentPackageUri = null;
112Uri targetUri = PackUriHelper.ResolvePartUri(partUri, relationShip.TargetUri);
113Uri absTargetUri = PackUriHelper.Create(packageUri, targetUri);
177internal void UriHitHandler(int node,Uri uri)
201foreach (Uri resUri in validResources.Keys)
src\Framework\System\Windows\Markup\WpfXamlLoader.cs (4)
17public static object Load(System.Xaml.XamlReader xamlReader, bool skipJournaledProperties, Uri baseUri)
26bool skipJournaledProperties, Object rootObject, XamlObjectWriterSettings parentSettings, Uri baseUri)
34Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
68bool skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
src\Framework\System\Windows\Navigation\NavigationService.cs (61)
120Uri bpu = e.Uri;
243static private bool IsSameUri(Uri baseUri, Uri a, Uri b, bool withFragment)
254Uri aResolved = BindUriHelper.GetResolvedUri(baseUri, a);
255Uri bResolved = BindUriHelper.GetResolvedUri(baseUri, b);
282private void NavigateToFragmentOrCustomContentState(Uri uri, object navState)
335Uri resolvedUri = BindUriHelper.GetResolvedUri(_currentSource, uri);
560private bool ShouldDelegateXamlViewerNavigationToBrowser(NavigateInfo navigateInfo, Uri resolvedUri)
590Uri source = _currentSource;
892private void SetBaseUri(DependencyObject dobj, Uri fullUri)
896Uri curBaseUri;
901curBaseUri = (Uri)(dobj.GetValue(BaseUriHelper.BaseUriProperty));
909Uri baseUri = fullUri;
1003private bool HookupNewTree(Object newTree, NavigateInfo navInfo, Uri newUri)
1125private bool OnBeforeSwitchContent(Object newBP, NavigateInfo navInfo, Uri newUri)
1274void IContentContainer.OnContentReady(ContentType contentType, Object bp, Uri bpu, Object navState)
1307Uri bpuClean = BindUriHelper.GetUriRelativeToPackAppBase(bpu);
1397void IContentContainer.OnNavigationProgress(Uri sourceUri, long bytesRead, long maxBytes)
1446void IContentContainer.OnStreamClosed(Uri sourceUri)
1504public Uri Source
1545public Uri CurrentSource
1640public bool Navigate(Uri source)
1661public bool Navigate(Uri source, Object navigationState)
1670public bool Navigate(Uri source, Object navigationState, bool sandboxExternalContent)
1680internal bool Navigate(Uri source, Object navigationState, bool sandboxExternalContent, bool navigateOnSourceChanged)
1701Uri resolvedSource = null;
1843Uri source = navigateInfo == null ? null : navigateInfo.Source;
2210private bool FireNavigating(Uri source, Object bp, Object navState, WebRequest request)
2213Uri cleanSource = BindUriHelper.GetUriRelativeToPackAppBase(source);
2279private bool HandleNavigating(Uri source, Object content, Object navState, WebRequest newRequest, bool navigateOnSourceChanged)
2552private void FireNavigationProgress(Uri source)
2845internal void DoNavigate(Uri source, NavigationMode f, Object navState)
2870Uri requestUri = BindUriHelper.GetUriRelativeToPackAppBase(_request.RequestUri);
2955private WebRequest CreateWebRequest(Uri resolvedDestinationUri, NavigateInfo navInfo)
3131private void GetObjectFromResponse(WebRequest request, WebResponse response, Uri destinationUri, Object navState)
3143Uri requestUri = BindUriHelper.GetUriRelativeToPackAppBase(_request.RequestUri);
3150Uri cleanSource = BindUriHelper.GetUriRelativeToPackAppBase(destinationUri);
3242private void DelegateToBrowser(bool isPack, Uri destinationUri)
3317Uri source = navigateInfo == null ? null : navigateInfo.Source;
3320Uri resolvedSource = BindUriHelper.GetResolvedUri(null, source);
3462Uri baseUri = pfBase.GetValue(BaseUriHelper.BaseUriProperty) as Uri;
3468Uri markupUri;
4360private Uri _currentSource;
4361private Uri _currentCleanSource;
4479internal RequestState(WebRequest request, Uri source, Object navState, Dispatcher callbackDispatcher)
4495internal Uri Source
4520private Uri _source;
4536internal BPReadyEventArgs(Object content, Uri uri)
4554internal Uri Uri
4563Uri _uri;
4571internal NavigateInfo(Uri source)
4576internal NavigateInfo(Uri source, NavigationMode navigationMode)
4582internal NavigateInfo(Uri source, NavigationMode navigationMode, JournalEntry journalEntry)
4589internal Uri Source
4626private Uri _source;
4642internal PageFunctionReturnInfo(PageFunctionBase finishingChildPageFunction, Uri source, NavigationMode navigationMode, JournalEntry journalEntry, object returnEventArgs)
4668internal NavigateQueueItem(Uri source, object content, NavigationMode mode, Object navState, NavigationService nc)
4705internal Uri Source
4740Uri _source;
System\ServiceModel\ChannelFactory.cs (6)
687public virtual TChannel CreateChannel(EndpointAddress address, Uri via)
743public TChannel CreateChannelWithIssuedToken(SecurityToken issuedToken, EndpointAddress address, Uri via)
770public TChannel CreateChannelWithActAsToken(SecurityToken actAsToken, EndpointAddress address, Uri via)
797public TChannel CreateChannelWithOnBehalfOfToken(SecurityToken onBehalfOf, EndpointAddress address, Uri via)
812internal UChannel CreateChannel<UChannel>(EndpointAddress address, Uri via)
900public static TChannel CreateChannel(Binding binding, EndpointAddress endpointAddress, Uri via)
System\ServiceModel\Channels\Addressing.cs (15)
349Uri to;
355protected ToHeader(Uri to, AddressingVersion version)
391public Uri To
396public static ToHeader Create(Uri toUri, XmlDictionaryString dictionaryTo, AddressingVersion addressingVersion)
414public static ToHeader Create(Uri to, AddressingVersion addressingVersion)
438public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
443public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, UriCache uriCache)
465Uri to = ReadHeaderValue(reader, version, uriCache);
504public DictionaryToHeader(Uri to, XmlDictionaryString dictionaryTo, AddressingVersion version)
522public FullToHeader(Uri to, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
764internal static readonly Uri ReplyRelationshipType = new Uri(Addressing10Strings.ReplyRelationship);
787public virtual Uri RelationshipType
801public static RelatesToHeader Create(UniqueId messageId, AddressingVersion addressingVersion, Uri relationshipType)
824public static void ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, out Uri relationshipType, out UniqueId messageId)
849Uri relationship;
System\ServiceModel\Channels\BaseUriWithWildcard.cs (13)
18Uri baseAddress;
33public BaseUriWithWildcard(Uri baseAddress, HostNameComparisonMode hostNameComparisonMode)
94internal Uri BaseAddress
179if (protocol.Equals(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase))
183return new BaseUriWithWildcard(Uri.UriSchemeHttp, HttpUriDefaultPort, binding, 3, path, ":80:");
185else if (protocol.Equals(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase))
188return new BaseUriWithWildcard(Uri.UriSchemeHttps, HttpsUriDefaultPort, binding, 3, path, ":443:");
190else if (protocol.Equals(Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase))
193return new BaseUriWithWildcard(Uri.UriSchemeNetTcp, TcpUri.DefaultPort, binding, 2, path, "808:*");
195else if (protocol.Equals(Uri.UriSchemeNetPipe, StringComparison.OrdinalIgnoreCase))
214return new BaseUriWithWildcard(Uri.UriSchemeNetPipe, -1, binding, 1, path, "*");
238internal bool IsBaseOf(Uri fullAddress)
322if ((this.comparand.Port == -1) && ((object)this.comparand.Scheme == (object)Uri.UriSchemeNetTcp))
System\ServiceModel\Channels\Binding.cs (6)
205public virtual IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, params object[] parameters)
211public virtual IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, params object[] parameters)
217public virtual IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, ListenUriMode listenUriMode, params object[] parameters)
230public virtual IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, BindingParameterCollection parameters)
236public virtual IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, BindingParameterCollection parameters)
242public virtual IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters)
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (10)
20Uri via;
22protected ClientReliableChannelBinder(EndpointAddress to, Uri via, IChannelFactory<TChannel> factory,
83public Uri Via
125public static IClientReliableChannelBinder CreateBinder(EndpointAddress to, Uri via,
322public DuplexClientReliableChannelBinder(EndpointAddress to, Uri via,
412public DuplexClientReliableChannelBinder(EndpointAddress to, Uri via,
443public DuplexSessionClientReliableChannelBinder(EndpointAddress to, Uri via,
500public RequestClientReliableChannelBinder(EndpointAddress to, Uri via,
670public RequestClientReliableChannelBinder(EndpointAddress to, Uri via,
701public RequestSessionClientReliableChannelBinder(EndpointAddress to, Uri via,
System\ServiceModel\Channels\Connection.cs (6)
40IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state);
47IConnection Connect(Uri uri, TimeSpan timeout);
48IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state);
120public virtual IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
431public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
674public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
System\ServiceModel\Channels\FramingChannels.cs (10)
26EndpointAddress localAddress, Uri localVia, EndpointAddress remoteAddresss, Uri via, bool exposeConnectionProperty)
33EndpointAddress remoteAddresss, Uri via, bool exposeConnectionProperty)
41EndpointAddress localAddress, Uri localVia, bool exposeConnectionProperty)
191EndpointAddress remoteAddresss, Uri via, IConnectionInitiator connectionInitiator, ConnectionPool connectionPool,
940Uri via, string contentType, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
952Uri via, string contentType, ref TimeoutHelper timeoutHelper)
1045public static bool ValidatePreambleResponse(byte[] buffer, int count, ClientFramingDecoder decoder, Uri via)
1093Uri via;
1099Uri via, string contentType, ref TimeoutHelper timeoutHelper,
System\ServiceModel\Channels\HttpChannelFactory.cs (33)
47volatile MruCache<Uri, Uri> credentialCacheUriPrefixCache;
275return Uri.UriSchemeHttp;
367internal Exception CreateToMustEqualViaException(Uri to, Uri via)
394EndpointAddress target, Uri via, ChannelParameterCollection channelParameters)
428protected virtual void ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
438protected override TChannel OnCreateChannel(EndpointAddress remoteAddress, Uri via)
444Uri httpVia = WebSocketHelper.IsWebSocketUri(via) ? WebSocketHelper.NormalizeWsSchemeWithHttpScheme(via) : via;
448protected virtual TChannel OnCreateChannelCore(EndpointAddress remoteAddress, Uri via)
703Uri GetCredentialCacheUriPrefix(Uri via)
705Uri result;
713this.credentialCacheUriPrefixCache = new MruCache<Uri, Uri>(10);
731HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, NetworkCredential credential,
735Uri httpWebRequestUri = isWebSocketRequest ? WebSocketHelper.GetWebSocketUri(via) : via;
814void ApplyManualAddressing(ref EndpointAddress to, ref Uri via, Message message)
818Uri toHeader = message.Headers.To;
856void CreateAndOpenTokenProvidersCore(EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout, out SecurityTokenProviderContainer tokenProvider, out SecurityTokenProviderContainer proxyTokenProvider)
870internal void CreateAndOpenTokenProviders(EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout, out SecurityTokenProviderContainer tokenProvider, out SecurityTokenProviderContainer proxyTokenProvider)
883internal HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, SecurityTokenProviderContainer tokenProvider,
920public HttpRequestChannel(HttpChannelFactory<IRequestChannel> factory, EndpointAddress to, Uri via, bool manualAddressing)
1107public virtual HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper)
1112protected HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper)
1147EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
1153EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
1178Uri via;
1404Uri via;
1932Uri via;
1935EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper,
2116Uri address;
2120public WebProxyFactory(Uri address, bool bypassOnLocal, AuthenticationSchemes authenticationScheme)
System\ServiceModel\Channels\HttpsChannelFactory.cs (11)
45return Uri.UriSchemeHttps;
96protected override void ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
127protected override TChannel OnCreateChannelCore(EndpointAddress address, Uri via)
185internal SecurityTokenProvider CreateAndOpenCertificateTokenProvider(EndpointAddress target, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout)
207EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, ref TimeoutHelper timeoutHelper)
287public HttpsRequestChannel(HttpsChannelFactory<IRequestChannel> factory, EndpointAddress to, Uri via, bool manualAddressing)
356public IAsyncResult BeginBaseGetWebRequest(EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
366public override HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper)
374public override IAsyncResult BeginGetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
406Uri via;
412public GetWebRequestAsyncResult(HttpsRequestChannel httpsChannel, EndpointAddress to, Uri via,
System\ServiceModel\Channels\InternalDuplexChannelFactory.cs (3)
51protected override IDuplexChannel OnCreateChannel(EndpointAddress address, Uri via)
75public IDuplexChannel CreateChannel(EndpointAddress address, Uri via, MessageFilter filter, int priority, bool usesUniqueHeader)
80public IDuplexChannel CreateChannel(EndpointAddress remoteAddress, Uri via, EndpointAddress localAddress, MessageFilter filter, int priority, bool usesUniqueHeader)
System\ServiceModel\Channels\MessageBuffer.cs (1)
83Uri to;
System\ServiceModel\Channels\MsmqUri.cs (20)
80public static string UriToFormatNameByScheme(Uri uri)
124string UriToFormatName(Uri uri);
125Uri CreateUri(string host, string name, bool isPrivate);
135public string UriToFormatName(Uri uri)
161MsmqUri.AppendQueueName(builder, Uri.UnescapeDataString(uri.PathAndQuery), "\\");
166public Uri CreateUri(string host, string name, bool isPrivate)
185public virtual string UriToFormatName(Uri uri)
205MsmqUri.AppendQueueName(builder, Uri.UnescapeDataString(uri.PathAndQuery), "\\");
210public Uri CreateUri(string host, string name, bool isPrivate)
221protected virtual Uri PostVerify(Uri uri)
229public override string UriToFormatName(Uri uri)
237protected override Uri PostVerify(Uri uri)
265public string UriToFormatName(Uri uri)
284string relativePath = Uri.UnescapeDataString(uri.PathAndQuery);
293public Uri CreateUri(string host, string name, bool isPrivate)
328public string UriToFormatName(Uri uri)
334return Uri.UnescapeDataString(uri.AbsoluteUri.Substring(this.Scheme.Length + 1));
337public Uri CreateUri(string host, string name, bool isPrivate)
System\ServiceModel\Channels\PeerMessageDispatcher.cs (10)
44Uri via;
53public PeerMessageDispatcher(PeerMessageQueueAdapter queueHandler, PeerNodeImplementation peerNode, ChannelManagerBase channelManager, EndpointAddress to, Uri via)
153Uri via;
154Uri actingAs;
156public PeerMessageFilter(Uri via) : this(via, null) { }
157public PeerMessageFilter(Uri via, EndpointAddress to)
165public bool Match(Uri peerVia, Uri toCond)
172else if (Uri.Compare(this.via, peerVia,
180result = Uri.Compare(this.actingAs, toCond,
System\ServiceModel\Channels\PeerNodeImplementation.cs (36)
31Uri listenUri;
76Dictionary<Uri, RefCountedSecurityProtocol> uri2SecurityProtocol;
102uri2SecurityProtocol = new Dictionary<Uri, RefCountedSecurityProtocol>();
161public Uri ListenUri
344public Guid ProcessOutgoingMessage(Message message, Uri via)
365public void SecureOutgoingMessage(ref Message message, Uri via, TimeSpan timeout, SecurityProtocol securityProtocol)
373public IAsyncResult BeginSend(object registrant, Message message, Uri via,
685bool CompareVia(Uri via1, Uri via2)
687return (Uri.Compare(via1, via2,
747static internal Dictionary<Uri, PeerNodeImplementation> peerNodes = new Dictionary<Uri, PeerNodeImplementation>();
749internal static PeerNodeImplementation Get(Uri listenUri)
760internal protected static bool TryGet(Uri listenUri, out PeerNodeImplementation result)
775Uri baseUri = new UriBuilder(PeerStrings.Scheme, listenUri.Host).Uri;
798public static PeerNodeImplementation Get(Uri listenUri, Registration registration)
810Uri baseUri = new UriBuilder(PeerStrings.Scheme, listenUri.Host).Uri;
874bool IPeerNodeMessageHandling.ValidateIncomingMessage(ref Message message, Uri via)
891internal bool TryGetSecurityProtocol(Uri via, out SecurityProtocol protocol)
908int index, MessageHeader hopHeader, Uri via, Uri to)
1408Uri via,
1409Uri peerTo,
1420Uri to = peerTo;
1577internal void RegisterMessageFilter(object registrant, Uri via, PeerMessageFilter[] filters,
1657internal void UnregisterMessageFilter(object registrant, Uri via)
1673internal static void ValidateVia(Uri uri)
1684public Uri via;
1704Uri listenUri;
1712public Registration(Uri listenUri, IPeerFactory factory)
1750public void CheckIfCompatible(PeerNodeImplementation peerNode, Uri via)
1871bool IPeerNodeMessageHandling.IsKnownVia(Uri via)
1901void HandleIncomingMessage(MessageBuffer messageBuffer, PeerMessagePropagation propagateFlags, int index, MessageHeader header, Uri via, Uri to);
1904bool ValidateIncomingMessage(ref Message data, Uri via);
1905bool IsKnownVia(Uri via);
System\ServiceModel\Channels\PipeConnection.cs (26)
1096public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
1644Exception CreateConnectFailedException(Uri remoteUri, PipeException innerException)
1650public IConnection Connect(Uri remoteUri, TimeSpan timeout)
1680internal static string GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings)
1764public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state)
1774void PrepareConnect(Uri remoteUri, TimeSpan timeout, out string resolvedAddress, out BackoffTimeoutHelper backoffHelper)
1799IConnection TryConnect(Uri remoteUri, string resolvedAddress, BackoffTimeoutHelper backoffHelper)
1886Uri remoteUri;
1893public ConnectAsyncResult(PipeConnectionInitiator parent, Uri remoteUri, TimeSpan timeout,
1969Uri pipeUri;
1981public PipeConnectionListener(Uri pipeUri, HostNameComparisonMode hostNameComparisonMode, int bufferSize,
2165Uri tempUri = new Uri(pipeUri, Guid.NewGuid().ToString());
2505Uri pipeUri;
2507PipeSharedMemory(SafeFileMappingHandle fileMapping, Uri pipeUri)
2512PipeSharedMemory(SafeFileMappingHandle fileMapping, Uri pipeUri, string pipeName)
2519public static PipeSharedMemory Create(List<SecurityIdentifier> allowedSids, Uri pipeUri, string sharedMemoryName)
2533public unsafe static bool TryCreate(List<SecurityIdentifier> allowedSids, Uri pipeUri, string sharedMemoryName, out PipeSharedMemory result)
2607public static PipeSharedMemory Open(string sharedMemoryName, Uri pipeUri)
2711public static Exception CreatePipeNameInUseException(int error, Uri pipeUri)
2717static Exception CreatePipeNameCannotBeAccessedException(int error, Uri pipeUri)
2753public static string BuildSharedMemoryName(Uri uri, HostNameComparisonMode hostNameComparisonMode, bool global)
2800builder.Append(Uri.UriSchemeNetPipe);
2834builder.Append(Uri.UriSchemeNetPipe);
2859public static string GetPath(Uri uri)
2876public static void Validate(Uri uri)
2878if (uri.Scheme != Uri.UriSchemeNetPipe)
System\ServiceModel\Channels\SecurityChannelFactory.cs (10)
195protected override TChannel OnCreateChannel(EndpointAddress address, Uri via)
315Uri via;
320UChannel innerChannel, EndpointAddress to, Uri via)
339public Uri Via
542public SecurityOutputChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IOutputChannel innerChannel, EndpointAddress to, Uri via)
581public SecurityOutputSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IOutputSessionChannel innerChannel, EndpointAddress to, Uri via)
597public SecurityRequestChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IRequestChannel innerChannel, EndpointAddress to, Uri via)
690public SecurityRequestSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IRequestSessionChannel innerChannel, EndpointAddress to, Uri via)
706public SecurityDuplexChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IDuplexChannel innerChannel, EndpointAddress to, Uri via)
845public SecurityDuplexSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IDuplexSessionChannel innerChannel, EndpointAddress to, Uri via)
System\ServiceModel\Channels\ServerWebSocketTransportDuplexSessionChannel.cs (1)
28Uri localVia,
System\ServiceModel\Channels\ServiceChannelFactory.cs (10)
326public virtual ServiceChannel CreateServiceChannel(EndpointAddress address, Uri via)
348public TChannel CreateChannel<TChannel>(EndpointAddress address, Uri via)
366public object CreateChannel(Type channelType, EndpointAddress address, Uri via)
423protected abstract IChannelBinder CreateInnerChannelBinder(EndpointAddress address, Uri via);
505protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
524protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
544protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
565protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
602protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
628protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
System\ServiceModel\Channels\SharedConnectionListener.cs (9)
39Func<Uri, int> onDuplicatedViaCallback;
43Func<Uri, int> onDuplicatedViaCallback)
325Func<Uri, int> onDuplicatedViaCallback;
339this.isTcp = parent.baseAddress.BaseAddress.Scheme.Equals(Uri.UriSchemeNetTcp);
767IAsyncResult BeginValidateUriRoute(Uri uri, IPAddress address, int port, AsyncCallback callback, object state)
803Uri uri;
808public ValidateUriRouteAsyncResult(SharedListenerProxy proxy, Uri uri, IPAddress address, int port, AsyncCallback callback, object state)
1021public override IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
1061public override IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
System\ServiceModel\Channels\SocketConnection.cs (9)
671public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
1581public static Exception ConvertConnectException(SocketException socketException, Uri remoteUri, TimeSpan timeSpent, Exception innerException)
1628static IPAddress[] GetIPAddresses(Uri uri)
1658static TimeoutException CreateTimeoutException(Uri uri, TimeSpan timeout, IPAddress[] addresses, int invalidAddressCount,
1681public IConnection Connect(Uri uri, TimeSpan timeout)
1751public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state)
1768public static void TraceConnectFailure(Socket socket, SocketException socketException, Uri remoteUri,
1790Uri uri;
1794public ConnectAsyncResult(Uri uri, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\TransportChannelListener.cs (25)
29Uri baseUri;
38Uri uri;
148internal Uri BaseUri
273public override Uri Uri
304internal bool IsScopeIdCompatible(HostNameComparisonMode hostNameComparisonMode, Uri uri)
338static Uri AddSegment(Uri baseUri, Uri fullUri)
340Uri result = null;
350Uri relativeUri = baseUri.MakeRelativeUri(fullUri);
365internal abstract ITransportManagerRegistration CreateTransportManagerRegistration(Uri listenUri);
549Uri nextUri = AddSegment(registration.ListenUri, this.Uri);
572if ((String.Compare(this.Uri.Scheme, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0) ||
573(String.Compare(this.Uri.Scheme, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0)
580else if ((String.Compare(this.Uri.Scheme, Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase) == 0) ||
581(String.Compare(this.Uri.Scheme, Uri.UriSchemeNetPipe, StringComparison.OrdinalIgnoreCase) == 0)
594protected void SetUri(Uri baseAddress, string relativeAddress)
596Uri fullUri = baseAddress;
623protected virtual void ValidateUri(Uri uri)
665Uri ListenUri { get; }
672Uri listenUri;
674protected TransportManagerRegistration(Uri listenUri, HostNameComparisonMode hostNameComparisonMode)
685public Uri ListenUri
698Uri uri;
700public UriTraceRecord(Uri uri)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (15)
46public static bool AddIdentityMapping(Uri via, EndpointAddress target)
91public static void RemoveIdentityMapping(Uri via, EndpointAddress target, bool validateState)
136Fx.Assert(request.RequestUri.Scheme == Uri.UriSchemeHttps,
343public static SecurityTokenRequirement CreateSspiTokenRequirement(string transportScheme, Uri listenUri)
353static SecurityTokenRequirement CreateSspiTokenRequirement(EndpointAddress target, Uri via, string transportScheme)
365SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, AuthenticationSchemes authenticationScheme, ChannelParameterCollection channelParameters)
385SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme,
405SecurityTokenManager tokenManager, EndpointAddress target, Uri via,
427public static SecurityTokenAuthenticator GetCertificateTokenAuthenticator(SecurityTokenManager tokenManager, string transportScheme, Uri listenUri)
440SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, ChannelParameterCollection channelParameters)
507EndpointAddress target, Uri via, string transportScheme)
519SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, AuthenticationSchemes authenticationScheme,
536public static Uri GetListenUri(Uri baseAddress, string relativeAddress)
538Uri fullUri = baseAddress;
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (6)
140Uri from = null;
154Uri from = null;
209public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, Uri from, string action, string callerIdentity,
245public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, Uri from, string action, string callerIdentity,
256public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, Uri from, string action, string callerIdentity,
391public static void Trace(TraceEventType type, int traceCode, string description, Uri address, Type contractType)
System\ServiceModel\Configuration\Properties.cs (28)
142properties.Add(new ConfigurationProperty("clientCallbackAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
169properties.Add(new ConfigurationProperty("clientCallbackAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
195properties.Add(new ConfigurationProperty("clientCallbackAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
391properties.Add(new ConfigurationProperty("prefix", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey));
647properties.Add(new ConfigurationProperty("address", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
706properties.Add(new ConfigurationProperty("viaUri", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
885properties.Add(new ConfigurationProperty("clientBaseAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
1118properties.Add(new ConfigurationProperty("address", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.IsRequired));
1258properties.Add(new ConfigurationProperty("proxyAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
1369properties.Add(new ConfigurationProperty("proxyAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
1803properties.Add(new ConfigurationProperty("customDeadLetterQueue", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
1914properties.Add(new ConfigurationProperty("customDeadLetterQueue", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
2520properties.Add(new ConfigurationProperty("address", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
2676properties.Add(new ConfigurationProperty("url", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
2735properties.Add(new ConfigurationProperty("proxyAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
3170properties.Add(new ConfigurationProperty("address", typeof(System.Uri), "", null, null, System.Configuration.ConfigurationPropertyOptions.IsKey));
3181properties.Add(new ConfigurationProperty("listenUri", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
3313properties.Add(new ConfigurationProperty("externalMetadataLocation", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
3315properties.Add(new ConfigurationProperty("httpGetUrl", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
3317properties.Add(new ConfigurationProperty("httpsGetUrl", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
3784properties.Add(new ConfigurationProperty("clientBaseAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
3790properties.Add(new ConfigurationProperty("proxyAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
4187properties.Add(new ConfigurationProperty("targetUri", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey));
4397properties.Add(new ConfigurationProperty("privacyNoticeAt", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
4503properties.Add(new ConfigurationProperty("httpHelpPageUrl", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
4505properties.Add(new ConfigurationProperty("httpsHelpPageUrl", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
4537properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpGetUrl, typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
4539properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpsGetUrl, typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Description\ConfigLoader.cs (7)
381public void LoadHostConfig(ServiceElement serviceElement, ServiceHostBase host, System.Action<Uri> addBaseAddress)
411Uri uri;
412if (!Uri.TryCreate(cookedAddress, UriKind.Absolute, out uri))
437public void LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, System.Action<Uri> addBaseAddress, bool skipHost = false)
494Uri address = endpointElement.Address;
504Uri via = ServiceHost.MakeAbsoluteUri(address, binding, host.InternalBaseAddresses);
984Uri via = ServiceHost.MakeAbsoluteUri(serviceEndpointElement.Address, endpoint.Binding, host.InternalBaseAddresses);
System\ServiceModel\Description\DispatcherBuilder.cs (14)
133Uri listenUri;
136public ListenUriInfo(Uri listenUri, ListenUriMode listenUriMode)
142public Uri ListenUri
241Uri listenUri,
250Uri listenUriBaseAddress;
379Uri listenUriBaseAddress, string listenUriRelativeAddress,
389Uri listenUriBaseAddress, string listenUriRelativeAddress,
540static Uri EnsureListenUri(ServiceHostBase serviceHost, ServiceEndpoint endpoint)
542Uri listenUri = endpoint.ListenUri;
555void GetBaseAndRelativeAddresses(ServiceHostBase serviceHost, Uri listenUri, string scheme, out Uri listenUriBaseAddress, out string listenUriRelativeAddress)
563Uri baseAddress = serviceHost.InternalBaseAddresses[scheme];
621Uri listenUri = EnsureListenUri(host, endpoint);
687Uri listenUri = stuff.Key.ListenUri;
System\ServiceModel\Description\MetadataExchangeClient.cs (24)
40Uri ctorUri = null;
51public MetadataExchangeClient(Uri address, MetadataExchangeClientMode mode)
210bool IsHttpOrHttps(Uri address)
212return address.Scheme == Uri.UriSchemeHttp || address.Scheme == Uri.UriSchemeHttps;
234void Validate(Uri address, MetadataExchangeClientMode mode)
263public IAsyncResult BeginGetMetadata(Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState)
306public Task<MetadataSet> GetMetadataAsync(Uri address, MetadataExchangeClientMode mode)
327public Task<MetadataSet> GetMetadataAsync(EndpointAddress address, Uri via)
351public MetadataSet GetMetadata(Uri address, MetadataExchangeClientMode mode)
378public MetadataSet GetMetadata(EndpointAddress address, Uri via)
443protected internal virtual HttpWebRequest GetWebRequest(Uri location, string dialect, string identifier)
452internal static void TraceSendRequest(Uri address)
621Uri CreateUri(string baseUri, string relativeUri)
737Uri location;
738Uri responseLocation;
740internal MetadataLocationRetriever(Uri location, MetadataExchangeClient resolver)
746internal MetadataLocationRetriever(Uri location, MetadataExchangeClient resolver, string dialect, string identifier)
754internal static void ValidateLocation(Uri location)
761if (location.Scheme != Uri.UriSchemeHttp && location.Scheme != Uri.UriSchemeHttps)
954Uri via;
961public MetadataReferenceRetriever(EndpointAddress address, Uri via, MetadataExchangeClient resolver)
971MetadataReferenceRetriever(EndpointAddress address, Uri via, MetadataExchangeClient resolver, string dialect, string identifier)
System\ServiceModel\Description\MetadataResolver.cs (6)
52public static ServiceEndpointCollection Resolve(Type contract, Uri address, MetadataExchangeClientMode mode)
61public static ServiceEndpointCollection Resolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode)
65public static ServiceEndpointCollection Resolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, MetadataExchangeClient client)
118public static IAsyncResult BeginResolve(Type contract, Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState)
127public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState)
131public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, MetadataExchangeClient client,
System\ServiceModel\Description\ServiceDebugBehavior.cs (19)
22Uri httpHelpPageUrl;
25Uri httpsHelpPageUrl;
39public Uri HttpHelpPageUrl
44if (value != null && value.IsAbsoluteUri && value.Scheme != Uri.UriSchemeHttp)
47"HttpHelpPageUrl", Uri.UriSchemeHttp, value.ToString(), value.Scheme));
62public Uri HttpsHelpPageUrl
67if (value != null && value.IsAbsoluteUri && value.Scheme != Uri.UriSchemeHttps)
70"HttpsHelpPageUrl", Uri.UriSchemeHttps, value.ToString(), value.Scheme));
83if (!value.Scheme.Equals(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase))
86value.Scheme, value.GetType().ToString(), Uri.UriSchemeHttp));
112if (!value.Scheme.Equals(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase))
115value.Scheme, value.GetType().ToString(), Uri.UriSchemeHttps));
184mex.HttpHelpPageUrl = host.GetVia(Uri.UriSchemeHttp, this.httpHelpPageUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpHelpPageUrl);
188mex.HttpsHelpPageUrl = host.GetVia(Uri.UriSchemeHttps, this.httpsHelpPageUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpsHelpPageUrl);
192bool EnsureHelpPageDispatcher(ServiceHostBase host, ServiceMetadataExtension mex, Uri url, string scheme)
194Uri address = host.GetVia(scheme, url == null ? new Uri(string.Empty, UriKind.Relative) : url);
211if (!EnsureHelpPageDispatcher(host, mex, this.httpHelpPageUrl, Uri.UriSchemeHttp))
219if (!EnsureHelpPageDispatcher(host, mex, this.httpsHelpPageUrl, Uri.UriSchemeHttps))
226static void TraceWarning(Uri address, string urlProperty, string enabledProperty)
System\ServiceModel\Description\ServiceMetadataBehavior.cs (25)
24static readonly Uri emptyUri = new Uri(String.Empty, UriKind.Relative);
28Uri httpGetUrl;
29Uri httpsGetUrl;
32Uri externalMetadataLocation = null;
45public Uri HttpGetUrl
50if (value != null && value.IsAbsoluteUri && value.Scheme != Uri.UriSchemeHttp)
53"HttpGetUrl", Uri.UriSchemeHttp, value.ToString(), value.Scheme));
66public Uri HttpsGetUrl
71if (value != null && value.IsAbsoluteUri && value.Scheme != Uri.UriSchemeHttps)
74"HttpsGetUrl", Uri.UriSchemeHttps, value.ToString(), value.Scheme));
88if (!value.Scheme.Equals(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase))
91value.Scheme, value.GetType().ToString(), Uri.UriSchemeHttp));
117if (!value.Scheme.Equals(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase))
120value.Scheme, value.GetType().ToString(), Uri.UriSchemeHttps));
141public Uri ExternalMetadataLocation
146if (value != null && value.IsAbsoluteUri && !(value.Scheme == Uri.UriSchemeHttp || value.Scheme == Uri.UriSchemeHttps))
211httpDispatcherEnabled = EnsureGetDispatcher(host, mex, this.httpGetUrl, Uri.UriSchemeHttp);
216httpsDispatcherEnabled = EnsureGetDispatcher(host, mex, this.httpsGetUrl, Uri.UriSchemeHttps);
233static bool EnsureGetDispatcher(ServiceHostBase host, ServiceMetadataExtension mex, Uri url, string scheme)
235Uri address = host.GetVia(scheme, url == null ? new Uri(string.Empty, UriKind.Relative) : url);
254mex.HttpGetUrl = host.GetVia(Uri.UriSchemeHttp, this.httpGetUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpGetUrl);
255mex.HttpsGetUrl = host.GetVia(Uri.UriSchemeHttps, this.httpsGetUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpsGetUrl);
309bool isListeningOnHttps = channelDispatcher.Listener.Uri.Scheme == Uri.UriSchemeHttps;
310Uri listenUri = channelDispatcher.Listener.Uri;
System\ServiceModel\Description\ServiceMetadataExtension.cs (58)
27static readonly Uri EmptyUri = new Uri(String.Empty, UriKind.Relative);
35Uri externalMetadataLocation;
44Uri mexUrl;
45Uri httpGetUrl;
46Uri httpsGetUrl;
47Uri httpHelpPageUrl;
48Uri httpsHelpPageUrl;
90internal Uri ExternalMetadataLocation
136internal Uri MexUrl
142internal Uri HttpGetUrl
148internal Uri HttpsGetUrl
154internal Uri HttpHelpPageUrl
160internal Uri HttpsHelpPageUrl
195internal static bool TryGetHttpHostAndPort(Uri listenUri, Message request, out string host, out int port)
219Uri hostUri;
220if (!Uri.TryCreate(hostUriString, UriKind.Absolute, out hostUri))
318internal ChannelDispatcher EnsureGetDispatcher(Uri listenUri)
331internal ChannelDispatcher EnsureGetDispatcher(Uri listenUri, bool isServiceDebugBehavior)
338if (listenUri.Scheme == Uri.UriSchemeHttp)
349else if (listenUri.Scheme == Uri.UriSchemeHttps)
362throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.SFxGetChannelDispatcherDoesNotSupportScheme, typeof(ChannelDispatcher).Name, Uri.UriSchemeHttp, Uri.UriSchemeHttps)));
371internal ChannelDispatcher FindGetDispatcher(Uri listenUri)
389internal ChannelDispatcher CreateGetDispatcher(Uri listenUri)
391if (listenUri.Scheme == Uri.UriSchemeHttp)
395else if (listenUri.Scheme == Uri.UriSchemeHttps)
401throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.SFxGetChannelDispatcherDoesNotSupportScheme, typeof(ChannelDispatcher).Name, Uri.UriSchemeHttp, Uri.UriSchemeHttps)));
405internal ChannelDispatcher CreateGetDispatcher(Uri listenUri, Binding binding)
410internal ChannelDispatcher CreateGetDispatcher(Uri listenUri, Binding binding, string bindingName)
413Uri listenUriBaseAddress = listenUri;
465WriteFilter GetWriteFilter(Message request, Uri listenUri, bool removeBaseAddress)
488DynamicAddressUpdateWriter GetDynamicAddressWriter(Message request, Uri listenUri, bool removeBaseAddress)
529Uri listenUri;
533internal WSMexImpl(ServiceMetadataExtension parent, bool isListeningOnHttps, Uri listenUri)
557Uri location = this.parent.ExternalMetadataLocation;
561Uri httpAddr = parent.owner.GetVia(Uri.UriSchemeHttp, location);
562Uri httpsAddr = parent.owner.GetVia(Uri.UriSchemeHttps, location);
661Uri listenUri;
665internal HttpGetImpl(ServiceMetadataExtension parent, Uri listenUri)
708Uri location = this.parent.ExternalMetadataLocation;
710Uri result = ServiceHost.GetUri(this.listenUri, location);
773Uri result = null;
774if (this.listenUri.Scheme == Uri.UriSchemeHttp)
805Uri result = parent.MexUrl;
957Uri wsdlUrlBase = this.listenUri;
964Uri docUrl = null;
965if (this.listenUri.Scheme == Uri.UriSchemeHttp)
1908internal DynamicAddressUpdateWriter(Uri listenUri, string requestHost, int requestPort,
1941Uri uri;
1952else if (Uri.TryCreate(text, UriKind.Absolute, out uri))
1954Uri newUri = UpdateUri(uri);
1963public void UpdateUri(ref Uri uri, bool updateBaseAddressOnly = false)
1965Uri newUri = UpdateUri(uri, updateBaseAddressOnly);
1972Uri UpdateUri(Uri uri, bool updateBaseAddressOnly = false)
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (26)
380internal static void TracePendingSessionAdded(UniqueId sessionId, Uri listenAddress)
386internal static void TracePendingSessionClosed(UniqueId sessionId, Uri listenAddress)
392internal static void TracePendingSessionActivated(UniqueId sessionId, Uri listenAddress)
398internal static void TraceActiveSessionRemoved(UniqueId sessionId, Uri listenAddress)
404internal static void TraceNewServerSessionKeyIssued(SecurityContextSecurityToken newToken, SecurityContextSecurityToken supportingToken, Uri listenAddress)
410internal static void TraceInactiveSessionFaulted(SecurityContextSecurityToken sessionToken, Uri listenAddress)
416internal static void TraceServerSessionKeyUpdated(SecurityContextSecurityToken sessionToken, Uri listenAddress)
422internal static void TraceServerSessionCloseReceived(SecurityContextSecurityToken sessionToken, Uri listenAddress)
428internal static void TraceServerSessionCloseResponseReceived(SecurityContextSecurityToken sessionToken, Uri listenAddress)
434internal static void TraceSessionRenewalFaultSent(SecurityContextSecurityToken sessionToken, Uri listenAddress, Message message)
443internal static void TraceSessionAbortedFaultSent(SecurityContextSecurityToken sessionToken, Uri listenAddress)
449internal static void TraceSessionClosedResponseSent(SecurityContextSecurityToken sessionToken, Uri listenAddress)
455internal static void TraceSessionClosedSent(SecurityContextSecurityToken sessionToken, Uri listenAddress)
461internal static void TraceRenewFaultSendFailure(SecurityContextSecurityToken sessionToken, Uri listenAddress, Exception e)
467internal static void TraceSessionAbortedFaultSendFailure(SecurityContextSecurityToken sessionToken, Uri listenAddress, Exception e)
473internal static void TraceSessionClosedResponseSendFailure(SecurityContextSecurityToken sessionToken, Uri listenAddress, Exception e)
479internal static void TraceSessionCloseSendFailure(SecurityContextSecurityToken sessionToken, Uri listenAddress, Exception e)
503internal static void TraceServerSessionOperationException(SecuritySessionOperation operation, Exception e, Uri listenAddress)
629Uri listenAddress;
631public SessionResponderTraceRecord(SecuritySessionOperation operation, Exception e, Uri listenAddress)
714Uri listenAddress;
716public ServerSessionTraceRecord(SecurityContextSecurityToken currentSessionToken, SecurityContextSecurityToken newSessionToken, Uri listenAddress)
724public ServerSessionTraceRecord(SecurityContextSecurityToken currentSessionToken, Message message, Uri listenAddress)
732public ServerSessionTraceRecord(SecurityContextSecurityToken currentSessionToken, Uri listenAddress)
739public ServerSessionTraceRecord(UniqueId sessionId, Uri listenAddress)
897Uri to = this.message.Headers.To;
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (6)
67public override IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, params object[] parameters)
72public override IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, params object[] parameters)
77public override IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, ListenUriMode listenUriMode, params object[] parameters)
87public override IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, BindingParameterCollection parameters)
92public override IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, BindingParameterCollection parameters)
97public override IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters)
System\ServiceModel\EndpointAddress.cs (33)
17static Uri anonymousUri;
18static Uri noneUri;
76Uri uri;
87EndpointAddress(AddressingVersion version, Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlBuffer buffer, int metadataSection, int extensionSection, int pspSection)
99Uri u = new Uri(uri);
104public EndpointAddress(Uri uri, params AddressHeader[] addressHeaders)
109public EndpointAddress(Uri uri, EndpointIdentity identity, params AddressHeader[] addressHeaders)
119public EndpointAddress(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers)
129internal EndpointAddress(Uri newUri, EndpointAddress oldEndpointAddress)
134internal EndpointAddress(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlDictionaryReader metadataReader, XmlDictionaryReader extensionReader, XmlDictionaryReader pspReader)
164public EndpointAddress(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlDictionaryReader metadataReader, XmlDictionaryReader extensionReader)
169void Init(Uri uri, EndpointIdentity identity, AddressHeader[] headers)
181void Init(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlBuffer buffer, int metadataSection, int extensionSection, int pspSection)
186void Init(AddressingVersion version, Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlBuffer buffer, int metadataSection, int extensionSection, int pspSection)
230public static Uri AnonymousUri
240public static Uri NoneUri
296public Uri Uri
309Uri uri = this.Uri;
346internal static bool UriEquals(Uri u1, Uri u2, bool ignoreCase, bool includeHostInComparison)
351internal static bool UriEquals(Uri u1, Uri u2, bool ignoreCase, bool includeHostInComparison, bool includePortInComparison)
397internal static int UriGetHashCode(Uri uri, bool includeHostInComparison)
402internal static int UriGetHashCode(Uri uri, bool includeHostInComparison, bool includePortInComparison)
435Uri thisTo = this.Uri;
436Uri otherTo = endpointAddress.Uri;
664Uri uri;
749static bool ReadContentsFrom200408(XmlDictionaryReader reader, out Uri uri, out AddressHeaderCollection headers, out EndpointIdentity identity, out XmlBuffer buffer, out int metadataSection, out int extensionSection, out int pspSection)
899if (!Uri.TryCreate(address, UriKind.Absolute, out uri))
905static bool ReadContentsFrom10(XmlDictionaryReader reader, out Uri uri, out AddressHeaderCollection headers, out EndpointIdentity identity, out XmlBuffer buffer, out int metadataSection, out int extensionSection)
966if (!Uri.TryCreate(address, UriKind.Absolute, out uri))
1264Uri uri;
1296public Uri Uri
System\ServiceModel\Security\InfoCardHelper.cs (16)
40static Uri selfIssuerUri;
94Uri privacyNoticeLink;
95if (!tokenRequirement.TryGetProperty<Uri>(ServiceModelSecurityTokenRequirement.PrivacyNoticeUriProperty, out privacyNoticeLink))
116public static bool IsInfocardRequired(Binding binding, ClientCredentials clientCreds, SecurityTokenManager clientCredentialsTokenManager, EndpointAddress target, out CardSpacePolicyElement[] infocardChain, out Uri relyingPartyIssuer)
131Uri privacyNotice;
154static Uri SelfIssuerUri
165static PolicyElement[] GetPolicyChain(EndpointAddress target, Binding outerBinding, IssuedSecurityTokenParameters parameters, Uri firstPrivacyNoticeLink, int firstPrivacyNoticeVersion, SecurityTokenManager clientCredentialsTokenManager)
172Uri privacyNoticeLink = firstPrivacyNoticeLink;
249static bool RequiresInfoCard(PolicyElement[] chain, out Uri relyingPartyIssuer)
355static SecurityTokenProvider CreateTokenProviderForNextLeg(SecurityTokenRequirement tokenRequirement, EndpointAddress target, EndpointAddress issuerAddress, Uri relyingPartyIssuer, ClientCredentialsSecurityTokenManager clientCredentialsTokenManager, InfoCardChannelParameter infocardChannelParameter)
428static void GetPrivacyNoticeLinkFromIssuerBinding(Binding issuerBinding, out Uri privacyNotice, out int privacyNoticeVersion)
638Uri m_relyingPartyIssuer;
653Uri relyingPartyIssuer,
695Uri m_relyingPartyIssuer;
727Uri m_policyNoticeLink;
752public PolicyElement(EndpointAddress target, EndpointAddress issuer, Collection<XmlElement> parameters, Uri privacyNoticeLink, int privacyNoticeVersion, bool isManagedIssuer, Binding binding)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (8)
329internal TChannel OnCreateChannel(EndpointAddress remoteAddress, Uri via)
334internal TChannel OnCreateChannel(EndpointAddress remoteAddress, Uri via, MessageFilter filter)
417Uri via;
441protected ClientSecuritySessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via)
478public Uri Via
2801protected ClientSecuritySimplexSessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via)
2833public SecurityRequestSessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via)
3155public ClientSecurityDuplexSessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via)
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (9)
38Uri via;
40Uri privacyNoticeUri;
125public Uri Via
204public Uri PrivacyNoticeUri
489IRequestChannel CreateChannel(SecuritySessionOperation operation, EndpointAddress target, Uri via)
570GenericXmlSecurityToken DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout)
829Uri via;
835public SessionOperationAsyncResult(SecuritySessionSecurityTokenProvider requestor, SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout, AsyncCallback callback, object state)
1091protected override IRequestChannel OnCreateChannel(EndpointAddress address, Uri via)
System\ServiceModel\Security\TlsnegoTokenProvider.cs (4)
108protected override bool CreateNegotiationStateCompletesSynchronously(EndpointAddress target, Uri via)
120protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state)
145protected override SspiNegotiationTokenProviderState CreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout)
237public CreateSspiStateAsyncResult(EndpointAddress target, Uri via, TlsnegoTokenProvider tlsTokenProvider, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\X509CertificateRecipientClientCredential.cs (7)
21Dictionary<Uri, X509Certificate2> scopedCertificates;
27this.scopedCertificates = new Dictionary<Uri, X509Certificate2>();
39this.scopedCertificates = new Dictionary<Uri, X509Certificate2>();
40foreach (Uri uri in other.ScopedCertificates.Keys)
61public Dictionary<Uri, X509Certificate2> ScopedCertificates
110public void SetScopedCertificate(string subjectName, StoreLocation storeLocation, StoreName storeName, Uri targetService)
119public void SetScopedCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue, Uri targetService)
System\ServiceModel\ServiceConfiguration.cs (7)
75public ReadOnlyCollection<Uri> BaseAddresses
214public ServiceEndpoint AddServiceEndpoint(Type contractType, Binding binding, Uri address)
241public ServiceEndpoint AddServiceEndpoint(Type contractType, Binding binding, string address, Uri listenUri)
258public ServiceEndpoint AddServiceEndpoint(Type contractType, Binding binding, Uri address, Uri listenUri)
299foreach (var uri in this.host.BaseAddresses)
342private void SetListenUri(ServiceEndpoint endpoint, Binding binding, Uri listenUri)
System\ServiceModel\ServiceHost.cs (41)
32internal static readonly Uri EmptyUri = new Uri(string.Empty, UriKind.RelativeOrAbsolute);
40ReadOnlyCollection<Uri> externalBaseAddresses;
122public ReadOnlyCollection<Uri> BaseAddresses
126externalBaseAddresses = new ReadOnlyCollection<Uri>(new List<Uri>(this.baseAddresses));
305protected void AddBaseAddress(Uri baseAddress)
317return this.AddServiceEndpoint(implementedContract, binding, address, (Uri)null);
320public ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, string address, Uri listenUri)
337public ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, Uri address)
339return this.AddServiceEndpoint(implementedContract, binding, address, (Uri)null);
342public ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, Uri address, Uri listenUri)
369Uri via = this.MakeAbsoluteUri(address, binding);
435Uri absoluteUri = MakeAbsoluteUri(new Uri(relativeAddress, UriKind.Relative), endpoint.Binding);
439internal Uri MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding)
444internal static Uri MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses)
446Uri result = relativeOrAbsoluteUri;
487foreach (Uri baseAddress in this.InternalBaseAddresses)
641foreach (Uri address in uriSchemeKeyedCollection)
694internal static Uri GetUri(Uri baseUri, Uri relativeUri)
699internal static Uri GetUri(Uri baseUri, string path)
725internal Uri GetVia(string scheme, Uri address)
730internal static Uri GetVia(string scheme, Uri address, UriSchemeKeyedCollection baseAddresses)
732Uri via = address;
752foreach (Uri baseAddress in baseAddresses)
780internal void LoadConfigurationSectionHelper(Uri baseAddress)
1664public ServiceHost(Type serviceType, params Uri[] baseAddresses)
1683public ServiceHost(object singletonInstance, params Uri[] baseAddresses)
1721return this.AddServiceEndpoint(implementedContract, binding, address, (Uri)null);
1724public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, string address, Uri listenUri)
1740public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, Uri address)
1742return this.AddServiceEndpoint(implementedContract, binding, address, (Uri)null);
1763public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, Uri address, Uri listenUri)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (8)
478internal void WriteLink(XmlWriter writer, SyndicationLink link, Uri baseUri)
481Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, link.BaseUri);
553protected virtual void WriteItem(XmlWriter writer, SyndicationItem item, Uri feedBaseUri)
562protected virtual void WriteItems(XmlWriter writer, IEnumerable<SyndicationItem> items, Uri feedBaseUri)
901void ReadItemFrom(XmlReader reader, SyndicationItem result, Uri feedBaseUri)
988void ReadLink(XmlReader reader, SyndicationLink link, Uri baseUri)
1264void WriteItemContents(XmlWriter dictWriter, SyndicationItem item, Uri feedBaseUri)
1266Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(feedBaseUri, item.BaseUri);
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (13)
145internal static CategoriesDocument ReadCategories(XmlReader reader, Uri baseUri, CreateInlineCategoriesDelegate inlineCategoriesFactory, CreateReferencedCategoriesDelegate referencedCategoriesFactory, string version, bool preserveElementExtensions, bool preserveAttributeExtensions, int maxExtensionSize)
194internal static void WriteCategoriesInnerXml(XmlWriter writer, CategoriesDocument categories, Uri baseUri, string version)
196Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, categories.BaseUri);
227static void ReadInlineCategories(XmlReader reader, InlineCategoriesDocument inlineCategories, Uri baseUri, string version, bool preserveElementExtensions, bool preserveAttributeExtensions, int maxExtensionSize)
320static void ReadReferencedCategories(XmlReader reader, ReferencedCategoriesDocument referencedCategories, Uri baseUri, Uri link, string version, bool preserveElementExtensions, bool preserveAttributeExtensions, int maxExtensionSize)
400static void WriteCategories(XmlWriter writer, CategoriesDocument categories, Uri baseUri, string version)
436static void WriteXmlBase(XmlWriter writer, Uri baseUri)
717void WriteCollection(XmlWriter writer, ResourceCollectionInfo collection, Uri baseUri)
720Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, collection.BaseUri);
755Uri baseUri = this.Document.BaseUri;
769void WriteWorkspace(XmlWriter writer, Workspace workspace, Uri baseUri)
772Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, workspace.BaseUri);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (11)
241protected virtual void WriteItem(XmlWriter writer, SyndicationItem item, Uri feedBaseUri)
250protected virtual void WriteItems(XmlWriter writer, IEnumerable<SyndicationItem> items, Uri feedBaseUri)
479SyndicationLink ReadAlternateLink(XmlReader reader, Uri baseUri)
569void ReadItemFrom(XmlReader reader, SyndicationItem result, Uri feedBaseUri)
759SyndicationLink ReadMediaEnclosure(XmlReader reader, Uri baseUri)
1052void WriteAlternateLink(XmlWriter writer, SyndicationLink link, Uri baseUri)
1055Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, link.BaseUri);
1221void WriteItemContents(XmlWriter writer, SyndicationItem item, Uri feedBaseUri)
1223Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(feedBaseUri, item.BaseUri);
1429void WriteMediaEnclosure(XmlWriter writer, SyndicationLink link, Uri baseUri)
1432Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, link.BaseUri);
System\ServiceModel\Syndication\SyndicationFeed.cs (8)
24Uri baseUri;
32Uri imageUrl;
49public SyndicationFeed(string title, string description, Uri feedAlternateLink)
54public SyndicationFeed(string title, string description, Uri feedAlternateLink, IEnumerable<SyndicationItem> items)
59public SyndicationFeed(string title, string description, Uri feedAlternateLink, string id, DateTimeOffset lastUpdatedTime)
64public SyndicationFeed(string title, string description, Uri feedAlternateLink, string id, DateTimeOffset lastUpdatedTime, IEnumerable<SyndicationItem> items)
141public Uri BaseUri
200public Uri ImageUrl
System\ServiceModel\Syndication\SyndicationItem.cs (6)
22Uri baseUri;
41public SyndicationItem(string title, string content, Uri itemAlternateLink)
46public SyndicationItem(string title, string content, Uri itemAlternateLink, string id, DateTimeOffset lastUpdatedTime)
51public SyndicationItem(string title, SyndicationContent content, Uri itemAlternateLink, string id, DateTimeOffset lastUpdatedTime)
109public Uri BaseUri
234public void AddPermalink(Uri permalink)
System\UriTemplate.cs (22)
325public Uri BindByName(Uri baseAddress, IDictionary<string, string> parameters)
329public Uri BindByName(Uri baseAddress, IDictionary<string, string> parameters, bool omitDefaults)
352public Uri BindByName(Uri baseAddress, NameValueCollection parameters)
356public Uri BindByName(Uri baseAddress, NameValueCollection parameters, bool omitDefaults)
379public Uri BindByPosition(Uri baseAddress, params string[] values)
445public UriTemplateMatch Match(Uri baseAddress, Uri candidate)
531internal UriTemplateMatch CreateUriTemplateMatch(Uri baseUri, Uri uri, object data,
619internal static Uri RewriteUri(Uri uri, string host)
626Uri sourceUri = new Uri(String.Format(CultureInfo.InvariantCulture, "{0}://{1}", uri.Scheme, host));
633Uri Bind(Uri baseAddress, BindInformation bindInfo, bool omitDefaults)
784string relPathSeg = Uri.UnescapeDataString(segment);
812string relPathSeg = Uri.UnescapeDataString(candidateSegments[relativeSegmentsIndex + numSegmentsInBaseAddress]);
951return this.unescapedDefaults.GetOrAdd(escapedValue, Uri.UnescapeDataString);
System\UriTemplateTable.cs (17)
20Uri baseAddress;
25Uri originalUncanonicalizedBaseAddress;
39public UriTemplateTable(Uri baseAddress)
44internal UriTemplateTable(Uri baseAddress, bool addTrailingSlashToBaseAddress)
49public UriTemplateTable(Uri baseAddress, IEnumerable<KeyValuePair<UriTemplate, object>> keyValuePairs)
54internal UriTemplateTable(Uri baseAddress, IEnumerable<KeyValuePair<UriTemplate, object>> keyValuePairs, bool addTrailingSlashToBaseAddress)
79public Uri BaseAddress
116public Uri OriginalBaseAddress
152public Collection<UriTemplateMatch> Match(Uri uri)
262public UriTemplateMatch MatchSingle(Uri uri)
349bool ComputeRelativeSegmentsAndLookup(Uri uri,
364string relPathSeg = Uri.UnescapeDataString(seg);
391Uri uri = ut.BindByPosition(this.originalUncanonicalizedBaseAddress);
411bool FastComputeRelativeSegmentsAndLookup(Uri uri, out Collection<string> relativePathSegments,
448ub.Scheme = Uri.UriSchemeHttp;
453bool SlowComputeRelativeSegmentsAndLookup(Uri uri, string uriPath, Collection<string> relativePathSegments,
497void VerifyThatFastPathAndSlowPathHaveSameResults(Uri uri, Collection<string> fastPathRelativePathSegments,