<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://v900u039rux.maximumasp.com/Web/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Raheel Hussain : JSON</title><link>http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/JSON/default.aspx</link><description>Tags: JSON</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>Microsoft's Project codename Astoria - online service </title><link>http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/2007/09/09/a-test-drive-to-ms-project-codename-astoria.aspx</link><pubDate>Sun, 09 Sep 2007 05:28:00 GMT</pubDate><guid isPermaLink="false">3790bee0-d05b-4b84-a272-3ed522a0473a:64</guid><dc:creator>Raheel Hussain</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://v900u039rux.maximumasp.com/Web/blogs/raheel/rsscomments.aspx?PostID=64</wfw:commentRss><comments>http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/2007/09/09/a-test-drive-to-ms-project-codename-astoria.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://yukonizer.com/Web/blogs/raheel/astoria_2.GIF"&gt;&lt;/a&gt;My experience to use ASTORIA online service was&amp;nbsp;good !&amp;nbsp; &lt;br /&gt;&lt;br /&gt;For using the online service, it requires Microsoft .NET Passport login. After logging in .. I created my entity model, a simple one by creating four tables. &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Books&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Borrowers&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Librarians&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Transactions&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;You also need to specify the User ID, Password and the Service name through which&amp;nbsp;the URI for your service will be decided.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="BORDER-RIGHT:#000000 1px solid;BORDER-TOP:#000000 1px solid;OVERFLOW:scroll;BORDER-LEFT:#000000 1px solid;WIDTH:546px;BORDER-BOTTOM:#000000 1px solid;"&gt;&lt;a href="http://yukonizer.com/Web/blogs/raheel/astoria_3.GIF"&gt;&lt;img src="http://yukonizer.com/Web/blogs/raheel/astoria_3.GIF" border="0" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp; 
&lt;p&gt;With the simple interface for creating the Entities, and Properties (Data Base Fields) of the Entities and the Associations (Relationships)&lt;br /&gt;Following Images will show you the steps &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div style="BORDER-RIGHT:#000000 1px solid;BORDER-TOP:#000000 1px solid;OVERFLOW:scroll;BORDER-LEFT:#000000 1px solid;WIDTH:546px;BORDER-BOTTOM:#000000 1px solid;"&gt;&lt;a href="http://yukonizer.com/Web/blogs/raheel/astoria_1.JPG"&gt;&lt;img src="http://yukonizer.com/Web/blogs/raheel/astoria_1.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;In the above image, you can see the Button for Creating a new Entity as well as for Creating Properties and Associations.&lt;/p&gt;
&lt;p&gt;You can find all of the instructions for creating the EDM on the same page. You can click on the &amp;quot;Finish&amp;quot; button at the bottom of the page to proceed further. &lt;/p&gt;
&lt;p&gt;After finishing, you&amp;#39;ll be shown the conceptual model (CSDL) file for your EDM, as you can see below the one which I created.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div style="BORDER-RIGHT:#000000 1px solid;BORDER-TOP:#000000 1px solid;OVERFLOW:scroll;BORDER-LEFT:#000000 1px solid;WIDTH:546px;BORDER-BOTTOM:#000000 1px solid;"&gt;&lt;a href="http://yukonizer.com/Web/blogs/raheel/astoria_2.GIF"&gt;&lt;img src="http://yukonizer.com/Web/blogs/raheel/astoria_2.GIF" border="0" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The above image shows the URI to test the above service. this is &lt;br /&gt;&lt;br /&gt;&lt;a href="https://astoria.sandbox.live.com/users/MYTESTDBSERVICE/MYTESTDBSERVICE.rse"&gt;https://astoria.sandbox.live.com/users/MYTESTDBSERVICE/MYTESTDBSERVICE.rse&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note that the service can only be access through the secure HTTP channel, and your UserID/Password is required to access it.&lt;br /&gt;That is, in my case I&amp;#39;ve to enter my User ID and Password, while others cannot access my EDM through their login credentials. &lt;br /&gt;&lt;br /&gt;For the demonstration, you can have a look at NWind Data Service, Adventure Works Data service etc. which can be accessed through &lt;br /&gt;Project Astoria Website &lt;a href="http://astoria.mslivelabs.com/OnlineService.aspx"&gt;http://astoria.mslivelabs.com/OnlineService.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also the service which I created, can be accessed through a simple tool which allows to interact with the service is as follows:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://astoria.sandbox.live.com/Tools/raw.htm"&gt;https://astoria.sandbox.live.com/Tools/raw.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="BORDER-RIGHT:#000000 1px solid;BORDER-TOP:#000000 1px solid;OVERFLOW:scroll;BORDER-LEFT:#000000 1px solid;WIDTH:546px;BORDER-BOTTOM:#000000 1px solid;"&gt;&lt;a href="http://yukonizer.com/Web/blogs/raheel/astoria_4.GIF"&gt;&lt;img src="http://yukonizer.com/Web/blogs/raheel/astoria_4.GIF" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;The tool allows for the following Http-Verbs ( or Actions) &lt;br /&gt;GET = Retreive&lt;br /&gt;PUT = Update&lt;br /&gt;POST = Insert&lt;br /&gt;DELETE = Insert&lt;br /&gt;&lt;br /&gt;While in the above image, you can see in the Request Data Section, that I did put a test XML with the HTTP Verb as Post to insert data.&lt;br /&gt;Currently in the Image you can see HTTP Verb = Get, but the Request data is not subject to use with GET, but only PUT&amp;nbsp;&amp;amp; POST.&lt;br /&gt;&lt;br /&gt;You can see in the Output section that the data is displayed as the result of HTTP-GET operation&amp;nbsp;along with the URI value which I have specified as&lt;br /&gt;&lt;a href="https://astoria.sandbox.live.com/users/MYTESTDBSERVICE/MYTESTDBSERVICE.rse/Books"&gt;https://astoria.sandbox.live.com/users/MYTESTDBSERVICE/MYTESTDBSERVICE.rse/Books&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The &amp;quot;Books&amp;quot; refers to the Entity which was created earlier.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I hope this gave enough insight to you about the Project &amp;quot;Microsoft codename Astoria&amp;quot; and lets stay tuned for more updates to come as the project is under&lt;br /&gt;active development and we expect major security features and certain more features to be added to it.&lt;br /&gt;&lt;br /&gt;Best Of Luck&amp;nbsp; &lt;/p&gt;
&lt;p&gt;raheel Hussain&lt;/p&gt;&lt;img src="http://v900u039rux.maximumasp.com/Web/aggbug.aspx?PostID=64" width="1" height="1"&gt;</description><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/JSON/default.aspx">JSON</category><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/Microsoft+Codename+Astoria/default.aspx">Microsoft Codename Astoria</category><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/XML/default.aspx">XML</category><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/Web+Services/default.aspx">Web Services</category><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/Javascript+Object+Notation/default.aspx">Javascript Object Notation</category></item><item><title>Microsoft Codename Astoria ! </title><link>http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/2007/09/05/microsoft-codename-astoria.aspx</link><pubDate>Wed, 05 Sep 2007 09:18:00 GMT</pubDate><guid isPermaLink="false">3790bee0-d05b-4b84-a272-3ed522a0473a:61</guid><dc:creator>Raheel Hussain</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://v900u039rux.maximumasp.com/Web/blogs/raheel/rsscomments.aspx?PostID=61</wfw:commentRss><comments>http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/2007/09/05/microsoft-codename-astoria.aspx#comments</comments><description>&lt;span style="FONT-FAMILY:Arial;mso-ansi-language:EN-GB;"&gt;Hello folks ! &lt;br /&gt;&lt;br /&gt;A recommended read&amp;nbsp;about&amp;nbsp;Microsoft codename &amp;quot;Astoria&amp;quot;, an experimental project by Microsoft. &lt;br /&gt;&lt;br /&gt;I&amp;#39;m listing down some of the highlights, I was able to understand from the mannual I downloaded. &lt;br /&gt;&lt;br /&gt;This is a very interesting read, as well as the&amp;nbsp;you can make your own data store upto 100 MB and&amp;nbsp;use the Astoria &lt;br /&gt;service to build the data service and access it from any where on the internet, while the toolkit can also be &lt;br /&gt;downloaded to be used on your system with VS &amp;amp; AJAX&amp;nbsp;enabled.&lt;br /&gt;&lt;br /&gt;Here are the few&amp;nbsp;extracts/highlights for your ease!&lt;/span&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;&lt;/span&gt; 
&lt;ul&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;Project Astoria consists of a combination of patterns, libraries and an online service that explores the concept of data services for the web.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;
&lt;ul&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;The goal of Astoria is to facilitate the creation of flexible data services that are naturally integrated with the web.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;Astoria&lt;/span&gt;&lt;span style="FONT-FAMILY:Arial;"&gt; uses URIs to point to pieces of data and simple, well-known formats to represent that data, such as JSON (Javascript Simple Object Notation)&amp;nbsp;and plain XML, while the default representation is XML.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;
&lt;ul&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;JSON format is naturally and simply integrated with Javascript environments such as AJAX, can be retreived by simply setting a Acceptheader to application/json.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;
&lt;ul&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;Codename Astoria is released in two forms, A &lt;u&gt;downloadable toolkit&lt;/u&gt; and an &lt;u&gt;online service&lt;/u&gt;. Both are focused on creation and operation of data services, but are aimed at difference scenarios.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;
&lt;ul&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;The Astoria toolkit is a downloadable package that contains the Astoria runtime, documentation and examples that show how to use the toolkit. The toolkit is designed to allow ASP.NET developers to create data services directly in their ASP.NET applications, accessing their own database.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;The Astoria online service is an experimental service that aims at exploring programming models for data on the web, offered in the form of a service.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;
&lt;ul&gt;
&lt;li class="MsoNormal" style="MARGIN:0cm 0cm 0pt;mso-list:l0 level1 lfo1;tab-stops:list 36.0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;Using the Astoria online service, web developers can create custom structured data stores on the web and access them from anywhere that they have internet access, This experimental release also includes a set of sample data-sets that are preloaded and readily accessible as data services.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="FONT-FAMILY:Arial;mso-ansi-language:EN-GB;"&gt;Please you can visit &lt;a href="http://astoria.mslivelabs.com/"&gt;http://astoria.mslivelabs.com&lt;/a&gt;&amp;nbsp;for&amp;nbsp;further information about the project.&lt;br /&gt;Also,&amp;nbsp;visit the &lt;a href="http://blogs.msdn.com/astoriateam/archive/2007/08/03/create-your-own-hosted-astoria-data-service.aspx#comments"&gt;Astoria Blog&lt;/a&gt; at Microsft MSDN.&lt;/span&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;Regards ! &lt;br /&gt;raheel Hussain &lt;/span&gt;&lt;span style="FONT-FAMILY:Arial;mso-ansi-language:EN-GB;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;&amp;nbsp;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://v900u039rux.maximumasp.com/Web/aggbug.aspx?PostID=61" width="1" height="1"&gt;</description><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/JSON/default.aspx">JSON</category><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/XML/default.aspx">XML</category><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/Web+Services/default.aspx">Web Services</category><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/Microsoft+Project+Codename+Astoria/default.aspx">Microsoft Project Codename Astoria</category><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/Javascript+Object+Notation/default.aspx">Javascript Object Notation</category></item></channel></rss>