Performance in our WCF application is very poor now that we've added a
number of records to tables (not an unrealistic number, though). After
doing that, we did get "max message size" errors to I bumped that number to
99999999 (see below).
Can anyone please tell me if (1) my config files below look ok, and (2) you
have any other ideas why things might be so slow?
Thanks VERY much for any feedback,
Ron
---------------------------------------------------------------
The App.config in our client looks like this:
---------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<configuratio n>
<configSections >
</configSections>
<system.service Model>
<bindings>
<wsHttpBindin g>
<binding name="mexBindin g" maxReceivedMess ageSize="999999 99">
<security mode="None"/>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint
address="http://BOUCSDEV01:888/COWFeedyardServ ice/Services/Address.svc"
binding="wsHttp Binding" bindingConfigur ation="mexBindi ng"
contract="IAddr ess" />
<endpoint
address="http://BOUCSDEV01:888/COWFeedyardServ ice/Services/Age.svc"
binding="wsHttp Binding" bindingConfigur ation="mexBindi ng" contract="IAge" />
<endpoint
address="http://BOUCSDEV01:888/COWFeedyardServ ice/Services/Animal.svc"
binding="wsHttp Binding" bindingConfigur ation="mexBindi ng" contract="IAnim al"
/>
</client>
</system.serviceM odel>
</configuration>
---------------------------------------------------------------
The Web.config in our service looks like this:
---------------------------------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
<configuratio n>
<system.service Model>
<bindings>
<wsHttpBindin g>
<binding name="mexBindin g" maxReceivedMess ageSize="999999 99">
<security mode="None"/>
</binding>
</wsHttpBinding>
</bindings>
<services>
<!-- Address -->
<service name="FRC.COW.F eedyard.Service .FRC.COW.Feedya rd.Service.Addr ess"
behaviorConfigu ration="Address Behavior">
<endpoint address="" binding="wsHttp Binding"
bindingConfigur ation="mexBindi ng"
contract="FRC.C OW.Feedyard.Ser vice.FRC.COW.Fe edyard.Service. IAddress"/>
<endpoint contract="IMeta dataExchange" binding="mexHtt pBinding"
address="mex" />
</service>
<!-- Age -->
<service name="FRC.COW.F eedyard.Service .FRC.COW.Feedya rd.Service.Age"
behaviorConfigu ration="AgeBeha vior">
<endpoint address="" binding="wsHttp Binding"
bindingConfigur ation="mexBindi ng"
contract="FRC.C OW.Feedyard.Ser vice.FRC.COW.Fe edyard.Service. IAge"/>
<endpoint contract="IMeta dataExchange" binding="mexHtt pBinding"
address="mex" />
</service>
<!-- Animal -->
<service name="FRC.COW.F eedyard.Service .FRC.COW.Feedya rd.Service.Anim al"
behaviorConfigu ration="AnimalB ehavior">
<endpoint address="" binding="wsHttp Binding"
bindingConfigur ation="mexBindi ng"
contract="FRC.C OW.Feedyard.Ser vice.FRC.COW.Fe edyard.Service. IAnimal"/>
<endpoint contract="IMeta dataExchange" binding="mexHtt pBinding"
address="mex" />
</service>
</services>
<behaviors>
<serviceBehavio rs>
<!-- Address -->
<behavior name="AddressBe havior" >
<serviceMetadat a httpGetEnabled= "true" />
<serviceDebug includeExceptio nDetailInFaults ="true" />
</behavior>
<!-- Age -->
<behavior name="AgeBehavi or" >
<serviceMetadat a httpGetEnabled= "true" />
<serviceDebug includeExceptio nDetailInFaults ="true" />
</behavior>
<!-- Arrival -->
<behavior name="ArrivalBe havior" >
<serviceMetadat a httpGetEnabled= "true" />
<serviceDebug includeExceptio nDetailInFaults ="true" />
</behavior>
</serviceBehavior s>
</behaviors>
</system.serviceM odel>
</configuration>