|
|
Line 129: |
Line 129: |
| | | |
| ===appSettings=== | | ===appSettings=== |
− | In this section the settings of the {{UBIK}} service can be specified. The settings are described in chapter [[Web_Service_Configuration|Web Service Configuration]].
| + | See [[Configuration_Files/AppSettings.config]]. |
− | | + | |
− | '''Example 1:'''
| + | |
− | | + | |
− | <source lang="xml">
| + | |
− | <appSettings>
| + | |
− | <add key="UBIK.DataBase.ConnectionString" value="Data Source=ubikdbserver.mydomain;Initial Catalog=UBIK.MYDATABASE;User ID=myuser;Password=mypassword" />
| + | |
− | <add key="UBIK.Service.MaxIdleMinutes" value="5" />
| + | |
− | <add key="UBIK.Service.ValityPeriode" value="0" />
| + | |
− | <add key="UBIK.Service.TokenValityPeriode" value="300" />
| + | |
− | <add key="UBIK.Service.LogLevel" value="10" />
| + | |
− | <add key="UBIK.Service.UserRestrictive" value="1" />
| + | |
− | <add key="UBIK.Service.DeviceRestrictive" value="1" />
| + | |
− | <add key="UBIK.Service.TokenRestrictive" value="1" />
| + | |
− | <add key="UBIK.Service.LanguageID" value="0" />
| + | |
− | <add key="UBIK.Service.SessionManagementType" value="0" />
| + | |
− | <add key="UBIK.Service.SessionManagementUrl" value="" />
| + | |
− | </appSettings>
| + | |
− | </source>
| + | |
− | | + | |
− | '''Example 2:''' (configured for an Microsoft Azure cloud database and a LAS service)
| + | |
− | | + | |
− | <source lang="xml">
| + | |
− | <appSettings>
| + | |
− | <add key="UBIK.DataBase.ConnectionString" value="Data Source=tcp:xxxxxxxx.database.windows.net,1433;Initial Catalog=UBIK.MYDATABASE;User ID=myclouduser@xxxxxxxx;Password=mypassword" />
| + | |
− | <add key="UBIK.Service.MaxIdleMinutes" value="5" />
| + | |
− | <add key="UBIK.Service.ValityPeriode" value="0" />
| + | |
− | <add key="UBIK.Service.TokenValityPeriode" value="300" />
| + | |
− | <add key="UBIK.Service.LogLevel" value="10" />
| + | |
− | <add key="UBIK.Service.UserRestrictive" value="1" />
| + | |
− | <add key="UBIK.Service.DeviceRestrictive" value="1" />
| + | |
− | <add key="UBIK.Service.TokenRestrictive" value="1" />
| + | |
− | <add key="UBIK.Service.LanguageID" value="0" />
| + | |
− | <add key="UBIK.Service.SessionManagementType" value="1" />
| + | |
− | <add key="UBIK.Service.SessionManagementUrl" value="https://myusamserver.mydomain:myport/UBIK/USAM/USAM.svc/SOAP" />
| + | |
− | </appSettings>
| + | |
− | </source>
| + | |
− | | + | |
− | {{Hint|The port number ''myport'' must be specified only if other than 443.}}
| + | |
| | | |
| ===system.web=== | | ===system.web=== |
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.