TFS_ANTIGUO/FRONT END/SATELITES/ULTIMUS_BPMComplement/Ultimus.IntegrationLayer/Web.config
2020-08-06 15:24:55 +00:00

55 lines
No EOL
2.4 KiB
XML

<?xml version="1.0"?>
<configuration>
<configSections>
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/>
</configSections>
<system.serviceModel>
<services>
<service name="UltimusIntegrationLayer.UltimusIntegration" behaviorConfiguration="UltimusIntegrationLayer.Behavior">
<endpoint address="" binding="wsHttpBinding" contract="UltimusIntegrationLayer.IUltimusIntegration" bindingConfiguration="WSHttpBinding_IUltimusIntegration">
<identity>
<dns value="localhost"/>
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
<host>
<baseAddresses>
<add baseAddress="http://localhost/UltimusIntegrationLayer/UltimusIntegration.svc"/>
</baseAddresses>
</host>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="UltimusIntegrationLayer.Behavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IUltimusIntegration">
<security mode="None">
<transport clientCredentialType="None"/>
</security>
</binding>
</wsHttpBinding>
</bindings>
</system.serviceModel>
<system.web>
<compilation debug="true" targetFramework="4.5.1"/>
<pages controlRenderingCompatibilityVersion="4.0"/>
</system.web>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<variable name="logDirectory" value="${basedir}"/>
<targets>
<target name="Normal" xsi:type="File" layout="${date}|${machinename}|${level}|${logger}|${event-context:item=INITLogger}|${message}" fileName="${basedir}/InternalLogs/${logger} ${shortdate}.txt"/>
<target name="Production" xsi:type="File" layout="${date}|${machinename}|${level}|${logger}|${event-context:item=INITLogger}|${message}" fileName="${basedir}/InternalLogs/${logger} ${shortdate}.txt"/>
</targets>
<rules>
<logger name="*" minlevel="Trace" writeTo="Normal"/>
<!--<logger name="*" minlevel="Warn" writeTo="Production" />-->
</rules>
</nlog>
</configuration>