TechBubbles

REST 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.

                                                    webservice

Read more

Related Posts:

1 comment

REST 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

EmptyWebsite

Select the HTTP from the location box and type the AdventureWeb in the name location box.

Read more

Related Posts:

11 comments

WCF 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.

Read more

Related Posts:

1 comment

REST 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.

REST

Read more

Related Posts:

2 comments