Jump to: navigation, search

Changes


Configuration Files/AppSettings.config

2,035 bytes added, 13:48, 12 May 2015
In this file the settings The data and session management service of the web service can be specified as described are configured in [[Web_Service_Configuration|Web Service Configuration]]this file.
=== Example 1 ==Application settings =
{| class="wikitable" | width = "88%"
|-
! Area!! Setting!! Description
|-
| appSettings|| UBIK.DataBase.ConnectionString ||Configuration of the SQL connect string to the {{UBIK}} Database
|-
| appSettings|| UBIK.Service.MaxIdleMinutes ||Duration [in minutes] until a unused WebService shuts down automatically
|-
| appSettings|| UBIK.Service.ValityPeriode ||Duration [in seconds] until a cached record is marked as outdated in the UBIK Kernel
|-
| appSettings|| LogLevel ||LogLevel
|-
| appSettings|| LanguageID ||ID of the language that must be used by the Web Service. The Service will deliver the content of MultiLanguage Properties in this language.
|-
| appSettings|| UserRestrictive ||If this switch is '''1''', only known logins may connect to {{UBIK}}.<br/>If it is set to '''0''', every login may connect.
|-
| appSettings|| DeviceRestrictive ||If this switch is '''1''', only known and active devices may connect to UBIK.<br/>If it is set to '''0''', every device may connect.
|-
| appSettings|| TokenRestrictive ||If this switch is '''1''', data access is only possible after a successfull authentication.<br/>If it is set to '''0''', the token is not validated.
|-
| appSettings|| SessionManagementType ||Configure the type of [[USAM|session management]] the current service should use:<br/>'''0''' = Single Local Management / '''1''' = Local Application Service / '''2''' = Global Application Service
|-
| appSettings|| SessionManagementUrl||In the case of SessionManagementType = '''1''' or '''2''', configure the URL of the application service via this setting.<br/>If a port other than 443 (default port for https) is used, it has to be specified here as well.
|-
| appSettings|| EnableViewCache || Enable = '''1''' / Disable = '''0''' the [[View Cache]] feature
|-
| loggingConfiguration|| listeners ||Full configuration of the {{UBIK}} Logging
|-
| requestLimits || maxAllowedContentLength || Configure the maximum allowed length of received content (see [[Web_Service_Configuration_Example#system.webServer|Example]])
|-
|}
 
= Examples =
=== Example 1 ===
<source lang="xml">
<appSettings>
10,686
edits