How Routing works with RestCake services (and ASP.NET in general)
TODO: Explain the standard .NET RouteBase class and IRouteHandler interface, and the RestCake implementations of them: GenericHandlerRoute<T> and GenericHandlerRouteHandler<T>.

TODO: Explain how ASP.NET routing works, with each incoming request calling GetRouteData() for all of the registered routes. If it returns null, skip it, if it returns the RouteData object, we have the match, use the IRouteHandler to get the IHttpHandler, and pass the HttpRequest off for processing.

TODO: Maybe get some diagrams. People love diagrams.
samscode.com rest.codeplex.com loef.codeplex.com
©2010 samscode.com, Samuel Meacham