CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of Azure
C#
void DoQuery()
{
    // Register for the LoadCompleted event.
    var _Data = new DataServiceCollection<CityCrime>();
    _Data.LoadCompleted += _Data_LoadCompleted;
 
    // start the servery query
    var _Query = GetContext().CityCrime
        .Where(x => x.State == "Colorado")
        .Where(x => x.City == "Denver");
by Jerry Nixon   November 07, 2011 @ 3:56pm
138 Views
no comments
 
C#
// https://datamarket.azure.com/
private const string AZUREDATAACCOUNT = "Your Customer ID";
private const string AZUREDATAKEY = "Your Account Key";
private const string AZUREDATAURL = 
    "https://api.datamarket.azure.com/Data.ashx/data.gov/Crimes/";
 
// create a new context to the odata feed
private static Mango.Sample.AzureMarket
    .CityCrimeService.datagovCrimesContainer GetContext()
{
by Jerry Nixon   November 07, 2011 @ 3:28pm
115 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate