Streamed implementation. Limited input buffer.
[LanSpider.git] / src / ShareDiscovery / app.config
blob08880dfe1696e88cc6b7febd50873531727ef41e
1 <?xml version="1.0" encoding="utf-8" ?>
2 <configuration>
3 <system.diagnostics>
4 <sharedListeners>
5 <add type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
6 name="NewListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack">
7 <filter type="" />
8 </add>
9 </sharedListeners>
10 </system.diagnostics>
11 <system.web>
12 <compilation debug="true" />
13 </system.web>
14 <!-- When deploying the service library project, the content of the config file must be added to the host's
15 app.config file. System.Configuration does not support config files for libraries. -->
16 <system.serviceModel>
17 <diagnostics>
18 <messageLogging logEntireMessage="true" />
19 </diagnostics>
20 <bindings>
21 <netTcpBinding>
22 <binding name="LargeAlowanceBinding" receiveTimeout="00:10:00"
23 sendTimeout="00:01:00" transferMode="StreamedRequest" maxBufferPoolSize="524288000"
24 maxBufferSize="65536000" maxReceivedMessageSize="65536000">
25 <readerQuotas maxDepth="256" />
26 </binding>
27 </netTcpBinding>
28 </bindings>
29 <services>
30 <service behaviorConfiguration="ShareDiscovery.ShareDiscoveryServiceBehavior"
31 name="ShareDiscovery.ShareDiscoveryService">
32 <endpoint address="" binding="netTcpBinding" bindingConfiguration="LargeAlowanceBinding"
33 name="tcpShareDiscovery" contract="ShareDiscovery.IShareDiscoveryService">
34 <identity>
35 <dns value="localhost" />
36 </identity>
37 </endpoint>
38 <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration=""
39 name="mexEndpoint" contract="IMetadataExchange" />
40 <host>
41 <baseAddresses>
42 <add baseAddress="net.tcp://localhost:8731/ShareDiscoveryService" />
43 </baseAddresses>
44 </host>
45 </service>
46 </services>
47 <behaviors>
48 <serviceBehaviors>
49 <behavior name="ShareDiscovery.ShareDiscoveryServiceBehavior">
50 <serviceMetadata httpGetEnabled="false" />
51 <serviceDebug includeExceptionDetailInFaults="true" />
52 <dataContractSerializer maxItemsInObjectGraph="16777216" />
53 </behavior>
54 </serviceBehaviors>
55 </behaviors>
56 </system.serviceModel>
57 </configuration>