URI “Purity”

In my article on REST + WCF, I mentioned something I called “URI Purity”:

“URI purity”, as I define it, refers to the degree with which implementation details “leak” into the URI of a resource. (read more…)

Interesting that I come across this post tonight by Jon Flanders [via] where he created an HttpModule to rewrite the .svc extension out of a web request. The one thing his module doesn’t do, unfortunately, is rewrite the outgoing response back to the client – so if a resource is created, its URI returned in the response would still include “.svc”.

Scott Guthrie (and many others) have already posted on some good resources (and rationale) for URL rewriting, so I won’t repeat all that here. Just Google “url rewrite asp.net” and you’re on your way.

Technorati Tags: , ,

This entry was posted on Tuesday, August 21st, 2007 at 11:14 pm and is filed under rest, wcf. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

One Response to “URI “Purity””

  1. Breaking Up: Moving Blog Engines | Aaron Lerch Says:

    [...] Filed in: blog, powershell ← URI “Purity” [...]