Skip to content

Instantly share code, notes, and snippets.

@JohnMurray
Created August 19, 2012 18:54
Show Gist options
  • Save JohnMurray/3397034 to your computer and use it in GitHub Desktop.
Save JohnMurray/3397034 to your computer and use it in GitHub Desktop.
Versioning WCF Web APIs Blog Post (http://goo.gl/PkCVc)
<location path="." inheritInChildApplications="false">
<root-application-binding>/vN
http://api.mysite.com/UserInfo/<MethodName>
http://api.mysite.com/CarInfo/<MethodName>
http://api.mysite.com/UserInfo/<MethodName>
http://api.mysite.com/UserInfoV2/<MethodName>
http://api.mysite.com/CarInfo/<MethodName>
http://api.mysite.com/UserInfo/<MethodName> #version 2
http://api.mysite.com/v1/UserInfo/<MethodName> #version 1
http://api.mysite.com/v2/UserInfo/<MethodName> #version 2
|--wwroot\
|--mysite-apis\
|--v1\
|--v2\
|--v3\
`--etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment