windows azure service bus namespace v 1 · service bus is the middleware that mainly handles the...

20
1 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan Windows Azure Service Bus Namespace V 1.0 Focus Namespace: Microsoft.ServiceBus What is a Service Bus? Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The service bus mainly solve the complexity of the integration of applications and how they can send and receive messages from and to each other’s. There are two types of messaging, the Brokered Messaging and Relayed Messaging. What is the Relay Messaging? The Windows Azure Relay Messaging Service is mainly designed to build hybrid applications. The Service Bus relay Service makes the reaching for the web services (WCF) hosted on-premises data center without the need to make any change in the network infrastructure, or even open a port in the firewall. The sender and the receiver must be both online when sending the message otherwise, the message will not be received by the receiver. What is the Brokered Messaging? This is an asynchronous messaging that supports decoupled messaging features whether by using the Windows Azure Service Bus Queue or the Windows Azure Service Bus Topic/Subscription. One of the key features for this type of service is that the receiver doesn’t have to be online in the same time of sending the message. Brokered Messaging VS Relayed Messaging: Each type of messaging service has its own time of use and its own targets. The Relay Service mainly gives the ability to build hybrid cloud solutions without the need to make any changes in the Network infrastructure. For the brokered messaging, it is an asynchronous messaging not like the relay service this is mainly used to more organize the big number of endpoints in a web service in other words, it can distribute the load, between them or send each one of them what is related no matter how the number of nodes is increasing. Service Bus Classes: o NetTcpRelayMessaging NetTcpRelayBinding ApplyConfiguration o string (ConfigurationName) CreateBindingElements o Null CreateMessageSecurity o Null IsBindingElementsMatch

Upload: others

Post on 05-Oct-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

1 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

Windows Azure Service Bus Namespace V 1.0

Focus Namespace: Microsoft.ServiceBus

What is a Service Bus?

Service Bus is the middleware that mainly handles the communication between the connectors of

several applications in an enterprise. The service bus mainly solve the complexity of the integration of

applications and how they can send and receive messages from and to each other’s. There are two

types of messaging, the Brokered Messaging and Relayed Messaging.

What is the Relay Messaging?

The Windows Azure Relay Messaging Service is mainly designed to build hybrid applications. The Service

Bus relay Service makes the reaching for the web services (WCF) hosted on-premises data center

without the need to make any change in the network infrastructure, or even open a port in the firewall.

The sender and the receiver must be both online when sending the message otherwise, the message will

not be received by the receiver.

What is the Brokered Messaging?

This is an asynchronous messaging that supports decoupled messaging features whether by using the

Windows Azure Service Bus Queue or the Windows Azure Service Bus Topic/Subscription. One of the

key features for this type of service is that the receiver doesn’t have to be online in the same time of

sending the message.

Brokered Messaging VS Relayed Messaging:

Each type of messaging service has its own time of use and its own targets. The Relay Service mainly

gives the ability to build hybrid cloud solutions without the need to make any changes in the Network

infrastructure. For the brokered messaging, it is an asynchronous messaging not like the relay service

this is mainly used to more organize the big number of endpoints in a web service in other words, it can

distribute the load, between them or send each one of them what is related no matter how the number

of nodes is increasing.

Service Bus Classes:

o NetTcpRelayMessaging

NetTcpRelayBinding

ApplyConfiguration

o string (ConfigurationName)

CreateBindingElements

o Null

CreateMessageSecurity

o Null

IsBindingElementsMatch

Page 2: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

2 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

o TcpRelayTransportBindingElement,

BinaryMessageEncodingBindingElement,

ReliableSessionBindingElement

NetTcpRelayBinding

o Null

o ConfigurationName

o TcpRelayTransportBindingElement,

BinaryMessageEncodingBindingElement,

ReliableSessionBindingElement, NetTcpRelaySecurity

o EndToEndSecurityMode, RelayClientAuthenticateType

o EndToEndSecurityMode, RelayClientAuthenticateType,

ReliableSessionEnabled

Properties:

1. ReliableSession

NetTcpRelayBindingBase

ApplyConfiguration

o string (ConfigurationName)

CreateBindingElements

o Null

CreateMessageSecurity

o Null

IsBindingElementsMatch

