<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>nateirwin.net &#187; Web Services</title>
	<atom:link href="http://www.nateirwin.net/topics/web-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nateirwin.net</link>
	<description>spatially and technically enabled</description>
	<lastBuildDate>Thu, 18 Mar 2010 15:20:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Cappuccino Atlas</title>
		<link>http://www.nateirwin.net/2009/02/24/cappuccino-atlas/</link>
		<comments>http://www.nateirwin.net/2009/02/24/cappuccino-atlas/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 00:40:12 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[Cappuccino]]></category>

		<guid isPermaLink="false">http://www.nateirwin.net/?p=562</guid>
		<description><![CDATA[I just read on Ajaxian that the Cappuccino team announced Atlas, a new &#8220;visual layout editor and development environment&#8221;, today at the Future of Web Apps conference in Miami. I heard Atlas mentioned (not by name) by a member of the Cappuccino team, Ross Boucher while attending a Cappuccino bootcamp session at Web Directions North [...]]]></description>
			<content:encoded><![CDATA[<p></p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nateirwin.net%2F2009%2F02%2F24%2Fcappuccino-atlas%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nateirwin.net%2F2009%2F02%2F24%2Fcappuccino-atlas%2F&amp;source=nateirwin&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><span class="drop_cap">I</span> just read on <a href="http://ajaxian.com/archives/big-news-from-cappuccino-aristo-and-atlas" target="_blank">Ajaxian</a> that the Cappuccino team announced Atlas, a new &#8220;visual layout editor and development environment&#8221;, today at the Future of Web Apps conference in Miami. I heard Atlas mentioned (not by name) by a member of the Cappuccino team, <a href="http://rossboucher.com/" target="_blank">Ross Boucher</a> while attending a Cappuccino bootcamp session at Web Directions North a couple of weeks ago. That said, after the brief description I still wasn&#8217;t quite sure what to expect.</p>
<p style="text-align: center;"><object width="437" height="293" data="http://www.viddler.com/simple_on_site/1db9bf4d" type="application/x-shockwave-flash"><param name="id" value="viddler" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent" /><param name="src" value="http://www.viddler.com/simple_on_site/1db9bf4d" /><param name="name" value="viddler" /><param name="allowfullscreen" value="true" /></object></p>
<p>Now that I&#8217;ve seen it in action, I must say that it looks pretty impressive. When Ross mentioned they were building Atlas, I expected that they were working on a GUI builder like the <a href="http://tof2k.com/ext/formbuilder/" target="_blank">Ext GUI builder</a> that has been around for awhile now. Atlas, however, is more than just a layout editor.</p>
<p>Using Atlas, you can build layouts and interfaces (there are a bunch of fancy widgets available that you can drag-and-drop onto the layout) and easily connect components. They even have some ready-built &#8220;connections&#8221; to allow developers to easily bring external content (RSS, Twitter, etc.) into the app.</p>
<p>Atlas won&#8217;t be ready for use until sometime this Summer, but you can check out a short screencast showcasing some of the functionality at the <a href="http://280atlas.com/" target="_blank">Atlas site</a>.</p>
<p>I have been playing around a bit with Cappuccino over the last couple of weeks, and may be able to get a couple of example mapping apps built on Cappuccino up here soon.</p>
<p>The visual nature of Atlas reminds me of the &#8220;Ext Designer&#8221; tool that <a href="http://www.screencast.com/users/JackSlocum/folders/Default/media/f7450651-778b-4bbc-9fc4-4e921a7a2705" target="_blank">Jack Slocum previewed</a> a couple of months ago. It is good to see these types of tools coming out, as they can only make things easier for developers. I do hope, though, that things don&#8217;t become <strong>too</strong> easy, as I could see a new programmer coming in and never wanting to get their hands dirty. That said, having visual design tools available does take down one more barrier, making frameworks like Cappuccino more accessible to those who may otherwise not be interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nateirwin.net/2009/02/24/cappuccino-atlas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing ADO.NET Data Services on a Windows 64-bit Development Box</title>
		<link>http://www.nateirwin.net/2008/02/27/installing-adonet-data-services-on-a-windows-64-bit-development-box/</link>
		<comments>http://www.nateirwin.net/2008/02/27/installing-adonet-data-services-on-a-windows-64-bit-development-box/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 02:05:00 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">/post/Installing-ADONET-Data-Services-on-a-Windows-64-bit-Development-Box.aspx</guid>
		<description><![CDATA[I&#8217;ve been meaning to play around with Microsoft&#8217;s new ADO.NET Data Service stuff (formerly known as &#8220;Astoria&#8221;) for some time now, but couldn&#8217;t find the time until today. When I last blogged about it, the technology was still in a Community Technology Preview. Since then, however, it has matured, is now packaged with the ASP.NET [...]]]></description>
			<content:encoded><![CDATA[<p></p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nateirwin.net%2F2008%2F02%2F27%2Finstalling-adonet-data-services-on-a-windows-64-bit-development-box%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nateirwin.net%2F2008%2F02%2F27%2Finstalling-adonet-data-services-on-a-windows-64-bit-development-box%2F&amp;source=nateirwin&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve been meaning to play around with Microsoft&#8217;s new ADO.NET Data Service stuff (formerly known as &#8220;Astoria&#8221;) for some time now, but couldn&#8217;t find the time until today. When I <a href="/MicrosoftCodenameQuotAstoriaquot.aspx" target="_blank">last blogged about it</a>, the technology was still in a Community Technology Preview. Since then, however, it has matured, is now packaged with the ASP.NET 3.5 Extensions CTP, and will undoubtedly be included in a future service pack or release of the .Net Framework. Until then, though, you have to walk a difficult road to get it installed and working as, like a lot of Microsoft&#8217;s &#8220;unofficial/unsupported side projects&#8221;, it isn&#8217;t just a single install to get it up and running. It&#8217;s, rather, a series of installs followed by obscure IIS configuration changes followed by pulling your hair out followed by (finally) some ADO.Net bliss.</p>
<p>Here are the steps to get your development machine setup to work on ADO.Net Data Services. These instructions apply to a 64-bit Windows XP SP2 installation. The steps may vary for other versions of Windows, but I&#8217;m pretty sure that most of them will apply in most cases.</p>
<ul>
<li>First of all, Visual Studio 2008 is a prerequisite for developing ADO.Net Data Services. You can use any version, including Visual Web Developer Express.</li>
<li>Next you need to download and install the <a href="http://www.google.com/url?sa=t&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.asp.net%2Fdownloads%2F3.5-extensions%2F&amp;ei=8bbER7PBCZPiepvRvIIO&amp;usg=AFQjCNHze_I2Nv6XUlZaSQYTCTRLm9O8Dg&amp;sig2=bqlhlokFPTozRN_a1y15ow" target="_blank">ASP.Net 3.5 Extensions CTP</a>. If you&#8217;re on a 64-bit operating system, you may have to manually copy the System.Data.Entity and System.Data.Entity.Design .dlls from your GAC to your .Net v3.5 directory (I had to). A bit more detail:
<ul>
<li>For some reason, these two dlls don&#8217;t seem to install correctly when you run the ASP.Net 3.5 Extensions CTP installer. To solve this:
<ul>
<li>Click &#8220;Start&gt;Run&#8221; and then paste the paths below into the &#8220;Open:&#8221; dialog and hit enter:
<ul>
<li>C:\Windows\assembly\GAC_MSIL\System.Data.Entity\3.5.0.0__b77a5c561934e089</li>
<li>C:\Windows\assembly\GAC_MSIL\System.Data.Entity.Design\3.5.0.0__b77a5c561934e089</li>
</ul>
</li>
<li>From each of the now open directories, drag and drop the single .dll into the following directory: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5.</li>
</ul>
</li>
</ul>
</li>
<li>Next you need to download and install the <a href="http://go.microsoft.com/fwlink/?LinkID=104985" target="_blank">XML Editor QFE</a> and the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=D8AE4404-8E05-41FC-94C8-C73D9E238F82&amp;displaylang=en" target="_blank">ADO.Net Entity Framework Tools Dec 07 CTP</a>, in order.</li>
<li>And now you should be ready to develop ADO.Net Data Services! There&#8217;s a great <a href="http://quickstarts.asp.net/3-5-extensions/adonetdataservice/CreatingADONETDataServices.aspx" target="_blank">walkthrough</a> available on the ASP.Net 3.5 &#8220;Quick Starts&#8221; site.</li>
</ul>
<p>After you&#8217;ve created your data service on your local dev machine, you&#8217;re probably going to want to deploy it to a dev server, right? Well, I did. And, of course, I ran into another issue that required quite a bit of Googling and cursing to solve. After deploying the application and pointing a Virtual Directory at it, I received the following error message when browsing to the .svc in Internet Explorer:</p>
<p>&#8220;A name was started with an invalid character. Error processing resource&#8221;</p>
<p>Well, what is this? I found lots of others asking that very same question, and finally stumbled onto a solution in the <a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2594537&amp;SiteID=1" target="_blank">MSDN forums</a>. I&#8217;ll outline the steps here, as much for my own sanity if I run into this problem again on another server as to help others. These steps apply for IIS 6. If you&#8217;re on IIS 7, here&#8217;s a quick tip: make sure that you make the directory an application and not just a Virtual Directory&#8230;</p>
<ul>
<li>First of all, make sure that you have the ASP.Net 3.5 Extensions CTP installed on the server. This should be obvious, I know, but it wouldn&#8217;t be the first time&#8230;</li>
<li>Next, you&#8217;ll need to manually add a script mapping for the .svc extension to your application&#8217;s properties in IIS Manager:
<ul>
<li>Open IIS Manager.</li>
<li>Right-click on your application and choose &#8220;Properties&#8221;.</li>
<li>On the &#8220;Virtual Directory&#8221; tab, click on the &#8220;Configuration&#8230;&#8221; button.</li>
<li>On the &#8220;Mappings&#8221; tab, make sure that .svc isn&#8217;t already present in the &#8220;Application extensions&#8221; section. If it isn&#8217;t, click on the &#8220;Add&#8230;&#8221; button.</li>
<li>Click on the &#8220;Browse&#8230;&#8221; button and browse to and select C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll.</li>
<li>Back on the &#8220;Add/Edit Application Extension Mapping&#8221; dialog, type &#8220;.svc&#8221; in the &#8220;Extension:&#8221; textbox and click &#8220;OK&#8221;.</li>
<li>Click &#8220;OK&#8221; two more times to get out of the application properties.</li>
</ul>
</li>
</ul>
<p>Theoretically none of this should be necessary, as IIS&#8217;s script mappings are <strong><em>supposed</em></strong> to be updated whenever a new version of the .Net Framework is installed on the machine. However, I found that this didn&#8217;t happen in my case (I was, again, doing this on 64-bit machine (Windows Server 2003), so maybe it is another funky 64-bit thing). I also found that running ServiceModelReg.exe, which is supposed to WCF-enable IIS, didn&#8217;t work either.</p>
<p>So after you do all of this (and I honestly hope that you had a much easier time than I did) you&#8217;re good to go.</p>
<p>I&#8217;ll post about my actual development experience with ADO.Net Data Services in a separate post. But I&#8217;ll put in this teaser: You can do some really cool stuff with these extensions!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nateirwin.net/2008/02/27/installing-adonet-data-services-on-a-windows-64-bit-development-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Codename &quot;Astoria&quot;</title>
		<link>http://www.nateirwin.net/2007/07/11/microsoft-codename-astoria/</link>
		<comments>http://www.nateirwin.net/2007/07/11/microsoft-codename-astoria/#comments</comments>
		<pubDate>Wed, 11 Jul 2007 19:35:34 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">/post/Microsoft-Codename-quot3bAstoriaquot3b.aspx</guid>
		<description><![CDATA[Brief Introduction Microsoft&#8217;s ADO.NET team recently released a new project, as a Community Technology Preview (CTP), through Microsoft&#8217;s Live Labs. The project, codenamed &#8220;Astoria&#8221;, is a technology that allows developers to easily build and deploy data services (either on their own servers or to Microsoft&#8217;s hosted &#8220;Astoria Online Service&#8221;) that are accessible to applications through [...]]]></description>
			<content:encoded><![CDATA[<p></p><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nateirwin.net%2F2007%2F07%2F11%2Fmicrosoft-codename-astoria%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nateirwin.net%2F2007%2F07%2F11%2Fmicrosoft-codename-astoria%2F&amp;source=nateirwin&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>Brief Introduction</strong></p>
<p>Microsoft&#8217;s <a href="http://blogs.msdn.com/adonet/" target="_blank">ADO.NET team</a> recently released a new project, as a Community Technology Preview (CTP), through <a href="http://labs.live.com/" target="_blank">Microsoft&#8217;s Live Labs</a>. The project, codenamed &#8220;Astoria&#8221;, is a technology that allows developers to easily build and deploy data services (either on their own servers or to Microsoft&#8217;s hosted &#8220;Astoria Online Service&#8221;) that are accessible to applications through HTTP requests. This idea is not necessarily new &#8211; there are other ways to build a web services interface &#8211; but the ability to easily build a data service for SQL Server that is accessible through HTTP is definitely groundbreaking.</p>
<p>As the &#8220;Astoria&#8221; site preaches: this type of service is especially useful for AJAX-based applications that work hard on improving the user experience, through the use of Flash or Silverlight. Once an &#8220;Astoria&#8221; data service is published, you can query the underlying data structure by passing parameters in the URI. For example (and this is taken from the &#8220;Astoria&#8221; <a href="http://astoria.mslivelabs.com/Overview.doc" target="_blank">Overview document</a> that is available on the Live Labs website):</p>
<p>To access all customers in a database:</p>
<p>http://myserver/data.svc/Customers</p>
<p>To access a customer whose key is &#8220;ALFKI&#8221;:</p>
<p>http://myserver/data.svc/Customers[ALFKI]</p>
<p>To find all orders that are associated with a customer whose key is &#8220;ALFKI&#8221;:</p>
<p>http://myserver/data.svc/Customers[ALFKI]/Orders</p>
<p>And so on, so forth. You can get <strong><em>much</em></strong> more focused than the above examples. You can drilldown into related data, filter out records, sort records, and even page records.  You get the picture, right? It really is a powerful way to interact with a database.</p>
<p>How does &#8220;Astoria&#8221; make it so simple? Well, when you build an &#8220;Astoria&#8221; data service with Visual Studio (and, by the way, you need Visual Studio &#8220;Orcas&#8221;/2008 beta 1 to install the &#8220;Astoria&#8221; framework and build these types of data services) you build an Entity Data Model (EDM). &#8220;Astoria&#8221; then uses this model to wade through the underlying database and figure out how data are related. It can <em><strong>then</strong></em> use this simplified information to serve the data and make them accessible through the RESTful interface. &#8220;Astoria&#8221; can currently represent data in XML, JSON, and (as Pablo Castro, Microsoft&#8217;s ADO.NET technical lead, mentions in a really great presentation that he gave at MIX 2007) *<span style="text-decoration: underline;">very</span> experimentally in RDF+XML. XML support is probably the most accepting, but JSON is, of course, perfect for use with AJAX applications.</p>
<p><strong>Helpful/Interesting Resources</strong></p>
<p>I find &#8220;Astoria&#8221;, and the underlying concept of taking complex data and making it broadly accessible intriguing. Again, I understand that this is not new territory. SOAP and other web services are a more powerful way of accessing data, but I see &#8220;Astoria&#8221;&#8216;s restful interface meeting the needs of many. The ability to easily publish a database and make it accessible to the web is something that will allow many developers to build richer (and lighter-weight) web (and mapping!) applications.</p>
<ul>
<li><a href="http://astoria.mslivelabs.com" target="_blank">Project &#8220;Astoria&#8221; Homepage</a></li>
<li><a href="http://216.94.10.61/mix07/silverlight/default.html?title=XD006%20-%20Accessing%20Data%20Services%20in%20the%20Cloud&amp;speakers=Pablo%20Castro&amp;presentationCode=XD006&amp;source=XD006.wmv" target="_blank">Pablo Castro&#8217;s &#8220;Astoria&#8221; Presentation at Mix 2007</a></li>
<li><a href="http://channel9.msdn.com/shows/Microsoft_Conversations_with_Jon_Udell" target="_blank">John Udell&#8217;s &#8220;A Conversation with Pablo Castro about Astoria&#8217;s RESTful Data Services&#8221;</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.nateirwin.net/2007/07/11/microsoft-codename-astoria/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.453 seconds -->
