Configuring a DCS Client Application
A DCS client application configuration file lets you configure the following items required for a typical DCS client application:
- Discovery endpoints for communicating with the Discovery Service
- Scope provider
- Scope ranker
- Endpoint selector
- Context class
- Policy importers
- Service endpoint caching and metadata caching
- Response caching
- Bindings to connect to the MEX endpoints exposed by services
The topics in this section describe how to configure each of these items.
You use the <cis.serviceModel> custom section of the configuration file to configure many of these items. To use this section, you must add a section group that imports the Microsoft.ConnectedIndustry.ServiceModel.Application.Configuration.ServiceModelSelectionGroup configuration class. The following code shows how to create a section group that specifies this configuration class.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="cis.serviceModel" type="Microsoft.ConnectedIndustry.ServiceModel.Application.Configuration.ServiceModelSectionGroup, Microsoft.ConnectedIndustry.ServiceModel.Application, version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
...
</sectionGroup>
</configSections>
...
</configuration>
In This Section
Configuring Endpoints for Communicating with the Discovery Service
Configuring Multiple Discovery Endpoints
Configuring a Scope Provider, Scope Ranker, and Endpoint Selector
Configuring Service Endpoint and WS-Metadata Caching
Configuring a Client Application to Support Response Caching