Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Sells, Laverty and Flasko: Entity Framework 4, oData and PDC10

Download

Right click “Save as…”

Chris Sells takes us on a small tour (two offices and a few hallways) in one of the Data Framework and Modeling Group's buildings (interesting - the same building the C9 team launched C9 from 6+ years ago: Building 18). The goal here is to get a sense of what's new in Entity Framework 4 and oData. We do this the old fashioned way: impromptu conversation with some members of the teams who make this stuff. Chris is a great MC and I suspect you will be happy with what you learn and who you meet here.

Code-First in EF4 is very cool -> you build your DB and data model in code...first. Sit back, relax and enjoy the ride. We begin the journey in a small office that Chris does not work in. Then we drop by Tim Laverty's office to talk turkey about EF4 and Code First. Then, we amble over to Mike Flasko's office to interrogate him on oData (what's the big deal, anyway - what is it, exactly, is it open or closed? Etc.., etc...)

Enjoy.

Links mentioned in the conversations:

For EF:
Team blog: http://blogs.msdn.com/b/adonet/

Design blog: http://blogs.msdn.com/b/efdesign/

User voting: http://ef.mswish.net

For oData:

User voting: http://dataservices.mswish.net

oData: http://odata.org

 

Tags:

Follow the Discussion

  • CKurtCKurt while( ( !​succeed=try​() ) ) { }

    Awesome news! This Video got me really into oData, startting to understand it. If I would now want to find a relationship between Associated Press and UNdata I could do it more easily because there is onyl one data exchange protocol to learn. Odata.

    Also: http://rex.mslivelabs.com/ reminds me a lot of the first video of LIVE MESH ever. It also gave the developper the choice to choose the way the results were formatted. And now that windows live has it, its kind of the Mesh API and Live Framework returned (without the sync part of the api then).

    If Windows Live Devices would have an oData feed it would be awesome. It would be like making the 'device ring' expandeble in the old Live Mesh. (The old vision of the car that connected to the cloud oData feed to sync music or the printer that printed photo's from your skydrive). It has a solid foundation now!

    If a printer consumes a odata feed from my skydrive I could print my pictures directly.
    If a printer was added to the 'devices feed' then it would somehow be linked togetter in the oData tree with the other data. And anyone in the feed you print to my printer. Possibilities seem endless again.

    Thx for this great video charles! Looking forward to PCD10 !

  • Allan LindqvistaL_ Kinect ftw

    classic channel9.. great to see Smiley

    new EF stuff looks really great. o think one of the obstacles to EF adoption as hasways been that you had to rely on a propriatary tool (VS and its designer) to be productive in EF.. code first really gives me at least a better feeling of ownership of my own product and i dont have to live in fear that there will be be compat issues when the next version of VS drops.

    for me it also better reflects the way i write code, starting with the domain objects. that is something i do way before i think about a presistance technology. in the old EF id have to reimplement all my domain objets in the EF designer and that sucked Smiley

    Odata is also really cool. whats also cool is the way you expose it. (hopefully that hasnt changed since last pdc when i asked the question). simply exposing a IQueryable in a service contract. now thats awsome..

    one thing i would ask with odata though is how to prevent too much data being sent. i for instance have a database with tables with milions of rows, and i want to avoid a situation where someone asks my odata feed for something and unintentially downloads all those rows.

    of course people can make errors but i ran into this with the netflix odata service. excel was just building the model but it seemed like a whole lot of data about movies was downloaded..

  • Vesuviusvesuvius Count Orlock

    I am not so sure that I am not too set in my ways. If I am writing a database program, then everything is thought out, schemas and all, though your modern/novice programmers that like classes may prefer the code first, autogeneration of classes.

    I detest the EF object model, compared with Linq. If for example, you have two related tables you have to use strings of tables names, wheras with Linq to SQL you have the dataloadoptions.

    I am not really sure Chris Sells has the time to read old threads here on channel 9, but I think I outlined my feelings succinctly.

    I think t4 templates are an insanely powerful addition, especially when working in n-tier applications, and hope MVVM frameworks based around data can start to include them with EF as there is an incedible amount of code duplication so if Chris and the tem could come up with a way to have EF 5 create MVVM compliant datawrappers, then that surely would increase the popularityy as right now Linq to SQL does exactly the same job, is better designed and far simpler

  • Cameron Cameron

    Awesome video guys! Demystifying EF4 code first and OData. Also, thanks for the Dallas reference at the end. I've been looking for a way to get at Data.gov to do some F#/ WPF visualizations. Now I can use OData!

  • PhaniPhaniRaj Phanatic

    @aL_:

    As a service writer, you can limit the number of rows sent out with every request at a set level via Server Driven Paging limits. This limit is absolute and is opaque to the client developers. You can keep increasing or decreasing limits without breaking your client.

    You can read more about SDP here : http://blogs.msdn.com/b/phaniraj/archive/2010/04/25/server-driven-paging-with-wcf-data-services.aspx

    As a client developer, you can limit  the number of rows you download via the $top query option.You can also reshape the results to specify which columns you want in the results via Linq Projections or using using the $select query option.

    Query Projections on MSDN:

    http://msdn.microsoft.com/en-us/library/ee473425.aspx

     

  • Allan LindqvistaL_ Kinect ftw

    @phani

    cool, thanks Smiley

  • Sim, como um escritor do serviço, você pode limitar o número de linhas enviado com cada solicitação em um nível definido via limites Server Driven Paging. Esse limite é absoluto e é opaco para os desenvolvedores do cliente. Você pode continuar a aumentar ou a diminuir os limites sem quebrar o seu cliente, muito obrigado! meus projetos:

    http://www.diabetes-website.com  http://www.e-arcondicionado.com  http://www.e-acompanhantes.com.br

Remove this comment

Remove this thread

close

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.