92 lines
4.2 KiB
XML
92 lines
4.2 KiB
XML
<?xml version="1.0"?>
|
|
<configuration>
|
|
|
|
<configSections>
|
|
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/>
|
|
</configSections>
|
|
|
|
<appSettings>
|
|
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
|
|
</appSettings>
|
|
<system.web>
|
|
<compilation debug="true" targetFramework="4.5" />
|
|
<httpRuntime targetFramework="4.5"/>
|
|
</system.web>
|
|
|
|
<system.serviceModel>
|
|
<behaviors>
|
|
<serviceBehaviors>
|
|
<behavior name="ServiceBehavior">
|
|
<serviceMetadata httpGetEnabled="true"/>
|
|
<serviceDebug includeExceptionDetailInFaults="true"/>
|
|
</behavior>
|
|
</serviceBehaviors>
|
|
<endpointBehaviors>
|
|
<behavior name="SOAPBehavior"/>
|
|
<behavior name="JSONBehavior">
|
|
<webHttp/>
|
|
</behavior>
|
|
</endpointBehaviors>
|
|
</behaviors>
|
|
|
|
<services>
|
|
<service behaviorConfiguration="ServiceBehavior" name="WCFPrendarioSeguros.CalculosSegurosCotizacion">
|
|
<endpoint address="soap" behaviorConfiguration="SOAPBehavior"
|
|
binding="wsHttpBinding" bindingConfiguration="SOAPBinding" contract="WCFPrendarioSeguros.ICalculosSegurosCotizacion" />
|
|
<endpoint address="json" behaviorConfiguration="JSONBehavior"
|
|
binding="webHttpBinding" bindingConfiguration="JSONBinding"
|
|
contract="WCFPrendarioSeguros.ICalculosSegurosCotizacion" />
|
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
|
|
<host>
|
|
<baseAddresses>
|
|
<add baseAddress="http://localhost/WCFPrendarioSeguros/CalculosSegurosCotizacion.svc" />
|
|
</baseAddresses>
|
|
</host>
|
|
</service>
|
|
</services>
|
|
<bindings>
|
|
<wsHttpBinding>
|
|
<binding name="SOAPBinding" closeTimeout="00:50:00" openTimeout="00:50:00" receiveTimeout="00:50:00" sendTimeout="00:50:00" bypassProxyOnLocal="false" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" useDefaultWebProxy="true" allowCookies="false">
|
|
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
|
|
<security mode="None">
|
|
<transport clientCredentialType="None"/>
|
|
</security>
|
|
</binding>
|
|
</wsHttpBinding>
|
|
<webHttpBinding>
|
|
<binding name="JSONBinding" closeTimeout="00:50:00" openTimeout="00:50:00" receiveTimeout="00:50:00" sendTimeout="00:50:00" bypassProxyOnLocal="false" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" useDefaultWebProxy="true" allowCookies="false">
|
|
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
|
|
<security mode="None">
|
|
<transport clientCredentialType="None"/>
|
|
</security>
|
|
</binding>
|
|
</webHttpBinding>
|
|
</bindings>
|
|
<protocolMapping>
|
|
<add binding="basicHttpsBinding" scheme="https" />
|
|
</protocolMapping>
|
|
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
|
|
</system.serviceModel>
|
|
|
|
<system.webServer>
|
|
<modules runAllManagedModulesForAllRequests="true"/>
|
|
<!--
|
|
To browse web app root directory during debugging, set the value below to true.
|
|
Set to false before deployment to avoid disclosing web app folder information.
|
|
-->
|
|
<directoryBrowse enabled="true"/>
|
|
</system.webServer>
|
|
|
|
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<variable name="logDirectory" value="C:/UltimusLogs/ULA.Davivienda.PrestamoAutos"/>
|
|
<targets>
|
|
<target name="Normal" xsi:type="File" layout="${date}|${machinename}|${level}|${logger}|${event-context:item=INITLogger}|${message}" fileName="${logDirectory}/${logger} ${shortdate}.txt"/>
|
|
<target name="Production" xsi:type="File" layout="${date}|${machinename}|${level}|${logger}|${event-context:item=INITLogger}|${message}" fileName="${logDirectory}/${logger} ${shortdate}.txt"/>
|
|
</targets>
|
|
<rules>
|
|
<logger name="*" minlevel="Trace" writeTo="Normal"/>
|
|
<!--<logger name="*" minlevel="Warn" writeTo="Production" />-->
|
|
</rules>
|
|
</nlog>
|
|
|
|
</configuration>
|