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 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
- Using hypermedia
- 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.