mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-21 17:16:16 +08:00
3e61a85901
Upgraded all project from .NET 4.6 to .NET 4.6.2 that also .NET framework applications can use latest version of Kestrel * Updated Kestrel to 2.2.0 (for Opc.Ua.Core) * Simplified csproj (removed ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.3'") because currently we don't build netstandard1.x anymore * Removed Kestrel 1.1.3 code from Stack/Opc.Ua.Core/Stack/Https/HttpsListener.cs * add conditions to Stack/Opc.Ua.Core/Stack/Https/HttpsTransportChannel.cs * [HttpClientHandler.ServerCertificateCustomValidationCallback](https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclienthandler.servercertificatecustomvalidationcallback?view=netcore-3.1&viewFallbackFrom=netframework-4.6.2) should not be available in .NET 4.6.X * Updated travis.ci to use latest mono version (original version causes build errors) * Added nuget reference .NET Standard Library to mono projects to be compatible with latest Kestrel version Own Travis.ci and Azure Pipeline builds run sucessfully.
71 lines
3.1 KiB
XML
71 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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 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="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>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0"/>
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
|