tags:

views:

28

answers:

0

Hello,

I have recently developed a web service using the WCF REST Service Template 40. Nothing much to the service, simply queries a db table and returns the results. However, queries that should return a large amount of records return nothing, just a blank page. I know this is probably because the max size is being exceeded, but I can't seem to find where I can change this property.

I have tried editing the standardEnpoints tag, but no luck. Anyone know where I can set the size and/or max objects in graph?

  <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
    <standardEndpoints>
      <webHttpEndpoint>
        <!-- 
            Configure the WCF REST service base address via the global.asax.cs file and the default endpoint 
            via the attributes on the <standardEndpoint> element below
        -->
        <standardEndpoint name="" helpEnabled="true" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" automaticFormatSelectionEnabled="false" />
      </webHttpEndpoint>
    </standardEndpoints>
  </system.serviceModel>