<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Unifying Web &quot;Sites&quot; and Web Services with the ASP.NET MVC Framework</title>
	<atom:link href="http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/</link>
	<description></description>
	<lastBuildDate>Thu, 25 Feb 2010 20:23:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mustafa</title>
		<link>http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/comment-page-1/#comment-862</link>
		<dc:creator>Mustafa</dc:creator>
		<pubDate>Sun, 10 Jan 2010 04:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/#comment-862</guid>
		<description>Great Article. Thanks.
i&#039;m new with microsoft mvc framework. and have the following Q.
is there is a way in current mvc version to  &quot;inject&quot; a different IViewFactory into the default Controller created by the ControllerBuilder class?.</description>
		<content:encoded><![CDATA[<p>Great Article. Thanks.<br />
i&#8217;m new with microsoft mvc framework. and have the following Q.<br />
is there is a way in current mvc version to  &#8220;inject&#8221; a different IViewFactory into the default Controller created by the ControllerBuilder class?.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: To (ASP.NET)MVC or not to MVC (or, ASP.NET MVC Hyperlink Acupuncture) &#124; The Freak Parade</title>
		<link>http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/comment-page-1/#comment-421</link>
		<dc:creator>To (ASP.NET)MVC or not to MVC (or, ASP.NET MVC Hyperlink Acupuncture) &#124; The Freak Parade</dc:creator>
		<pubDate>Thu, 11 Sep 2008 20:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/#comment-421</guid>
		<description>[...] to create some services using MVC? Read this and [...]</description>
		<content:encoded><![CDATA[<p>[...] to create some services using MVC? Read this and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tobin Harris</title>
		<link>http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/comment-page-1/#comment-282</link>
		<dc:creator>Tobin Harris</dc:creator>
		<pubDate>Mon, 04 Aug 2008 19:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/#comment-282</guid>
		<description>I quite like the format Doug Mayer suggested, I&#039;ve seen this in Rails. You can use pretty URLs like:

Product/List.htm
Product/List.json
Product/List.xml
Product/List.yml</description>
		<content:encoded><![CDATA[<p>I quite like the format Doug Mayer suggested, I&#8217;ve seen this in Rails. You can use pretty URLs like:</p>
<p>Product/List.htm<br />
Product/List.json<br />
Product/List.xml<br />
Product/List.yml</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: To (ASP.NET)MVC or not to MVC (or, ASP.NET MVC Hyperlink Acupuncture) &#171; HSI Developer Blog</title>
		<link>http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/comment-page-1/#comment-281</link>
		<dc:creator>To (ASP.NET)MVC or not to MVC (or, ASP.NET MVC Hyperlink Acupuncture) &#171; HSI Developer Blog</dc:creator>
		<pubDate>Tue, 29 Jul 2008 18:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/#comment-281</guid>
		<description>[...] to create some services using MVC? Read this and [...]</description>
		<content:encoded><![CDATA[<p>[...] to create some services using MVC? Read this and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: First thoughts on ASP.NET MVC Preview 3 &#124; Aaron Lerch</title>
		<link>http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/comment-page-1/#comment-280</link>
		<dc:creator>First thoughts on ASP.NET MVC Preview 3 &#124; Aaron Lerch</dc:creator>
		<pubDate>Wed, 28 May 2008 02:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/#comment-280</guid>
		<description>[...] that is included new in Preview 3 is JsonResult (a subclass of ActionResult). It looks like some of my crazy ideas weren&#8217;t so crazy after all? A new method on the controller, &quot;Json()&quot;, takes a [...]</description>
		<content:encoded><![CDATA[<p>[...] that is included new in Preview 3 is JsonResult (a subclass of ActionResult). It looks like some of my crazy ideas weren&#8217;t so crazy after all? A new method on the controller, &quot;Json()&quot;, takes a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 47 ASP.NET MVC Resources to Rock Your Development - Craig Shoemaker</title>
		<link>http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/comment-page-1/#comment-279</link>
		<dc:creator>47 ASP.NET MVC Resources to Rock Your Development - Craig Shoemaker</dc:creator>
		<pubDate>Thu, 24 Apr 2008 17:14:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/#comment-279</guid>
		<description>[...] REST + MVC: Rob Conery describes ASP.NET MVC in the context of REST. Aaron Lerch demonstrates how to build your site once and make it readable by both machines and humans. [...]</description>
		<content:encoded><![CDATA[<p>[...] REST + MVC: Rob Conery describes ASP.NET MVC in the context of REST. Aaron Lerch demonstrates how to build your site once and make it readable by both machines and humans. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris van de Steeg&#8217;s blog - What&#8217;s practical is logical</title>
		<link>http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/comment-page-1/#comment-276</link>
		<dc:creator>Chris van de Steeg&#8217;s blog - What&#8217;s practical is logical</dc:creator>
		<pubDate>Wed, 26 Mar 2008 19:37:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/#comment-276</guid>
		<description>[...] (now through a ViewEngine, which is nice I think), it was no longer needed to use the code from Aaron Lerch. Though still inspired by his code ofcourse, I removed almost all of his code now. We now have a [...]</description>
		<content:encoded><![CDATA[<p>[...] (now through a ViewEngine, which is nice I think), it was no longer needed to use the code from Aaron Lerch. Though still inspired by his code ofcourse, I removed almost all of his code now. We now have a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-03-20 &#171; dstelow notes&#8230;</title>
		<link>http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/comment-page-1/#comment-278</link>
		<dc:creator>links for 2008-03-20 &#171; dstelow notes&#8230;</dc:creator>
		<pubDate>Thu, 20 Mar 2008 23:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/#comment-278</guid>
		<description>[...] Unifying Web &#8220;Sites&#8221; and Web Services with the ASP.NET MVC Framework &#124; Aaron Lerch &#8230;With the ASP.NET MVC Framework, though, I see the opportunity to unify services and &#8220;sites&#8221; (tags: dev dotnet aspnet mvc webservices) [...]</description>
		<content:encoded><![CDATA[<p>[...] Unifying Web &#8220;Sites&#8221; and Web Services with the ASP.NET MVC Framework | Aaron Lerch &#8230;With the ASP.NET MVC Framework, though, I see the opportunity to unify services and &#8220;sites&#8221; (tags: dev dotnet aspnet mvc webservices) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Koistya</title>
		<link>http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/comment-page-1/#comment-277</link>
		<dc:creator>Koistya</dc:creator>
		<pubDate>Mon, 17 Mar 2008 17:56:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/#comment-277</guid>
		<description>I would simply create:

public class ServiceFilterAttribute : ActionFilterAttribute
{
    public override void OnActionExecuting(FilterExecutingContext filterContext)
    { //serialization staff goes here }
}

and assign that class to a Controller&#039;s method which handles requests to all service urls.</description>
		<content:encoded><![CDATA[<p>I would simply create:</p>
<p>public class ServiceFilterAttribute : ActionFilterAttribute<br />
{<br />
    public override void OnActionExecuting(FilterExecutingContext filterContext)<br />
    { //serialization staff goes here }<br />
}</p>
<p>and assign that class to a Controller&#8217;s method which handles requests to all service urls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Mayer</title>
		<link>http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/comment-page-1/#comment-275</link>
		<dc:creator>Doug Mayer</dc:creator>
		<pubDate>Thu, 28 Feb 2008 16:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2008/01/01/unifying-web-sites-and-web-services-with-the-aspnet-mvc-framework/#comment-275</guid>
		<description>What about creating a route like:

[controller]/[action]/[id].[format]

You may need to create another one with just controller/action/format, but then you&#039;d be able to do something more RoR-like and request it with an extension, assuming .NET supports that. :)

Product/List.xml =&gt; controller=Product, action=List, format=xml</description>
		<content:encoded><![CDATA[<p>What about creating a route like:</p>
<p>[controller]/[action]/[id].[format]</p>
<p>You may need to create another one with just controller/action/format, but then you&#8217;d be able to do something more RoR-like and request it with an extension, assuming .NET supports that. <img src='http://www.aaronlerch.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Product/List.xml =&gt; controller=Product, action=List, format=xml</p>
]]></content:encoded>
	</item>
</channel>
</rss>
