English 中文(简体)
优化妇联CAll
原标题:Optimize WCF CAll
  • 时间:2012-04-14 00:09:29
  •  标签:
  • wcf

我有一个数据库电话,向我提供40栏和75,000字,我正在利用一个WCF服务,向客户获取数据,我的方法是把这个物体退回客户,然后将数据输入到头端,然后将数据排在5座。 我如何选择这样做。

问题回答

它像你那样向客户下载整个数据库。

然后,最佳选择是只向客户下载你确实需要下载的信息,在需要之前不下载。

  • A person is not going to browse 75000 records. Even if they did you could use paging.
  • If the client is using this data to do calculations, then these calculations should be done on the server.




相关问题
WCF DataMember Serializing questions

Ok, so I was part way through the long winded process of creating DTOs for sending my model over the wire and I don t feel like I m going down the right route. My issue is that most of the entities ...

Access WCF service on same server

I have a .NET website with a WCF service. How do I access the current operations context of my service? One possible work around is to just make a call to the service within the app...but that seems ...

WCF binding error

So I got into work early today and got the latest from source control. When I try to launch our ASP.NET application, I get this exception: "The binding at system.serviceModel/bindings/wsHttpBinding ...

The service operation requires a transaction to be flowed

I am facing strange issue with our WCF service. The same code was working fine until recently we added more OperationContracts(Web Methods). We have common 3 tier architecture. DAL (WCF) BLL Web ...

热门标签