<?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"
	>
<channel>
	<title>Comments on: MS MVC: Simply Restful Routing</title>
	<atom:link href="http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/feed/" rel="self" type="application/rss+xml" />
	<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/</link>
	<description>Abstract &#38;&#38; Concrete</description>
	<pubDate>Tue, 06 Jan 2009 02:26:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: ivan</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-11182</link>
		<dc:creator>ivan</dc:creator>
		<pubDate>Fri, 06 Jun 2008 23:23:08 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-11182</guid>
		<description>Hi Adam,

I figured it out. I was lost and confused for some time. But now I get it. (I think :))</description>
		<content:encoded><![CDATA[<p>Hi Adam,</p>
<p>I figured it out. I was lost and confused for some time. But now I get it. (I think :))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karthik Hariharan</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-7047</link>
		<dc:creator>Karthik Hariharan</dc:creator>
		<pubDate>Tue, 22 Apr 2008 03:50:45 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-7047</guid>
		<description>Great resource Adam.  We are looking at using this restful handler to hook up to Silverlight as an alternative to SOAP.

Looking forward to your latest release.</description>
		<content:encoded><![CDATA[<p>Great resource Adam.  We are looking at using this restful handler to hook up to Silverlight as an alternative to SOAP.</p>
<p>Looking forward to your latest release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Tybor</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-5829</link>
		<dc:creator>Adam Tybor</dc:creator>
		<pubDate>Fri, 11 Apr 2008 14:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-5829</guid>
		<description>@Anonymous
Don't be anonymous if you want a good response.

The UnitTests in MVC Contrib and the links to Scott Gutherie's introduction posts should help get you started.

The reason there is no formal documentation yet on usage was because lots of things with routing were going to change from Preview 1 to Preview 2.  

I have also completely rewritten the restful stuff and its currently in an experimental branch on google code.  Its incomplete and much less documented than the current SimplyRestful so your mileage may vary for right now.

I will have a post once its complete.  It will also include a starter kit to get you going.</description>
		<content:encoded><![CDATA[<p>@Anonymous<br />
Don&#8217;t be anonymous if you want a good response.</p>
<p>The UnitTests in MVC Contrib and the links to Scott Gutherie&#8217;s introduction posts should help get you started.</p>
<p>The reason there is no formal documentation yet on usage was because lots of things with routing were going to change from Preview 1 to Preview 2.  </p>
<p>I have also completely rewritten the restful stuff and its currently in an experimental branch on google code.  Its incomplete and much less documented than the current SimplyRestful so your mileage may vary for right now.</p>
<p>I will have a post once its complete.  It will also include a starter kit to get you going.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Tybor</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-5828</link>
		<dc:creator>Adam Tybor</dc:creator>
		<pubDate>Fri, 11 Apr 2008 14:33:17 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-5828</guid>
		<description>@Ivan
I am not sure exactly what you have in your global.asax, you can send me an email with it I am sure I can help you out.</description>
		<content:encoded><![CDATA[<p>@Ivan<br />
I am not sure exactly what you have in your global.asax, you can send me an email with it I am sure I can help you out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-4932</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Mon, 31 Mar 2008 15:39:34 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-4932</guid>
		<description>I don't get your section "The Simply Restful Routes In MS MVC"

So are you saying this is an example of using your RoutingHandler?  I only see one instance where you are using your routehandler.  So am I supposed to plug in your code in the "The Simply Restful Routes In MS MVC" ?  It's a bit misleading.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t get your section &#8220;The Simply Restful Routes In MS MVC&#8221;</p>
<p>So are you saying this is an example of using your RoutingHandler?  I only see one instance where you are using your routehandler.  So am I supposed to plug in your code in the &#8220;The Simply Restful Routes In MS MVC&#8221; ?  It&#8217;s a bit misleading.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-4931</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Mon, 31 Mar 2008 15:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-4931</guid>
		<description>I agree.  Your article doesn't really tell you how to use it.  While sure, I can "look at the code", I don't really have the time to trial and error when you are the creator of this code.  Can you provide some basical global.ascx setups, etc. to show us how to use it other than in your example above which only says it's using MVC other than that one route where it's using yours for whatever reason.

I would assume you create a global.ascx that's using only your route handler if we want to use your code "out of the box" and have it "working" based on only those defined RESTful methods in my controller right?

We need more context on how to hook this up out of the box...a more concrete example where you have a global.asax showing all the routes for basic CRUD operations.</description>
		<content:encoded><![CDATA[<p>I agree.  Your article doesn&#8217;t really tell you how to use it.  While sure, I can &#8220;look at the code&#8221;, I don&#8217;t really have the time to trial and error when you are the creator of this code.  Can you provide some basical global.ascx setups, etc. to show us how to use it other than in your example above which only says it&#8217;s using MVC other than that one route where it&#8217;s using yours for whatever reason.</p>
<p>I would assume you create a global.ascx that&#8217;s using only your route handler if we want to use your code &#8220;out of the box&#8221; and have it &#8220;working&#8221; based on only those defined RESTful methods in my controller right?</p>
<p>We need more context on how to hook this up out of the box&#8230;a more concrete example where you have a global.asax showing all the routes for basic CRUD operations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivan</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-3914</link>
		<dc:creator>ivan</dc:creator>
		<pubDate>Tue, 18 Mar 2008 07:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-3914</guid>
		<description>How can use your code? I am using the latest  preview2 code. How do I tell .net to use our routinghandler? If I use this code it tells me that there is no Route that takes 0 parameters:

Error	1	'System.Web.Routing.Route' does not contain a constructor that takes '0' arguments	C:\Dev\TestMVC2\TestMVC2\Global.asax.cs	34	24	TestMVC2

the code used:

===========
using MvcContrib.SimplyRestful;
            ....
routes.Add(new Route
{
  Url = "[controller]/new",
  Defaults = new { Action = "new" },
  RouteHandler = typeof(MvcRouteHandler)
});

SimplyRestfulRouteHandler.BuildRoutes(routes, "/[controller]", null, null);</description>
		<content:encoded><![CDATA[<p>How can use your code? I am using the latest  preview2 code. How do I tell .net to use our routinghandler? If I use this code it tells me that there is no Route that takes 0 parameters:</p>
<p>Error	1	&#8216;System.Web.Routing.Route&#8217; does not contain a constructor that takes &#8216;0&#8242; arguments	C:\Dev\TestMVC2\TestMVC2\Global.asax.cs	34	24	TestMVC2</p>
<p>the code used:</p>
<p>===========<br />
using MvcContrib.SimplyRestful;<br />
            &#8230;.<br />
routes.Add(new Route<br />
{<br />
  Url = &#8220;[controller]/new&#8221;,<br />
  Defaults = new { Action = &#8220;new&#8221; },<br />
  RouteHandler = typeof(MvcRouteHandler)<br />
});</p>
<p>SimplyRestfulRouteHandler.BuildRoutes(routes, &#8220;/[controller]&#8220;, null, null);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Tybor</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-3365</link>
		<dc:creator>Adam Tybor</dc:creator>
		<pubDate>Sun, 09 Mar 2008 20:28:57 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-3365</guid>
		<description>@Lance,

Point well taken about IIS6 routes, I will look into a resolution because technically the .mvc isn't on the controller its the extension of the whole url which really breaks some of the new stuff I have in store.

I will also have a sample app soon.</description>
		<content:encoded><![CDATA[<p>@Lance,</p>
<p>Point well taken about IIS6 routes, I will look into a resolution because technically the .mvc isn&#8217;t on the controller its the extension of the whole url which really breaks some of the new stuff I have in store.</p>
<p>I will also have a sample app soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Tybor</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-3364</link>
		<dc:creator>Adam Tybor</dc:creator>
		<pubDate>Sun, 09 Mar 2008 19:47:25 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-3364</guid>
		<description>There is a preview2 branch in the mvc contrib repository that has the corrected changes.  I think at this point the branch is pretty complete.

The biggest undocumented change was the Constraint, formerly Validation, "method" was changed to "httpMethod".

So Contraint = new { httpMethod = "POST" } is what needed to get done.

Sorry for the delay in the reply.</description>
		<content:encoded><![CDATA[<p>There is a preview2 branch in the mvc contrib repository that has the corrected changes.  I think at this point the branch is pretty complete.</p>
<p>The biggest undocumented change was the Constraint, formerly Validation, &#8220;method&#8221; was changed to &#8220;httpMethod&#8221;.</p>
<p>So Contraint = new { httpMethod = &#8220;POST&#8221; } is what needed to get done.</p>
<p>Sorry for the delay in the reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mrfleck</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-3181</link>
		<dc:creator>Mrfleck</dc:creator>
		<pubDate>Thu, 06 Mar 2008 23:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-3181</guid>
		<description>I lied, I got my tests to pass but it still does not work, I will keep digging and if I come up with the answer I will post a patch.</description>
		<content:encoded><![CDATA[<p>I lied, I got my tests to pass but it still does not work, I will keep digging and if I come up with the answer I will post a patch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mrfleck</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-3179</link>
		<dc:creator>Mrfleck</dc:creator>
		<pubDate>Thu, 06 Mar 2008 23:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-3179</guid>
		<description>Nevermind got it all figured out and running in preview 2</description>
		<content:encoded><![CDATA[<p>Nevermind got it all figured out and running in preview 2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-3172</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Thu, 06 Mar 2008 22:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-3172</guid>
		<description>I tried to update the mvccontrib stuff for preview 2 and it breaks on the post constraints. Any idea how to fix this? I am having a bear of a time figuring out how to debug routes.</description>
		<content:encoded><![CDATA[<p>I tried to update the mvccontrib stuff for preview 2 and it breaks on the post constraints. Any idea how to fix this? I am having a bear of a time figuring out how to debug routes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lance Fisher</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-2937</link>
		<dc:creator>Lance Fisher</dc:creator>
		<pubDate>Tue, 04 Mar 2008 09:23:26 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-2937</guid>
		<description>Hi Adam,

I've been looking around to find some examples of using the SimplyRestful routing that is now included in MvcContrib, and I can't really find anything.  Looking at the tests, I'm guessing that I just have to call:

MvcContrib.SimplyRestful.SimplyRestfulRouteHandler.BuildRoutes(routes);

in my Application_Start and then write the Show, Create, Update, etc. action methods on my controllers.  Is this correct?  

Also, when I go to deploy this on IIS 6, am I going to have to redo the routes with a ".mvc" after the controller?  Would a BuildIIS6Routes method in MvcContrib be appropriate?  If so, I'd be happy to write the patch.

Thanks,
Lance</description>
		<content:encoded><![CDATA[<p>Hi Adam,</p>
<p>I&#8217;ve been looking around to find some examples of using the SimplyRestful routing that is now included in MvcContrib, and I can&#8217;t really find anything.  Looking at the tests, I&#8217;m guessing that I just have to call:</p>
<p>MvcContrib.SimplyRestful.SimplyRestfulRouteHandler.BuildRoutes(routes);</p>
<p>in my Application_Start and then write the Show, Create, Update, etc. action methods on my controllers.  Is this correct?  </p>
<p>Also, when I go to deploy this on IIS 6, am I going to have to redo the routes with a &#8220;.mvc&#8221; after the controller?  Would a BuildIIS6Routes method in MvcContrib be appropriate?  If so, I&#8217;d be happy to write the patch.</p>
<p>Thanks,<br />
Lance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffrey Palermo</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-5</link>
		<dc:creator>Jeffrey Palermo</dc:creator>
		<pubDate>Tue, 11 Dec 2007 01:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-5</guid>
		<description>Problem with you patch.  I left a message for you on the MvcContrib workspace</description>
		<content:encoded><![CDATA[<p>Problem with you patch.  I left a message for you on the MvcContrib workspace</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MS MVC: Testing Routes &#124; Adam Tybor's Blog</title>
		<link>http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-4</link>
		<dc:creator>MS MVC: Testing Routes &#124; Adam Tybor's Blog</dc:creator>
		<pubDate>Mon, 10 Dec 2007 12:30:24 +0000</pubDate>
		<guid isPermaLink="false">http://abombss.com/blog/2007/12/10/ms-mvc-simply-restful-routing/#comment-4</guid>
		<description>[...] much easier. Here I will show you some tests I wrote to validate the routing rules we created for simply restful routing in the ms mvc [...]</description>
		<content:encoded><![CDATA[<p>[...] much easier. Here I will show you some tests I wrote to validate the routing rules we created for simply restful routing in the ms mvc [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
