filmov
tv
WCF DotNet C# Português sem lero lero

Показать описание
WCF DotNet C# Português sem lero lero
Me perdoem as pessoas que gostam de esmiuçar detalhes técnicos....
....meu objetivo é apresentar uma solução entendível para todos os níveis de conhecimento..
CONFIGURAÇÃO BÁSICA PARA TRANSFERIR GRANDES ARQUIVOS:
do lado do Client:
?xml version="1.0" encoding="utf-8" ?
configuration
bindings
basicHttpBinding
binding name="BasicHttpBinding_IService1" closeTimeout="23:01:00"
openTimeout="23:01:00" receiveTimeout="23:10:00" sendTimeout="23:11:00"
allowCookies="false" bypassProxyOnLocal="false" maxBufferPoolSize="2147483647"
maxReceivedMessageSize="2147483647" useDefaultWebProxy="true" /
/basicHttpBinding
/bindings
client
bindingConfiguration="BasicHttpBinding_IService1" contract="ServiceReference1.IService1"
name="BasicHttpBinding_IService1" /
/client
/configuration
do lado do Web:
?xml version="1.0"?
configuration
compilation debug="true" targetFramework="4.0" /
httpRuntime maxRequestLength="2097151"/
behaviors
serviceBehaviors
behavior
serviceMetadata httpGetEnabled="true"/
serviceDebug includeExceptionDetailInFaults="true"
httpHelpPageEnabled="true" /
dataContractSerializer maxItemsInObjectGraph="2147483647"/
/behavior
/serviceBehaviors
/behaviors
bindings
basicHttpBinding
binding closeTimeout="23:01:00"
openTimeout="23:01:00" receiveTimeout="23:10:00" sendTimeout="23:10:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="67108864" maxBufferPoolSize="67108864" maxReceivedMessageSize="67108864"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true"
readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647"
maxBytesPerRead="8192" maxNameTableCharCount="2147483647" /
security mode="None"
transport clientCredentialType="None" proxyCredentialType="None"
realm="" /
message clientCredentialType="UserName" algorithmSuite="Default" /
/security
/binding
/basicHttpBinding
/bindings
modules runAllManagedModulesForAllRequests="true"/
/configuration
Me perdoem as pessoas que gostam de esmiuçar detalhes técnicos....
....meu objetivo é apresentar uma solução entendível para todos os níveis de conhecimento..
CONFIGURAÇÃO BÁSICA PARA TRANSFERIR GRANDES ARQUIVOS:
do lado do Client:
?xml version="1.0" encoding="utf-8" ?
configuration
bindings
basicHttpBinding
binding name="BasicHttpBinding_IService1" closeTimeout="23:01:00"
openTimeout="23:01:00" receiveTimeout="23:10:00" sendTimeout="23:11:00"
allowCookies="false" bypassProxyOnLocal="false" maxBufferPoolSize="2147483647"
maxReceivedMessageSize="2147483647" useDefaultWebProxy="true" /
/basicHttpBinding
/bindings
client
bindingConfiguration="BasicHttpBinding_IService1" contract="ServiceReference1.IService1"
name="BasicHttpBinding_IService1" /
/client
/configuration
do lado do Web:
?xml version="1.0"?
configuration
compilation debug="true" targetFramework="4.0" /
httpRuntime maxRequestLength="2097151"/
behaviors
serviceBehaviors
behavior
serviceMetadata httpGetEnabled="true"/
serviceDebug includeExceptionDetailInFaults="true"
httpHelpPageEnabled="true" /
dataContractSerializer maxItemsInObjectGraph="2147483647"/
/behavior
/serviceBehaviors
/behaviors
bindings
basicHttpBinding
binding closeTimeout="23:01:00"
openTimeout="23:01:00" receiveTimeout="23:10:00" sendTimeout="23:10:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="67108864" maxBufferPoolSize="67108864" maxReceivedMessageSize="67108864"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true"
readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647"
maxBytesPerRead="8192" maxNameTableCharCount="2147483647" /
security mode="None"
transport clientCredentialType="None" proxyCredentialType="None"
realm="" /
message clientCredentialType="UserName" algorithmSuite="Default" /
/security
/binding
/basicHttpBinding
/bindings
modules runAllManagedModulesForAllRequests="true"/
/configuration
Комментарии