The Devil Went Down to HTTP: Debugging with Fiddler

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.
Great seasion.
How to access Azure DataMarket Data from windows phone 7 without Container.Credetials property?
Regards
Pawel
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