0
wcf ria 서비스에서 Silverlight 클라이언트로 보낼 수있는 요소 수에는 제한이 있습니까? 서비스에서 전송 된 요소의 수는 MaxRecivedMessageSize
에 연결 config 파일에서 3450Silverlight에 대한 wcf ria 서비스 개수 제한
wcf ria 서비스에서 Silverlight 클라이언트로 보낼 수있는 요소 수에는 제한이 있습니까? 서비스에서 전송 된 요소의 수는 MaxRecivedMessageSize
에 연결 config 파일에서 3450Silverlight에 대한 wcf ria 서비스 개수 제한
가있을 수 제한을 초과 할 경우
어떤 이유, 어떤 요소 (기본 최대 인 실버 클라이언트 콜백에서 볼 수 없다 2 147 483 647 바이트, 내가 잘못하지 않았다면). 또한 반환 된 개체 그래프의 최대 항목에 대한 기본 제한이 있습니다 (값은 65536 임). 즉, 3450 개의 엔티티가 너무 많아서 클라이언트에 전달되는 관련 객체가있는 경우 오류가 발생합니다. 당신의 자신의 위험이를 고정하기위한 서비스를 위해 행동 구성을 추가 :
...
<services>
<service name="MySilverlightAppl.Web.MyDomainService" behaviorConfiguration="MyDomainServiceConfig">
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="MyDomainServiceConfig">
<dataContractSerializer maxItemsInObjectGraph="xxxxxx"/>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
http://stackoverflow.com/questions/7476853/wcf-error-maximum-number-of-items-that-can-be- 직렬화 또는 비 직렬화 –