<?xml version="1.0" encoding="utf-8"?>
<configuration>
	<startup>
		<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
	</startup>
	<runtime>
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
			<dependentAssembly>
				<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
				<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0"/>
			</dependentAssembly>
		</assemblyBinding>

		<AppContextSwitchOverrides value="Switch.System.IO.Ports.DoNotCatchSerialStreamThreadExceptions=true" />
	</runtime>
	<system.serviceModel>
		<bindings>
			<customBinding>
				<binding name="MDFeRecepcaoSoap12">
					<textMessageEncoding messageVersion="Soap12"/>
					<httpsTransport/>
				</binding>
			</customBinding>
		</bindings>
		<client>
			<endpoint address="https://mdfe.svrs.rs.gov.br/ws/MDFerecepcao/MDFeRecepcao.asmx" binding="customBinding" bindingConfiguration="MDFeRecepcaoSoap12" contract="ServiceReference1.MDFeRecepcaoSoap12" name="MDFeRecepcaoSoap12"/>
		</client>
	</system.serviceModel>
</configuration>
