mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-22 17:50:03 +08:00
2901d8e5bb
2. Removed client cert validation from HTTPS client and server as this is not supported on all platforms, e.g. .Net4.6. 3. Reverted back to XmlDocument from XDocument as this is now supported via a NuGet package on UWP and XDocument is not supported on .Net4.6. 4. Baseline .Net4.6 samples and assoc. controls project check-in, not working yet. 5. Moved UWP client controls from SDK to Samples directly.
75 lines
2.7 KiB
XML
75 lines
2.7 KiB
XML
<?xml version="1.0"?>
|
|
<configuration>
|
|
<configSections>
|
|
<section name="Opc.Ua.SampleClient" 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 behavoirs 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="Opc.Ua.SampleClient.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>
|
|
-->
|
|
|
|
<Opc.Ua.SampleClient>
|
|
<ConfigurationLocation xmlns="http://opcfoundation.org/UA/SDK/Configuration.xsd">
|
|
<FilePath>Opc.Ua.SampleClient.Config.xml</FilePath>
|
|
</ConfigurationLocation>
|
|
</Opc.Ua.SampleClient>
|
|
|
|
<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>
|