Microsoft Design .toolbox – Learn to create Silverlight application using Expression Studio

image

scenarios

Learn the fundamentals of Silverlight and Expression Studio. Start with basic techniques and build your skills to create more advanced applications. Design Scenarios is comprised of four levels that increase in difficulty with three training modules per level. Each module deconstructs a Silverlight application to teach you must-know features and techniques

principles

All great applications start with a foundation in design. The Design Principles track gets back to basics with key design concepts that will help you create slick and functional web applications. Each of the four level groupings contains three modules, each focused on design fundamentals.

 

Visit http://www.microsoft.com/design/toolbox/

A quick tour of OData using Netflix

image

OData is a web protocol based on open standards for RESTful querying and modification of exposed collections of data. It takes the basics of REST and adds mechanisms for addressing, metadata, batching, and data representation using HTTP, AtomPub, Atom and JSON.

Try to locate Nicole Kidman:

http://odata.netflix.com/Catalog/People?$filter=endswith(Name,’Kidman’)

Too many Kidmans? Choose the top record:

http://odata.netflix.com/Catalog/People?$filter=endswith(Name,’Kidman’)&$top=1

Not perhaps the best way of finding Nicole (‘Papa?’), use the primary key instead:

http://odata.netflix.com/Catalog/People(49446)

Which films has Nicole been in? Who could forget the classic “Days of Thunder” with Tom Cruise as “Cole Trickle”:

http://odata.netflix.com/Catalog/People(49446)/TitlesActedIn

What if I wanted Nicole’s info as well as the titles she’s acted in?:

http://odata.netflix.com/Catalog/People(49446)?$expand=TitlesActedIn

Too much data? Sort these titles alphabetically and return the first page of data for a page size of 3:

http://odata.netflix.com/Catalog/People(49446)/TitlesActedIn?$orderby=ShortName&$top=3

But to do paging I’ll be needing the total record count (notice m:count element with value 47):

http://odata.netflix.com/Catalog/People(49446)/TitlesActedIn?$orderby=ShortName&$top=3&$inlinecount=allpages

Next page:

http://odata.netflix.com/Catalog/People(49446)/TitlesActedIn?$orderby=ShortName&$top=3&$inlinecount=allpages&$skip=3

Prefer JSON? Well, there’s no accounting for taste but I know “Cole Trickle” preferred it too:

http://odata.netflix.com/Catalog/People(49446)/TitlesActedIn?$orderby=ShortName&$top=3&$inlinecount=allpages&$skip=3&$format=json

For more including exposing and consuming OData goto ->

 OData: The Open Data Protocol – Mike Taulty’s Blog – Mike Taulty’s Blog