URI “Purity”

Posted August 21st @ 11:14 pm by aaron

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: , ,

1 Trackbacks/Pingbacks

  1. Pingback: Breaking Up: Moving Blog Engines | Aaron Lerch on August 23, 2007

Leave a comment

OpenID Login

Standard Login

Options:

Size

Colors