o TcpRelayTransportBindingElement,

BinaryMessageEncodingBindingElement,

ReliableSessionBindingElement

NetTcpRelayBindingBase

o Null

o ConfigurationName

o TcpRelayTransportBindingElement,

BinaryMessageEncodingBindingElement,

ReliableSessionBindingElement, NetTcpRelaySecurity

o EndToEndSecurityMode, RelayClientAuthenticateType

o EndToEndSecurityMode, RelayClientAuthenticateType,

ReliableSessionEnabled

Properties:

1. ConnectionMode

2. EnvelopeVersion

3. -ListenBacklog

4. MaxBufferPoolSize

5. MaxBufferSize

6. MaxConnections

7. MaxReceivedMessageSize

8. MessageSecurityVersion

9. ReaderQuotas

Page 3: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

3 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

10. Scheme

11. Security

12. TransferMode

NetTcpRelaySecurity

Properties

1. Message

2. Mode

3. RelayClientAuthenticateType

4. Transport

o WSHttpRelayMessaging

WS2007HttpRelayBinding

CreateMessageSecurity

o Null

WS2007HttpRelayBinding

o Null

o ConfigurationName

o EndToEndSecurityMode, RelayClientAuthenticateType

o EndToEndSecurityMode, RelayClientAuthenticateType,

ReliableSessionEnabled

WSHttpRelayBinding

CreateMessageSecurity

o Null

GetTransport

o Null

Properties

o AllowCookies

o Security

WSHttpRelayBindingBase

CreateMessageSecurity

o Null

GetTransport

o Null

CreateBindingElements

o Null

WSHttpRelayBindingBase

o Null

o ReliableSessionEnabled

Properties

1. EnvelopeVersion

2. MaxBufferPoolSize

3. MaxReceivedMessageSize

4. MessageEncoding

5. ProxyAddress

6. ReaderQuotas

Page 4: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

4 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

7. ReliableSession

8. Scheme

9. TextEncoding

10. UseDefaultWebProxy

WSHttpRelaySecurity

Properties

1. Message

2. Mode

3. RelayClientAuthenticateType

4. Transport

o NetEventRelayMessaging

NetEventRelayBinding

ApplyConfiguration

o string (ConfigurationName)

IsBindingElementsMatch

o RelayedOnewayTransportBindingElement,

BinaryMessageEncodingBindingElement,

ReliableSessionBindingElement

NetEventRelayBinding

o Null

o ConfigurationName

o EndToEndSecurityMode, RelayClientAuthenticateType

o EndToEndSecurityMode, RelayClientAuthenticateType,

ReliableSessionEnabled

NetEventRelaySecurity

Properties

1. Message

2. Mode

3. RelayClientAuthenticateType

4. Transport

o NetOneWayRelayMessaging

NetOnewayRelayBinding

ApplyConfiguration

o string (ConfigurationName)

CreateBindingElements

o Null

NetOnewayRelayBinding

o Null

o ConfigurationName

o NetOnerelaySecurity

o NetOnewayRelayTransportBindingElement,

BinaryMessageEncodingBindingElement,

ReliableSessionBindingElement, NetOnewayRelaySecurity

o EndToEndSecurityMode, RelayClientAuthenticateType

Page 5: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

5 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

o NetOnewayConnectionMode, EndToEndSecurityMode,

RelayClientAuthenticateType

Properties:

1. EnvelopeVersion

2. ListenBacklog

3. MaxBufferPoolSize

4. MaxBufferSize

5. MaxConnections

6. MaxReceivedMessageSize

7. MessageSecurityVersion

8. ReaderQuotas

9. Scheme

10. Security

NetOnewayRelaySecurity

Properties

1. Message

2. Mode

3. RelayClientAuthenticateType

4. Transport

BasicHttpRelayBinding

BasicHttpRelayBinding

o Null

o ConfigurationName

o EndToEndBasicHttpBasicHttpSecurityMode,

RelayClientAuthenticateType

CreateBindingElements

Null

Properties:

1. EnvelopeVersion

2. AllowCookies

3. ListenBacklog

4. MaxBufferPoolSize

5. MaxBufferSize

6. MaxConnections

7. MaxReceivedMessageSize

