Astoria, data services for the web
Information can be found on Pablo’s weblog (read the ‘introduction‘ and the ‘faq‘) and the website at mslivelabs. Those are quite large reads though and you might want to quickly know how this works. Think of it as a website that just presents data in the format you’d like it to be. Currently XML and JSON are supported. You retrieve the data by URLs that Astoria accepts. For example…
…would retrieve all Class-A trainings you could register for. You’d get some info with details for it.
…would give you information about the WCF training we have.
…would then give you all modules that are within the WCF training.
…would give you all scheduled trainings for June 2007
…might give you information about the WCF training that is scheduled for June 2007. And the second URL could’ve been used to first search for all customers and then all orders for customer class-a.
Pablo also showed an example with binding his Astoria data against a datagrid that was developed by someone from the ASP.NET team. Although only used for the demo, I can already see the masses using this as an alternative to getting data the ‘right’ way. Because it’s so easy to use Astoria, it’s also very easy to use it the ‘wrong way’. But Astoria definitely has its benefits! This is something we’ll talk more about at the Class-A SummerClasses!