15 49.0138 8.38624 1 0 4000 1 https://www.alexmedina.net 300 true 0

Configurar el tamaño de las peticiones WCF REST del servicio web

0 Comments

Configurar el tamaño de las peticiones WCF REST, esto se realiza en el web.config

<bindings>
<basicHttpBinding>
 <binding name="LargeBuffer"
...
 <readerQuotas 
 maxDepth="2147483647" 
 maxStringContentLength="2147483647" 
 maxArrayLength="2147483647"
 maxBytesPerRead="2147483647" 
 maxNameTableCharCount="2147483647" />
....
 </binding>
 </basicHttpBinding>
 </bindings>
 <services>
 <service name="WcfService4.Service1" behaviorConfiguration="WcfService4.Service1Behavior">
 <endpoint
 bindingConfiguration="LargeBuffer" <!-- without this, the default quota of 8192 applies -->
 address=""
 binding="basicHttpBinding"
 contract="WcfService4.IService1">
....
 </endpoint>
 <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
 </service>
 </services>
Previous Post
Solución para cuando no carga el editor visual en WordPress
Next Post
WCF REST, un OperationContract con GET y otro con POST

0 Comments

Leave a Reply

SOBRE MÍ

Afortunado de trabajar en lo que me gusta, aprendiendo cada día cosas nuevas y ayudando a crear proyectos.
Conocimientos en diversas tecnologías y experiencia demostrable.
¿Nos ponemos manos a la obra?

Mis Apuntes