8. MessageSecurityVersion

9. ReaderQuotas

10. Scheme

11. Security

12. TextEncoding

13. TransferMode

14. UseDefaultWebProxy

BasicHttpRelayMessageSecurity

Page 6: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

6 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

Properties:

o AlgorithmSuite

o ClientCredentialType

BasicHttpRelaySecurity

Properties

1. Message

2. Mode

3. RelayClientAuthenticateType

4. Transport

- HttpRelayTransportBindingElement

o HttpRelayTransportBindingElement

Null

RelayClientAuthenticateType

HttpRelayTransportBindingElement

o InitializeInnerChannelBindingElement

HttpRelayTransportBindingElement

o GetTransportTokenAssetion

Null

o GetProperty<T>

BindingContext

o CreateInnerChannelBindingElement

Null

o Clone

Null

o BuildChannelListener<TChannel>

BindingContext

o CanBuildChannelListener<TChannel>

BindingContext

o BuildChannelFactory<TChannel>

BindingContext

o CanBuildChannelFactory<TChannel>

BindingContext

o Properties

AllowCookies

KeepAliveEnabled

MaxBufferSize

ProxyAddress

ProxyAuthenticationScheme

RelayClientAuthenticationType

Scheme

TransferMode

UseDefaultWebProxy

- HttpRelayTransportSecurity

o Properties

Page 7: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

7 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

ProxyCredentialType

- HybridConnectionStateChangedArgs

o HybridConnectionStateChangedArgs

HybridConnectionState

o Properties

ConnectionState

- RelayedOnewayTransportBindingElement

o Clone

Null

o RelayOnewayTransportBindingElement

Null

RelayClientAuthenticationType, ConnectionMode

RelayOnewayTransportBindingElement

o BulildChannelFactory<TChannel>

BindingContext

o CanBuildChannleFactory<TChannel>

BindingContext

o BuildChannelListener<TChannel>

BindingContext

o CanBuildChannelListener<TChannel>

BindingContext

o GetProperty<T>

BindingContext

o Properties

ChannelInitializationTimeout

ConnectionBufferSize

ConnectionMode

ConnectionPoolSettings

ListenBacklog

MaxBufferSize

MaxOutputDelay

MaxPendingAccepts

MaxPendingConnections

RelayClientAuthentication

Scheme

- RelayedOnewayTransportSecurity

o Properties

ProtectionLevel

-

- HttpsRelayTransportBindingElement

o GetProperty<T>

BindingContext

o Clone

Null

Page 8: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

8 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

o CreateInnerChannelBindingElement

Null

o HttpsRelayTransportBindingElement

Null

RelayClientAuthenticateType

HttpsRelayTransportBindingElement

o InitializeInnerChannelBindingElement

HttpRelayTransportBindingElement

o Properties:

Scheme

- ServiceBusEnvironment

o CreateAccessControlUri

ServiceNamespace

o CreateServiceUri

Scheme, ServiceNamespace, ServicePath

Scheme, ServiceNamespace, ServicePath, SuppressRelayPathPrefix

o CreatePathBasedServiceUri

Scheme, ServiceNamespace, Authority, SuppressRelayPathPrefix

o CreatePathBasedWithServiceIdentifierServiceUri

Scheme, ServiceNamespace, ServiceIdentifier, Authority,

SuppressRelayPathPrefix

o Properties

DefaultIdentityHostName

SystemConnectivity

- ServiceRegistrySettings

o ServiceRegistrySettings

Null

DiscoveryType

o Properties

DiscoveryMode

DisplayName

- NamespaceManager

o Asynchronous

BeginCreateSubcription

SubscriptionDescritpion, Callback, Object

SubscriptionDescription, RuleDescription, Callback, Object

TopicPath, Name, RuleDescription, Callback, Object

SubscriptionDescription, Filter, Callback, Object

TopicPath, Name, Filter, Callback, Object

TopicPath, Name, Callback, Object

Followed by:

EndCreateSubscription

IAsyncResult

BeginCreateTopic

Page 9: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

9 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

TopicDescritption, Callback, Object

Path, Callback, Object

Followed by:

EndCreateTopic

IAsyncResult

BeginCreateQueue

QueueDescription, Callback, Object

