10-4 Episode 27: Server-Driven Paging with ADO.NET Data Services

Download this episode

Download Video

Description

In this episode of 10-4, we discuss a new feature coming in the next release of ADO.NET Data Services: server-driven paging. This allows you to constrain the size of result sets that can be requested by clients, eliminating potentially problematic scenarios. In addition, clients can also now request the total count of an entity set, without having to retrieve its data in entirety.

ADO.NET Data Services 1.5 CTP1:
http://www.microsoft.com/downloads/details.aspx?FamilyID=3e3d4eaf-227b-4ad3-ad0d-3613db8aa9df&displaylang=en

For more 10-4 episodes, be sure to visit:
https://channel9.msdn.com/shows/10-4

Visual Studio Topic Area on Channel 9:
https://channel9.msdn.com/VisualStudio

Visual Studio 2010 CTP VPC:
http://tinyurl.com/GetCTP

10-4! Over and out!

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      cdwatkins

      Well it took all of about 5 seconds after seeing Astoria (before it became ADO.NET data services), for me to ask for a total record count.  Glad to know you guys finnaly got this in.

    • User profile image
      Tavo2k4

      I created a plain Web application (not SL) and added an ADO.net Data Service, Entity Data Model, and Domain Service.

      I am using the Entity Data Model as the DAL and the Domain Service as the BL. When I use the Domain Service as a data source for the the ADO.NET Data Service, it does not expose any data;

       <?xml version="1.0" encoding="utf-8" standalone="yes" ?> 
      - <service xml:base="http://localhost:54015/DomainDataService.svc/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns="http://www.w3.org/2007/app">
      - <workspace>
        <atom:title>Default</atom:title> 
        </workspace>
        </service>
      

      Is it possible to do this in current version of ADO.NET Data Services?

      I appreciate any help on this

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.