Technology and Me

Saturday, May 01, 2010

webHttpBinding – REST in WCF (Part 2)


In Part 1, the service was exposed as /Now?GMT=5, now the solution is updated to handle request such as /GMT/5

Download the complete solution using an SVN client from here

[OperationContract]
[WebGet(UriTemplate = "/GMT/{GMT}")]
string GMT(string GMT);
Posted by Nitin Chaudhari at 10:13 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

About Me

My photo
Nitin Chaudhari
View my complete profile

Blog Archive

  • ►  2019 (2)
    • ►  January (2)
  • ►  2016 (2)
    • ►  February (2)
  • ►  2015 (8)
    • ►  December (1)
    • ►  November (6)
    • ►  April (1)
  • ►  2014 (1)
    • ►  September (1)
  • ►  2011 (2)
    • ►  April (1)
    • ►  March (1)
  • ▼  2010 (24)
    • ►  September (2)
    • ►  August (1)
    • ►  July (2)
    • ▼  May (7)
      • Generic Singleton
      • Agile Estimation
      • Downside of LINQ
      • Why should you use LINQ
      • REST vs SOAP
      • webHttpBinding - REST in WCF (Part 3)
      • webHttpBinding – REST in WCF (Part 2)
    • ►  April (4)
    • ►  March (5)
    • ►  February (3)
  • ►  2009 (20)
    • ►  November (1)
    • ►  June (1)
    • ►  May (5)
    • ►  April (2)
    • ►  February (7)
    • ►  January (4)
  • ►  2008 (25)
    • ►  December (1)
    • ►  October (4)
    • ►  September (11)
    • ►  June (2)
    • ►  May (4)
    • ►  January (3)
  • ►  2007 (8)
    • ►  December (3)
    • ►  November (5)
  • ►  2006 (1)
    • ►  June (1)
Simple theme. Powered by Blogger.