.net - To ASP.NET MVC or RESTful or WCF REST service -
My client provides different data related to consumer shopping habits in grocery stores based on their membership.
One of their vendor wants to tap into the data and create an intranet site for the company. All of my clients have some form of web service so that the seller can consume data as they are needed and ready to provide the creation of their intranet site using that data.
Will there be a recommended way to provide this data? 2.0 webservice or some kind of .NET REST service or WCF service?
The data is stored on SQL.
An example of a search, to obtain a fictional search data, consumers may purchase Chinese crude between the Chinese purchased and some dates, resulting in 0 .. N records, which can be used for their consumption Requires the seller to be sent back.
Although WCF is an easy way to get a resting service, then you have a .NET client Especially if they are consuming it, I prefer rolling out my own services using ASP MVC.
This gives you very fine grained control over your resources. You can view HTTP headers for authentication information, content type, etc. depending on the outcome of the operation or you can return the custom HTTP status code. You will not be forced into the WCF conventions. You'll have to do more manual work while using the services, but I think the end result is worth it.
Comments
Post a Comment