Difference between revisions of "Configuration File Example"
(→General) |
(→system.serviceModel) |
||
Line 163: | Line 163: | ||
:The client's endpoint addresses are ignored as they are replaced by the settings provided in appSettings at service runtime! | :The client's endpoint addresses are ignored as they are replaced by the settings provided in appSettings at service runtime! | ||
+ | ==== behaviors ==== | ||
<source lang="xml"> | <source lang="xml"> | ||
<system.serviceModel> | <system.serviceModel> | ||
Line 180: | Line 181: | ||
</endpointBehaviors> | </endpointBehaviors> | ||
</behaviors> | </behaviors> | ||
+ | ... | ||
+ | </system.serviceModel> | ||
+ | </source> | ||
+ | |||
+ | ==== bindings ==== | ||
+ | <source lang="xml"> | ||
+ | <system.serviceModel> | ||
+ | ... | ||
<bindings> | <bindings> | ||
<webHttpBinding> | <webHttpBinding> | ||
Line 220: | Line 229: | ||
</wsHttpBinding> | </wsHttpBinding> | ||
</bindings> | </bindings> | ||
+ | ... | ||
+ | </system.serviceModel> | ||
+ | </source> | ||
+ | |||
+ | ==== services ==== | ||
+ | <source lang="xml"> | ||
+ | <system.serviceModel> | ||
+ | ... | ||
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" minFreeMemoryPercentageToActivateService="0"/> | <serviceHostingEnvironment multipleSiteBindingsEnabled="true" minFreeMemoryPercentageToActivateService="0"/> | ||
<services> | <services> | ||
Line 231: | Line 248: | ||
</service> | </service> | ||
</services> | </services> | ||
+ | ... | ||
+ | </system.serviceModel> | ||
+ | </source> | ||
+ | |||
+ | ==== client ==== | ||
+ | <source lang="xml"> | ||
+ | <system.serviceModel> | ||
+ | ... | ||
<client> | <client> | ||
<endpoint address="a" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IUSAM" contract="USAMService.IUSAM" name="BasicHttpBinding_IUSAM"/> | <endpoint address="a" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IUSAM" contract="USAMService.IUSAM" name="BasicHttpBinding_IUSAM"/> |
Revision as of 11:17, 26 March 2015
All the configuration files (UBIK.Studio.exe.config, UBIK.EnterpriseService.exe.config, web.config) have to comply with syntax and other guidelines as given in Configuring Apps by using Configuration Files.
For the configuration file web.config of the Web Service see the Configuring Services for further information.