Silverlight4-RIAServices开发记事2-如何解决传输大量对象时的NotFound问题

http://social.microsoft.com/Forums/zh-CN/silverlightzhchs/thread/859f8920-2511-4e24-b960-55353cafba57

http://forums.silverlight.net/forums/t/148523.aspx

<system.serviceModel>
    <services>
        <service name="YOURPROJECT.Web.YOURSERVICE"
                behaviorConfiguration="YOURPROJECT-Web-YOURSERVICE">
        </service>
    </services>
    <behaviors>
        <serviceBehaviors>
            <behavior name="YOURPROJECT-Web-YOURSERVICE">
                <serviceMetadata httpGetEnabled="true" />
                <serviceDebug includeExceptionDetailInFaults="true" />
                <dataContractSerializer maxItemsInObjectGraph="655360"/>
            </behavior>
        </serviceBehaviors>
    </behaviors>

posted on 2011-04-05 16:42  yingql  阅读(640)  评论(1编辑  收藏  举报

导航