ADO.NET Data Services (VS08 Sp1 B1) - Surfacing Data

Sign in to queue

Description

Here we look at how we can surface our own custom data types and data from the ADO.NET Entity Framework over ADO.NET Data Services to quickly build a data-centric set of RESTful web services.

Embed

Download

Download this episode

The Discussion

  • User profile image
    dianar77

    I love your videos. I really do, in particular the ones from PRISM.

     

    but here I have two comments. for us, people that wants to learn, but it is a little difficult to know all the tricks. so I am going to give a trick for this video.

     

    in the service initialization put this line. Althought it is in the video, it won't be in your project  when you are connecting your own database, and you can easily forget.

     

    public static void InitializeService(DataServiceConfiguration config)
            {
                config.SetEntitySetAccessRule("*", EntitySetRights.All);
            }

     

    this make the entities appear when you are browsing service.svc

     

     

    when you are seeing an specific table and you only get the feed page.

     

    go to tools->Internet Options->Content->Settings.....

     

    uncheck the option.

                               Turn on feed reading view

     

    thanks a lot mike. I appreciated all your videos.

Add Your 2 Cents