Silverlight 4.0 using WCF to connect to SQL server
Is it good idea to use WCF to connect to SQL server in my silverlight application?
This communication layer deals only with the database (SQL Server) and will return a large dataset most of the time. I am trying to speed up my silverlight application. I was using aspx pages and t开发者_如何转开发he client wants something flashier and faster.
AM i on the right track? I don't to be changing long down the track.
Why not RIA services?
http://www.dotnetscraps.com/dotnetscraps/post/Silverlight-and-NET-RIA-Services-Step-By-Step.aspx
Regarding, the large dataset... it is never good to return large datasets. If you start with a large dataset assumption, ultimately everything that you build on top of it will have issues. Remember that anything about 85KB in .NET goes on to the Large Object Heap, which eventually fragments it.
精彩评论