Path, Callback, Object

Followed by:

EndCreateQueue

IAsyncResult

BeginDeleteQueue

Path, Callback, Object

Followed by:

EndCreateQueue

IAsyncResult

BeginDeleteSubscription

TopicPath, Name, Callback, Object

Followed by:

EndDeleteSubscription

IAsyncResult

BeginDeleteTopic

Path, Callback, Object

Followed by:

EndDeleteTopic

IAsyncResult

BeginGetQueue

Path, Callback, Object

Followed by:

EndGetQueue

IAsyncResult

BeginGetQueues

Callback, Object

Followed by:

EndGetQueues

IAsyncResult

BeginGetSubscription

TopicPath, Name, Callback, Object

Followed by:

EndGetSubscription

IAsyncResult

BeginGetSubscriptions

TopicPath, Callback, Object

Page 10: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

10 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

Followed by:

EndGetSubscriptions

IAsyncResult

BeginGetRules

TopicPath, SubscriptionName, Callback, Object

Followed by:

EndCreateSubscription

IAsyncResult

BeginGetTopic

Path, Callback, Object

Followed by:

EndGetTopic

IAsyncResult

BeginGetTopics

Callback, Object

Followed by:

EndGetTopics

IAsyncResult

BeginQueueExists

Path, Callback, Object

Followed by:

EndQueueExists

IAsyncResult

BeginSubscriptionExists

TopicPath, Name, Callback, Object

Followed by:

EndBegingSubscription

IAsyncResult

BeginTopicExists

Path, Callback, Object

Followed by:

EndTopicExists

IAsyncResult

BeginUpdateQueue

QueueDescription, Callback, Object

Followed by:

EndUpdateQueue

IAsyncResult

BeginUpdateSubscription

SubscriptionDescription, Callback, Object

Followed by:

EndUpdateSubscription

IAsyncResult

Page 11: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

11 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

BeginUpdateTopic

TopicDescription, Callback, Object

Followed by:

EndUpdateTopic

IAsyncResult

o Non Asynchronous

CreateSubscription

SubscriptionDescritpion

SubscriptionDescription, RuleDescription

TopicPath, Name, RuleDescription

SubscriptionDescription, Filter

TopicPath, Name, Filter

TopicPath, Name

CreateTopic

TopicDescritption

Path

DeleteQueue

Path

DeleteSubscription

TopicPath, Name

DeleteTopic

Path

GetQueue

Path

SubscriptionExists

TopicPath, Name

GetQueues

Null

GetSubscription

TopicPath, Name

GetSubscriptions

TopicPath

GetRules

TopicPath, SubscriptionName

GetTopic

Path

GetTopics

Null

QueueExists

Path

TopicExists

Path

UpdateQueue

Page 12: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

12 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

QueueDescription

UpdateSubscription

SubscriptionDescription

UpdateTopic

TopicDescription

CreateFromConfiguration

Null

Name

CreateQueue

QueueDescription

Path

NamespaceManager

Address (string)

IEnumerable<string> addresses

Address (String), TokenProvider

Address (string), NamespaceManagerDescription

IEnumerable<string> addresses, TokenProvider

IEnumerable<string> addresses, NamespaceManagerDescription

Address (URI)

IEnumerable<URI> addresses

Address (URI), TokenProvider

IEnumerable<URI> addresses, TokenProvider

Address (URI), NamespaceManagerDescription

IEnumerable<URI> addresses, NamespaceManagerDescription

Properties

Address

Settings

- NamespaceManagerSettings

o NamespaceManagerSettings

Null

Properties

OperationTimeout

TokenProvider

-

- MessageBufferClient

o CreateMessageBuffer

TransportClientEndpointBehavior, MessageBufferUri, MessageBufferPolicy

TransportClientEndpointBehavior, MessageBufferUri, MessageBufferPolicy,

MessageVersion

o GetMessageBuffer

TransportClientEndpointBehavior, MessageBufferUri

TransportClientEndpointBehavior, MessageBufferUri, MessageVersion

o PeekLock

Page 13: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

13 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

Null

Timeout

Timeout, LockDuration

o ReleaseLock

LockUri

Channels.Message

o Retrieve

Null

Timeout

o Send

