forked from OPCFoundation/UA-.NETStandard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQuickstarts.ReferenceServer.exe.config
73 lines (62 loc) · 2.78 KB
/
Quickstarts.ReferenceServer.exe.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="Quickstarts.ReferenceServer" type="Opc.Ua.ApplicationConfigurationSection,Opc.Ua.Core"/>
</configSections>
<system.serviceModel>
<!--
UA servers built with the SDK use the Opc.Ua.SessionEndpoint class to implement the ISessionEndpoint
contract. It is possible to add additional behaviors in the configuration file by referencing this
service. For example, the configuration in this file turns on metadata publishing.
-->
<services>
<service name="Opc.Ua.SessionEndpoint" behaviorConfiguration="Opc.Ua.SessionEndpoint.Behavior">
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
</services>
<!-- Servers deployed in production environments should turn the httpGetEnabled and includeExceptionDetailInFaults options off -->
<behaviors>
<serviceBehaviors>
<behavior name="Opc.Ua.SessionEndpoint.Behavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<!--
Uncommenting this <diagnostics> block will turn on message logging. The contents and the location of the
log file are specified in the <system.diagnostics> block.
-->
<!--
<diagnostics>
<messageLogging logEntireMessage="true" maxMessagesToLog="3000" logMessagesAtServiceLevel="true" logMalformedMessages="true" logMessagesAtTransportLevel="true"/>
</diagnostics>
-->
</system.serviceModel>
<!--
<system.diagnostics>
<sources>
<source name="System.ServiceModel" switchValue="Verbose, ActivityTracing">
<listeners>
<add type="System.Diagnostics.DefaultTraceListener" name="Default"/>
<add name="ServiceModel Listener"/>
</listeners>
</source>
<source name="System.ServiceModel.MessageLogging">
<listeners>
<add type="System.Diagnostics.DefaultTraceListener" name="Default"/>
<add name="ServiceModel Listener"/>
</listeners>
</source>
</sources>
<sharedListeners>
<add initializeData="Quickstarts.ReferenceServer.svclog" type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="ServiceModel Listener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack"/>
</sharedListeners>
</system.diagnostics>
-->
<Quickstarts.ReferenceServer>
<ConfigurationLocation xmlns="http://opcfoundation.org/UA/SDK/Configuration.xsd">
<FilePath>Quickstarts.ReferenceServer.Config.xml</FilePath>
</ConfigurationLocation>
</Quickstarts.ReferenceServer>
<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>