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

Mashing Up Data On the Web and Windows Phone with Windows Azure DataMarket

Download

Right click “Save as…”

Slides (view online)

Windows Azure DataMarket provides data sets from public and commercial data sources, spanning weather, sports, social media, financial and retail. With consistent data formats and licensing, and delivered via open protocols, DataMarket provides developers the ability to create innovative new applications for the web and devices. We’ll use .NET and Visual Studio to acquire DataMarket data in real time to build applications with ASP.NET and Windows Phone that recompose existing DataMarket feeds into new and existing applications, or mashing it up with your application’s information to create new data-driven user experiences to make them more interesting, more insightful, and more fun.

For more information, check out this course on Microsoft Virtual Academy:

Follow the Discussion

  • PawelPawel

    Great seasion.
    How to access Azure DataMarket Data from windows phone 7 without Container.Credetials property?
    Regards
    Pawel

  • MaxMax

    Thanks!
    Add the key as header to the request. For example:
    --------------
    PropertyDetailsApiContainer cont = new PropertyDetailsApiContainer(new Uri("https://api.datamarket.azure.com/Data.ashx/Alteryx/ConsumerExpenditureData/"));
    cont.SendingRequest += new EventHandler<SendingRequestEventArgs>((e, v) =>
    {
    Utility.AddUserKeyAsHeader(v.RequestHeaders, false);
    });
    ....
    Byte[] authbytes = UTF8Encoding.UTF8.GetBytes("key:<TBD:insert your account key>");
    headers["Authorization"] = "Basic " + Convert.ToBase64String(authbytes);
    ...
    --------------

    Thanks,
    Max

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.