Index
A
- $.ajax function / How to do it...
- ad-hoc auto-discoverable service
- starting with / Getting ready
- building / How to do it...
- working / How it works...
- Add Reference / How to do it...
- Add Service Reference / Using ChannelFactory to consume a WCF service
- Add ServiceReference command / How it works...
- Add_ParamsInUrlSuffix method / How it works...
- ad hoc Windows authentication
- setting up, over plain HTTP / Setting up ad hoc Windows authentication over plain HTTP, How to do it..., How it works...
- AfterReceiveReply method / How to do it... , How it works...
- AJAX client
- about / Accessing a remote REST service in an AJAX client
- remote REST service, accessing / How to do it...
- Allowed / How to do it...
- Anonymous property / How to do it...
- APP
- about / How to do it...
- ASMX Web Service
- consuming, from WCF Client / How to do it...
- working / How it works...
- ASP.NET-compatible context
- using, for HTTP service hosting / Hosting a HTTP service with ASP.NET-compatible context, How to do it...
- ASP.NET AJAX client
- about / Consuming a WCF service from an ASP.NET AJAX client
- WCF service, building / How to do it...
- WCF service, consuming / How to do it...
- working / How it works...
- ASP.NET membership provider
- username authentication, using with / Using username authentication with an ASP.NET membership provider, How to do it..., How it works...
- ASP.NET runtime features
- HttpContext / Hosting a HTTP service with ASP.NET-compatible context
- configuration-based URL Authorization / Hosting a HTTP service with ASP.NET-compatible context
- custom HttpModules / Hosting a HTTP service with ASP.NET-compatible context
- sessionState / Hosting a HTTP service with ASP.NET-compatible context
- Application Cache / Hosting a HTTP service with ASP.NET-compatible context
- async operation
- invoking, via ChannelFactory / Invoking async operation viaChannelFactory, How to do it..., How it works...
- working / How it works...
- authenticated client identity
- getting, in service operation / Getting an authenticated client identity in a service operation, How to do it...
- AuthorizationContext property / How to do it...
- AuthorizationPolicies property / How to do it...
- auto-generated Help page
- about / Using an auto-generated Help page
- using / How to do it...
- working / How it works...
- auto-generated Service Metadata
- about / Customizing auto-generated service metadata
- customizing / How to do it...
- working / How it works...
B
- backward-compatibility / Make DataContract forward-compatible
- BeforeSendRequest method / How it works...
- binary data
- transferring, with MTOM encoding / Transferring binary data with MTOM encoding, How to do it...
- Button_Click event / There’s more...
C
- CallServiceAsync function / How to do it...
- CallService function / How to do it..., How to do it..., How to do it...
- CallServiceWithWebRequest function / How to do it...
- Callstack / Return custom exception data through FaultContract
- Certmgr.exe tool
- using / How to do it...
- -c parameter / How to do it...
- -r parameter / How to do it...
- -s parameter / How to do it...
- MSDN reference / There's more...
- ChannelFactory
- about / Using ChannelFactory to consume a WCF service
- WCF service, invoking / How to do it...
- working / How it works...
- async operation, invoking / How to do it...
- ChannelFactory.Credentials property / How to do it...
- ChannelFactory instance / How it works...
- ChannelListener
- service, creating / Creating a service via ChannelListener, How to do it...
- working / How it works...
- Channel model / Introduction
- ChannelProtectionRequirements type / How to do it...
- CheckAccessCore method / How to do it..., How it works...
- class
- MainForm / How to do it...
- ServiceHost / How it works...
- serviceInstaller1 / How to do it...
- ServiceHostFactory / How to do it...
- DiscoveryClient / How to do it...
- DiscoveryProxy / How to do it...
- DummyAsyncResult / How it works...
- MetadataExchangeClient / How to do it...
- WSDLExporterExtension / How it works...
- WSDLServiceHostFactory / How it works...
- OperationContext / How it works...
- clear text username token
- sending, over unsecured HTTP transport / Sending a clear text username token over unsecured HTTP transport, How to do it..., How it works..., See also
- ClearUsernameBinding / Sending a clear text username token over unsecured HTTP transport
- applying / How to do it...
- client caller identity
- impersonating with / Impersonating with a client caller identity, How to do it..., See also
- ClientCredential property / How it works...
- client session termination
- ensuring / Ensuring termination of a client session, How to do it...
- working / How it works...
- collection parameter type
- specifying / Choosing a specific type for representing a collection parameter, How to do it...
- working / How it works...
- concurrency
- about / Introduction
- connectionStringName attribute / How to do it...
- Console Application
- service hosting / Hosting a service in a console application, How to do it...
- working / How it works...
- Contract
- OperationContract / Introduction
- DataContract / Introduction
- MessageContract / Introduction
- FaultContract / Introduction
- custom SoapHeader, adding / Adding a custom SoapHeader via Contract, How to do it...
- contracts
- about / Introduction
- ServiceContract / Introduction
- CreateChannel method / How it works...
- CreateServiceHost method / How to do it...
- Current property / How to do it...
- CustomBinding / How to do it...
- defining, without timestamp header / Defining a CustomBinding without a timestamp header, How to do it...
- working / How it works...
- CustomEncoder class / How to do it...
- custom Exception types / Introduction
- custom MessageEncoder
- about / Building a custom MessageEncoder
- building / How to do it...
- working / How it works...
- custom ServiceHost
- using / Using a custom ServiceHost, How to do it...
- about / Using a custom ServiceHost
- working / How it works...
- custom SoapHeader
- adding, via Contract / Adding a custom SoapHeader via Contract, How to do it...
D
- DataContext property / How to do it...
- DataContract
- making, forward-compatible / Make DataContract forward-compatible
- working / How it works...
- generating, from XML Schema / Generate DataContract from an XML Schema, Getting ready, How to do it...
- generating from XML Schema, working / How it works...
- DataTable/DataSet, transferring in WCF service
- solutions / Returning a DataTable/DataSet in a service operation
- starting with / Getting ready
- DataTable, direct return / How to do it...
- DataTable, converting to custom data object collection / How to do it...
- DataTable, returning as XML document / How to do it...
- Debugger Visualizers
- about / Creating a custom Visual Studio Debugger Visualizer for WCF debugging
- creating, for WCF debugging / How to do it...
- creating / How to do it...
- declarative role-based access control
- authorizing through / Authorizing through declarative role-based access control, How to do it..., How it works..., See also
- dedicated credentials
- supplying, for firewall / Supplying dedicated credentials for firewall or proxy authentication
- supplying, for proxy authentication / Supplying dedicated credentials for firewall or proxy authentication
- Default Endpoints
- about / Configuring Default Endpoints
- configuring / How to do it...
- working / How it works...
- defaultProvider attribute / How to do it...
- DetectReplays property / How it works...
- DiscoveryClient class / How to do it...
- DiscoveryProxy class / How to do it...
- DivideWithCustomException method / How to do it...
- DummyAsyncResult class / How it works...
- DumpEndpoint function / How it works...
- Duplex exchange pattern / There's more...
- dynamic proxy generation
- about / Generating a service proxy in code
- steps / How to do it...
- working / How it works...
- dynamic SoapHeader
- securing / Securing a dynamic SoapHeader
- securing, steps / How to do it...
E
- EndpointBehavior class / How to do it...
- ErrorHandlingInvoker.Invoke method / How it works...
- event
- Button_Click / There’s more...
- OnStart / How it works...
- Exception.Detail property / How it works...
- existing types
- reusing / Reusing types between service and client, How to do it...
- NET framework/Visual Studio tools,working / How it works...
- ExtensionDataObject property / How it works..., There's more...
F
- FaultContract
- custom exception data, returning / Return custom exception data through FaultContract, How to do it...
- working / How it works...
- FaultContractAttribute / Introduction
- Fiddler tool
- WCF request/response message, capturing / Capturing WCF request/response messages via Fiddler tool, How to do it...
- about / How to do it...
- FileExits function / How to do it...
- firewall
- dedicated credentials, supplying / Supplying dedicated credentials for firewall or proxy authentication
- Format-List command option / How to do it...
G
- GenerateServiceProxy function / How to do it...
- GetCustomBinding function / How to do it...
- GetData operation / How to do it..., How it works...
- GetFile method / How to do it...
- GetIntData method / How it works...
- GetResponse method / How to do it...
- GetVoteList function / How to do it...
H
- <httpsTransport> binding element / How to do it...
- HTTP service
- hosting, ASP.NET-compatible context used / Hosting a HTTP service with ASP.NET-compatible context, How to do it...
- working / How it works...
I
- IExtensibleDataObject interface
- using / There's more...
- IgnoreExtensionDataObject property / How to do it...
- IIS 7
- non-HTTP service, hosting / Hosting a non-HTTP service in IIS 7, How to do it...
- IIS ServiceHost customization, via ServiceHostFactory
- about / Customizing IIS ServiceHost via ServiceHostFactory
- steps / How to do it...
- working / How it works...
- impersonateCallerForAllOperations option / There's more...
- impersonating
- with client caller identity / Impersonating with a client caller identity, How to do it..., See also
- InstanceContextMode
- PerSession / How it works...
- PerCall / How it works...
- Single / How it works...
- InstanceContextMode property / How to do it...
- IsAnonymous property / How to do it...
- IsOneWay property / How to do it..., How it works...
- IsTerminating property / How to do it...
K
- KnownTypeHelper.GetKnownTypes method / How to do it...
M
- MainFeed function / How to do it...
- MainForm class / How to do it...
- makecert.exe command / How to do it...
- makecert.exe tool
- invoking / How to do it...
- managed ServiceDiscovery
- about / Using managed ServiceDiscovery
- using / How to do it...
- working / How it works...
- maxConcurrentCalls attributes / How to do it...
- maxConcurrentInstances attributes / How to do it...
- maxConcurrentSessions attributes / How to do it...
- message based operation request
- filtering / Filtering operation requests based on message, How to do it...
- working / How it works...
- MessageContract
- using, to control SAP message / Using MessageContract to control the SOAP message, How to do it...
- working / How it works...
- MessageEncoder property / How to do it...
- MessageInspector
- about / Altering operation messages via MessageInspector
- operation message, altering / How to do it...
- working / How it works..., See also
- Message objects / Introduction
- message security
- and transport, using at same time / Using transport and message security at the same time, How to do it..., See also
- MetadataExchangeClient class
- about / There's more...
- method
- CreateServiceHost / How to do it...
- GetIntData / How it works...
- CreateChannel / How it works...
- KnownTypeHelper.GetKnownTypes / How to do it...
- ErrorHandlingInvoker.Invoke / How it works...
- AfterReceiveReply / How to do it...
- BeforeSendRequest / How it works...
- CheckAccessCore / How to do it..., How it works...
- Add_ParamsInUrlSuffix / How it works...
- GetResponse / How to do it...
- mexAddress parameter / How it works...
- MMC / How to do it...
- MSMQ
- two-way communication, setting up / Setting up two-way communication over MSMQ
- about / Getting ready
- WCF service, consuming / Consuming a WCF service with a raw MSMQ program
- working / How it works...
- MsmqIntegrationBinding / How it works...
- MTOM encoding
- applying, for WCF service endpoints encoding / Transferring binary data with MTOM encoding, How to do it...
- multiple-endpoint service
- about / Creating a multiple-endpoint service
- creating / How to do it...
- working / How it works...
- physical address, sharing / Sharing a physical address between multiple endpoints, How to do it...
- multiple tokens
- adding, in service request / Adding multiple tokens in a service request (supportingToken), How to do it..., How it works...
- mustUnderstand attribute
- suppressing on SoapHeaders / Suppressing mustUnderstand validation on unknown SoapHeaders, How to do it...
- working / How it works...
N
- .NET CodeDom / How to do it...
- .NET Svcutil.exe tool / How it works...
- NetMSMQBinding / How it works...
- non-HTTP service, hosting in IIS 7
- about / Hosting a non-HTTP service in IIS 7, How to do it...
- working / How it works...
- NotAllowed / How to do it...
O
- one-way Contract
- defining / Defining a one-way Contract, How to do it...
- working / How it works..., There's more...
- ServiceContract, implementing / How it works...
- OnStart event / How it works...
- OperationContext.Current property / How to do it...
- OperationContext class / How it works...
- OperationContext object / How to do it...
- OperationInvoker
- generic operation error handling / How to do it...
- working / How it works...
- ErrorHandlingInvoker, using / There's more...
- OutputCache
- about / Applying OutputCache in a REST service
- applying, in REST service / How to do it...
- working / How it works...
P
- parameter inspector
- incoming service operation parameters, manipulating / How to do it...
- working / How it works...
- PerformanceCounters
- about / Using PerformanceCounters for WCF service monitoring
- utilizing / How to do it...
- levels / How to do it...
- physical address, sharing
- between multiple-endpoint / Sharing a physical address between multiple endpoints, How to do it...
- working / How it works...
- plain HTTP
- ad hoc Windows authentication, setting up over / Setting up ad hoc Windows authentication over plain HTTP, How to do it..., How it works...
- POX
- HTTP service, implementing / Implementing a POX HTTP service, How to do it...
- POX HTTP service
- implementing / Implementing a POX HTTP service
- working / How it works...
- PrimaryIdentity property / How to do it...
- property
- RequirementsMode / How to do it...
- OperationContext.Current / How to do it...
- DataContext / How to do it...
- protocolMapping / How it works...
- proxy authentication
- dedicated credentials, supplying / Supplying dedicated credentials for firewall or proxy authentication
- Proxy property / Supplying dedicated credentials for firewall or proxy authentication
- Publish-Subscribe
- about / Building a Publish-Subscribe service with dual binding
- implementing, dual binding used / Getting ready, How to do it...
- working / How it works...
Q
- query string / Mapping URL suffix to operation parameters
R
- raw XML
- about / Using raw XML as an operation parameter
- using, as operation parameter / How to do it...
- working / How it works...
- transfering / There's more...
- ReadMessage function / How to do it...
- ReadOnlyCollection data
- about / Returning ReadOnlyCollection data
- returning / How to do it...
- working / How it works...
- Request-response / There's more...
- Required / How to do it...
- RequirementsMode property / How to do it...
- ResponseFormat property / How it works...
- REST service
- about / Introduction
- hosting, console application used / How to do it...
- working / How it works...
- UriTemplate feature / Mapping URL suffix to operation parameters
- OutputCache, applying / How to do it...
- REST service endpoint
- about / Implementing file download via REST endpoint
- file download, implementing / How to do it...
- working / How it works...
- role-based authorization / Authorizing through declarative role-based access control, How to do it..., How it works...
- routing service
- about / Building a routing service
- building / How to do it..., Hrouting servicebuildingow it works...
- working / Hrouting servicebuildingow it works...
- routing contracts / Hrouting servicebuildingow it works...
- RSS feed service
- about / Building an RSS feed service
- creating / How to do it...
- accessing, through web browser / How to do it...
- RunService function / How to do it...
S
- security
- about / Introduction
- SecurityAccessDeniedException / How it works...
- service, creating
- via ChannelListener / Creating a service via ChannelListener, How to do it...
- Service1Client class / How to do it...
- ServiceAuthorizationManager
- custom service access authorization, implementing / How to do it...
- working / How it works...
- ServiceContractAttribute.InstanceContext property / How it works...
- service discovery feature / Building an ad-hoc auto-discoverable service
- ServiceHost class / How it works...
- ServiceHostFactory
- using, for IIS ServiceHost customization / Customizing IIS ServiceHost via ServiceHostFactory
- ServiceHostFactory class / How to do it...
- service hosting
- in Console Application / Hosting a service in a console application
- in Windows Service / Hosting a service in Windows Service
- in WSS 3.0 / Hosting a service in WSS 3.0, How to do it...
- serviceInstaller1 class / How to do it...
- ServiceKnownType
- about / Specifying ServiceKnownType information in a programmatic way
- specifying, programmatically / How to do it...
- working / How it works...
- service request
- multiple tokens, adding / Adding multiple tokens in a service request (supportingToken), How to do it..., How it works...
- ServiceSecurityContext type / How to do it...
- singleton instance service
- about / Hosting a singleton instance service
- hosting / How to do it...
- working / How it works...
- singleton service
- dedicated service instance, specifying / Specifying a dedicated service instance for a singleton service
- about / Specifying a dedicated service instance for a singleton service
- SOA(Service-Oriented Architecture) / Introduction
- SoapHeader / Adding a custom SoapHeader via Contract
- about / Adding a custom SoapHeader via Contract
- adding / How to do it...
- working / How it works..., There's more..., How it works...
- adding, to message / Adding a dynamic SoapHeader into a message
- SoapHeaders
- mustUnderstand attribute, suppressing on / Suppressing mustUnderstand validation on unknown SoapHeaders, How to do it...
- StartDiscoveryProxy function / How to do it...
- Subscribe method / How to do it...
- SumInspectorBehavior class / How to do it...
- supportingToken feature / Adding multiple tokens in a service request (supportingToken), How it works...
T
- throttling
- about / Using throttling to control service concurrency
- using, for service concurrency control / How to do it...
- working / How it works...
- transport
- and message security, using at same time / Using transport and message security at the same time, How to do it..., See also
- two-way communication setup, in MSMQ
- starting with / Getting ready
- steps / How to do it...
- working / How it works...
- two-way communication setup in MSMQ
- working / How it works...
- typed service client
- about / Creating a typed service client
- creating / How to do it...
- working / How it works...
U
- unsecured HTTP transport
- clear text username token, sending over / Sending a clear text username token over unsecured HTTP transport, How to do it..., How it works..., See also
- UriTemplate feature
- using / How to do it..., There’s more...
- URL suffix
- mapping, to operation parameters / How to do it...
- working / How it works...
- User-Agent HTTP / How to do it...
- username authentication
- using, with ASP.NET membership provider / Using username authentication with an ASP.NET membership provider, How to do it..., How it works...
- UsernameForCertificate binding element / How to do it...
V
- Visual Studio
- auto-generated service WCF proxy / Customizing an auto-generated service proxy class in Visual Studio
- auto-generated service WCF proxy, customizing / How to do it...
- auto-generated service WCF proxy, working / How it works...
- auto-generated service WCF proxy, advantage / How it works...
- Visual Studio testing tools
- WCF concurrency performance, tuning / Tuning WCF concurrency performance via Visual Studio testing tools, How to do it...
- working / How it works...
W
- WCF
- Publish-Subscribe implementation, dual binding used / Building a Publish-Subscribe service with dual binding
- Non-HTTP Activation Components / How to do it...
- IErrorHandler / Generic operation error handling with OperationInvoker
- REST / Introduction
- diagnostics / Introduction
- Test Client tool / Using the WCF Test Client tool to test a service
- request/response message capturing, Fiddler tool used / How to do it...
- tracing feature, enabling / How to do it...
- message logging feature, enabling / How to do it...
- message logging feature, working / How it works...
- tracing feature, working / How it works...
- WCF, built-in bindings
- NetMsmqBinding / Introduction
- BasicHttpBinding / Introduction
- NetTcpBinding / Introduction
- WCF 4.0
- Default Binding feature / There’s more...
- WCF Addressing / There’s more...
- WCF architecture
- layers / Introduction
- extension interfaces, providing / Introduction
- WCF Client
- ASMX Web service, consuming / How to do it...
- WCF concurrency performance
- tuning, Visual Studio testing tools USED / Tuning WCF concurrency performance via Visual Studio testing tools, How to do it...
- tuning, Visual Studio testing tools used / Tuning WCF concurrency performance via Visual Studio testing tools, How to do it...
- WCF extension components
- registering, manually in IIS server / How to do it...
- WCF service
- invoking, without blocking front UI / Invoking a WCF service without blocking the front UI, How to do it...
- built-in asynchronous operation, using / How it works...
- accessing, via WebRequest class / How to do it...
- consuming, with MSMQ / Consuming a WCF service with a raw MSMQ program
- consuming, MSMQ used / How to do it...
- using, in Microsoft Office / How to do it...
- URL string, parts / How to do it...
- tips / Introduction
- test X.509 certificates, creating / Creating test X.509 certificates for WCF Service
- WCF service client consumer
- IP address, obtaining / Getting the IP address of a client consumer of a WCF service, How to do it...
- WCF ServiceHost / How it works...
- WCF service moniker
- working / How it works...
- WCF services
- configuration / Introduction
- hosting services / Introduction
- WCF Service Trace Viewer too / How to do it...
- WCF Test Client tool
- about / Using the WCF Test Client tool to test a service
- using, for service testing / How to do it...
- limitations / There’s more...
- WebProxy instance / How to do it...
- WebRequest.DefaultWebProxy property / How to do it...
- WebRequest class
- about / Accessing a WCF service via the WebRequest component
- WCF service, accessing / How to do it...
- working / How it works...
- Windows Certificate Services
- references / There's more...
- WindowsIdentity instance / Impersonating with a client caller identity
- Windows Identity property / How to do it...
- WindowsIdentity property / How to do it...
- Windows Service
- about / Hosting a service in Windows Service
- service hosting / Hosting a service in Windows Service, How to do it...
- working / How it works...
- Windows service host
- about / Debugging in a Windows service host
- debugging / Debugging in a Windows service host
- debugging, steps / How to do it...
- WPF
- about / Binding a WPF element with data from a WCF service
- binding, with WCF service data / Binding a WPF element with data from a WCF service
- WPF binding, WCF service data used
- about / Binding a WPF element with data from a WCF service
- XAML-based WPF Window application, creating / How to do it...
- data binding code, adding / How to do it...
- working / How it works...
- WriteMessage function / How to do it...
- WS-I Basic Profile
- about / Building a WS-I Basic Profile 1.1 compatible service
- page / Getting ready
- compatibility, configuring / How to do it...
- working / How it works...
- WSDLServiceHostFactory class / How it works...
- WSS 3.0
- service hosting / Hosting a service in WSS 3.0, How to do it...
- working / How it works...
X
- X.509 certificates
- creating, for WCF Service / Creating test X.509 certificates for WCF Service
- managing / Managing X.509 certificates installed on service machine, How to do it...
- X.509 certificates, managing
- MMC snap-in, using / How to do it...
- Certmgr.exe tool, using / How to do it...
- Windows PowerShell, using / How to do it...
- X.509 certificates, WCF service
- creating / How to do it...
- Windows Certificate Services, using / How to do it...
- makecert.exe tool, using / How to do it...
- XML Schemas / Generate DataContract from an XML Schema
- DataContract, generating from / Getting ready, How to do it...
- XMLSerializer
- using, for control message serialization / Using XMLSerializer to control message serialization
- working / How it works...
- XmlSerializer
- about / Using XmlSerializer for custom data serialization
- using, for custom data serialization / How to do it...
- working / How it works...
- XSS / There’s more...