whats new in adonet data services 1.5

Post on 24-May-2015

951 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Adonet Data Services 1.5

TRANSCRIPT

Visual Studio 2010and

.NET Framework 4

Training Workshop

Visual Studio 2010and

.NET Framework 4

Training Workshop

What’s New In ADO.NETData Services 1.5

What’s New In ADO.NETData Services 1.5

NameTitleOrganizationEmail

AgendaAgenda

• Server Enhancements• Row count• Server-side paging• Friendly feeds• BLOB streams

• Client Enhancements• Row Count• WPF/SL data binding

Row CountRow Count

/Products

n # of products

/Products?$skip=10&$take=10

10 products

1. No paging2. Potentially lots of data

1. No idea of total# of products

Row Count (cont.)Row Count (cont.)

/Products/$count?$skip=10&$take=10

Count

/Products?$skip=10&$take=10&$inlinecount=allpages

10 products +Inline Count

1. No data

Server-Side PagingServer-Side Paging

/Products

500,000 products

500,000product records

You can’t always assume the clientwill do the right thing…

Server-Side Paging (cont.)Server-Side Paging (cont.)

/Products

20 products +link to next page

/Products?$skiptoken=20

500,000product records

20 products +link to next page

500,000product records

Row CountServer-Side PagingRow CountServer-Side Paging

Friendly FeedsFriendly Feeds

Title?

Author?

Atom Pub (APP)Entry Document

BLOB StreamsBLOB Streams

Base64 String

BLOB Streams (cont.)BLOB Streams (cont.)/Products(1)/Photo

Photo Metadata

/Products(1)/Photo/$value

Photo Image

Friendly FeedsBLOB StreamsFriendly FeedsBLOB Streams

Client EnhancementsClient Enhancements

Data Service Context

Row Count

BLOB

Server-Side

Paging

Friendly Feeds

WPF Data Binding

WPF Data BindingWPF Data Binding

Data ServiceEntity

WPFFramework

Element2. Bind data to control

3. Modify data within control

Data ServiceContext

1. R

etr

ieve d

ata

4. Notify context of the change

WPF Data Binding (cont.)WPF Data Binding (cont.)

Data ServiceEntity List

WPF ItemsControl

2. Bind data to control

3. Modify data within control

Data ServiceContext

1. R

etr

ieve d

ata

4. Notify context of the change

Client EnhancementsClient Enhancements

SummarySummary

• Server Enhancements• Row count• Server-side paging• Friendly feeds• BLOBs

• Client Enhancements• WPF/SL Data Binding

top related