Channels.Message, Timeout

Channels.Message

o GetPolicy

Null

o DeleteLockedMessage

Channels.Message

o DeleteMessageBuffer

Null

o Properties

MessageBufferUri

- MessageBufferPolicy

o Equals

Object

o GetHashCode

Null

o MessageBufferPolicy

Null

MessageBufferPolicyToCopy

o Properties

Authorization

Discoverability

ExpiresAfter

MaxMessageCount

OverflowPolicy

TransportProtection

- SimpleWebTokenProvider

OnBeginGetToken

AppliedTo (string), Action (string), Timeout, Callback, Object

Followed by:

OnEndGetToken

IAsyncResult, CacheUntil

OnBeginGetWebToken

AppliedTo (string), Action (string), Timeout, Callback, Object

Followed by:

Page 14: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

14 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

OnEndGetWebToken

IAsyncResult, CacheUntil

-

- ConnectionStatusBehavior

o ConnectionStatusBehavior

Null

o Retry

Null

o Properties

IsOnline

LastError

o Event

Connecting

Offline

Online

- ConnectivitySettings

o ConnectivitySettings

Null

o Properties

IsReadOnly

Mode

- NonDualMessageSecurityOverRelayHttp

o IsSecureConversationEnabled

Null

o Properties

EstablishSecurityContext

- OAuthTokenProvider

o Non Asynchronous

BuildKey

AppliedTo (string), Action (string)

o Asynchronous

OnBeginGetToken

AppliedTo (string), Action (string), Timeout, Callback, Object

OnEndGetToken

IAsyncResult, CacheUntil

OnBeginGetWebToken

AppliedTo (string), Action (string), Timeout, Callback, Object

Followed by:

OnEndGetWebToken

IAsyncResult, CacheUntil

- SamlTokenProvider

o Asynchronous

OnBeginGetToken

AppliedTo (string), Action (string), Timeout, Callback, Object

Page 15: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

15 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

Followed by:

OnEndGetToken

IAsyncResult, CacheUntil

OnBeginGetWebToken

AppliedTo (string), Action (string), Timeout, Callback, Object

Followed by:

OnEndGetWebToken

IAsyncResult, CacheUntil

- ServiceBusConnectionStringBuilder

- SharedSecretTokenProvider

o Synchronous

ComputeSimpleWebTokenString

IssuerName, IssuerSecret (byte[])

IssuerName (string) , IssuerSecret (string)

o Asynchronous

OnBeginGetToken

AppliedTo (string), Action (string), Timeout, Callback, Object

Followed by:

OnEndGetToken

IAsyncResult, CacheUntil

OnBeginGetWebToken

AppliedTo (string), Action (string), Timeout, Callback, Object

Followed by:

OnEndGetWebToken

IAsyncResult, CacheUntil

- SimpleWebSecurityToken

o SimpleWebSecurityToken

TokenString

TokenString, Expiry

Id, TokenString

o Properties

Id

SecurityKeys

Token

ValidFrom

ValidTo

- TcpClientTransportTokenAssertionProviderBindingElement

o Clone

Null

o GetTransportTokenAssertion

Null

o TcpClientTransportTokenAssertionProviderBindingElement

Null

o GetProperty<T>

Page 16: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

16 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

BindingContext

- TcpRelayTransportBindingElement

o Clone

Null

o BuildChannelListener<TChannel>

BindingContext

o BuildChannelFactory<TChannel>

BindingContext

o GetProperty<T>

BindingContext

o TcpRelayTransportBindingElement

Null

RelayClientAuthenticationType

TcpRelayTransportBindingElement

o Properties

ConnectionMode

ConnectionPoolSettings

RelayClientAuthenticationType

Scheme

- TcpRelayTransportSecurity

o Properties

ProtectionLevel

- MessageSecurityOverRelayConnection

o Properties

AlgorithmSuite

ClientCredentialType

- SocketConnectionPoolSettings

o Properties

GroupName

IdleTimeout

LeaseTimeout

MaxOutboundConnectionPerEndpoint

- TransportClientEndpointBehavior

o TransportClientEndpointBehavior

Null

TokenProvider

o Properties

Credentials

CredentialType

TokenProvider

