OData and Windows Azure
This post discusses about building a service using CLOUD platform that can reach various devices. What is OData and Where it fits in? OData is a specification that makes very easy to exchange and interact with data on the web. So OData is all about connecting up devices to the CLOUD. This post also discuss how to create a OData Service in Visual Studio 2010 and host it on Windows Azure then explains how to consume the service on Windows phone Mango.
What id OData?
A REST based set of patterns for accessing information via services
It is a great protocol for connecting devices to the CLOUD. The REST API’s which you might have developed having the following common requirements
- Querying the data
- Ordering the data
- Paging the data
- Filtering the data
- Even CRUD operations on data
OData provides a common way to do the above operations. If you got your web API and if you use OData then you have got a wide range of options to expose of your data to various client libraries and platforms.
Related Posts:
No commentsREST and SOAP
Which is better SOAP or REST? One of the most common discussions. Both REST and SOAP are different approaches in writing the service oriented applications. REST is an architectural style for building client-server applications. SOAP is a protocol for exchanging data between two endpoints.
Related Posts:
1 commentREST Based WCF Service in ASP.NET 3.5
Introduction
This post explains you about building a REST-based service using Windows Communication Foundation(WCF) and ASP.NET 3.5. We develop this service without using the SOAP.You can read the REST Overview to get an understanding of what REST is? In simple tetchier statement we can say REST is WCF Web programming model.
1. Create a new web site in VS 2008 as follows
Select the HTTP from the location box and type the AdventureWeb in the name location box.
Related Posts:
12 commentsWCF and REST
Introduction
WCF is the Microsoft framework for building applications that communicate over network using different protocols. WCF allows the developers to build distributed applications using SOAP. WCF also had the ability to expose and consume REST services.This post explains how to build REST service using WCF.
Note: To build REST Service new infrastructure was added to WCF in .NET Framework 3.5 in the System.ServiceModel.Web assembly.
The two new attributes added to this programming model are
- WebGetAttribute
- WebInvokeAttribute
You can read REST Overview before building the RESTful service.
Related Posts:
3 commentsREST Overview
Introduction
REST stands for Representational State Transfer,is an architectural style where you can build the software system in which clients(user agents) can make requests to the services[end points]. REST one of the way to implement the client\server architectural style. REST can be used to build software applications in which clients can make requests of services.
Related Posts:
2 comments