Release 1.0 - ...
<services> element
Contains the WCF services that Smartsite will start when the site is initialized. The enabled (optional, default value true) attribute can be used to (temporarily) disable a service.
The required attribute (optional, default value true) can be used to mark a service as critical. When required has been set to True and the service fails to initialize (usually caused by the fact that an endpoint listener can not be started due to the fact that the address is already in use or caused by insufficient access rights to start a listener on a particular address), the site itself will also fail to start.
(Note: the required attribute is available from RC2 onwards.)
Example
XML |
Copy Code
|
<services>
<service id="StateSyncService" type="Smartsite.Core.Services.StateSyncService, Smartsite.Services" enabled="true" />
<service id="InteropService" type="Smartsite.Core.Services.InteropService, Smartsite.Services" enabled="true" />
<service id="SchemaService" type="Smartsite.Core.Services.SchemaService, Smartsite.Services" enabled="true" />
<service id="EventSynchronizationService" type="Smartsite.Core.Services.EventSynchronizationService, Smartsite.Services" enabled="true" />
</services>
|
Attributes
None.
Parent element
Element name |
Description |
<runtime> |
Contains settings for the Smartsite runtime. |
Child elements
Element name |
Description |
<service> |
Adds a new service to the list of services. |