- MessageSecurityOverRelayOneway

o Properties

Page 17: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

17 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

AlgorithmSuite

ClientCredentialType

- WindowsTokenProvider

o Non Asynchronous

BuildKey

AppliedTo (string), Action (string)

o Asynchronous

OnBeginGetToken

AppliedTo (string), Action (string), Timeout, Callback, Object

OnEndGetToken

IAsyncResult, CacheUntil

OnBeginGetWebToken

AppliedTo (string), Action (string), Timeout, Callback, Object

Followed by:

OnEndGetWebToken

IAsyncResult, CacheUntil

- WebHttpRelayBinding

o CreateBindingElements

Null

o WebHttpRelayBinding

Null

ConfigurationName

SecurityMode, RelayClientAuthenticationType

o Properties

AllowCookies

EnvelopeVersion

MaxBufferSize

MaxBufferPoolSize

MaxReceivedMessageSize

ProxyAddress

ReaderQuotas

Scheme

Security

TransferMode

UseDefaultWebProxy

WriteEncoding

- WebHttpRelaySecurity

o Properties

Model

RelayClientAuthenticationType

Transport

Page 18: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

18 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

- TokenProvider.Key

o Equals

TokenProvider.Key

Object

o GetHashCode

Null

o Key

AppliesTo (string), Clain(string)

- MessageSecurityOverRelayHttp

o IsSecureConversationEnabled

Null

o Properties

AlgorithmSuite

ClientCredentialType

NegotiateServiceCredential

- SimpleWebSecurityTokenSerializer

o CanReadIdentifierCore

XMLReader

o CanReadIdentifierClauseCore

XMLReader

o CanReadTokenCore

XMLReader

o CanWriteIdentifierCore

SecurityToken

o CanWriteIdentifierClauseCore

SecurityToken

o CanWriteTokenCore

SecurityToken

o ReadIdentifierCore

XMLReader

o ReadIdentifierClauseCore

XMLReader

o ReadIdentifierTokenCore

XMLReader, TokenResolver

o SimpleWebSecurityTokenSerializer

Null

SecurityTokenSerializer

o WriteBinaryCore

SecurityToken, id (string), rawData (byte[])

o WriteKeyIdentifierClauseCore

XMLWriter, SecurityKeyIdentifier

o WriteKeyIdentifierCore

Page 19: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

19 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

XMLWriter, SecurityKeyIdentifier

o WriteTokenCore

XMLWriter, SecurityToken

- TokenProvider

o Asyncrhonous

BeginGetToken

AppliedTo (string), Action (string), bypassCache (bool), Timeout,

Callback, Object

Followed by:

EndGetToken

IAsyncResult

BeginGetWebToken

AppliedTo (string), Action (string), bypassCache (bool), Timeout,

Callback, Object

Followed by:

EndGetWebToken

IAsyncResult

OnBeginGetToken

AppliedTo (string), Action (string), Timeout, Callback, Object

Followed by:

OnEndGetToken

IAsyncResult, CacheUntil

OnBeginGetWebToken

AppliedTo (string), Action (string), Timeout, Callback, Object

Followed by:

OnEndGetWebToken

IAsyncResult, CacheUntil

o Synchronous

CreateSamlTokenProvider

SamlToken (string)

SamlToken (string), URI, [int]

CreateOAuthTokenProvider

IEnumerable<URI>, NetworkCredential

CreateSharedSecretTokenProvider

IssuerName, IssuerSecret (byte[])

IssuerName, IssuerSecret (string)

IssuerName, IssuerSecret, Uri

CreateSimpleWebTokenProvider

Token (string), Uri

Token (string)

CreateWindowsTokenProvider

IEnumerable<Uri>, NetworkCredential

Page 20: Windows Azure Service Bus Namespace V 1 · Service Bus is the middleware that mainly handles the communication between the connectors of several applications in an enterprise. The

20 Written by: Haddy El-Haggan #LiveinaCloudyWorld Follow me online: hhaggan

IEnumerable<Uri>

Clear

Null

BuildKey

AppliedTo (string), Action (string)

TokenProviderTool

CacheToken (bool), SupportHttpAuthToken (bool)

Properties

CacheSize

CacheTokens

IsWebTokenSupported