On building Restful services

I recently did a few blog posts showing the basics of how to get started with the WCF Web API but before I continue I think it is best to start with the why instead of how. A lot of people will be familiar with writing SOAP style services but not everyone is quite as familiar with the REST approach so I guess that takes a bit of explanation.

 

This subject is a bit long Smile for a single blog post so I am going to do a number explaining what REST is, the difference with SOAP and how to build these Restful services using the WCF Web API. Of course the WCF Web API is still in a preview state so some of the technical things are subject to change over time but the general principal of building Restful services isn’t going to change a lot.

 

Some of the topics I am expecting to cover:

  • Basic principals of a REST service including (here):
  • Different message formats
    • XML
    • JSON
    • Micro formats
  • Using hypermedia
    • AtomPub
    • OData
  • Scalability
  • Security
  • Software engineering principals:
    • IOC and Dependency Injection
    • Testing with InMemoryRepository

If you think I am forgetting an important part here let me know and I will add it to the list of things to write about.

 

Enjoy!

[f1]
[f2]

2 thoughts on “On building Restful services

  1. Sounds a great idea of article, which would be valuable for the community!

    We are planning to implement a REST-like API using POST and JSON to expose our services publicly so I am looking forward to read you :-)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>