Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between Webservice and WCF

Answer Posted / dhritirao

WCF is a replacement for all earlier web service
technologies from Microsoft. It also does a lot more than
what is traditionally considered as "web services".

WCF "web services" are part of a much broader spectrum of
remote communication enabled through WCF. You will get a
much higher degree of flexibility and portability doing
things in WCF than through traditional ASMX because WCF is
designed, from the ground up, to summarize all of the
different distributed programming infrastructures offered
by Microsoft. An endpoint in WCF can be communicated with
just as easily over SOAP/XML as it can over TCP/binary and
to change this medium is simply a configuration file mod.
In theory, this reduces the amount of new code needed when
porting or changing business needs, targets, etc.

ASMX is older than WCF, and anything ASMX can do so can WCF
(and more). Basically you can see WCF as trying to
logically group together all the different ways of getting
two apps to communicate in the world of Microsoft; ASMX was
just one of these many ways and so is now grouped under the
WCF umbrella of capabilities.

Web Services can be accessed only over HTTP & it works in
stateless environment, where WCF is flexible because its
services can be hosted in different types of applications.
Common scenarios for hosting WCF services are IIS,WAS, Self-
hosting, Managed Windows Service.

The major difference is that Web Services Use
XmlSerializer. But WCF Uses DataContractSerializer which is
better in Performance as compared to XmlSerializer.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is datagrid asp.net?

1014


Is asp.net 64-bit enabled? How?

1031


What is route in web api?

985


If 200 is for all successful operation then why do we have 201 response codes?

882


Why cyclomatic complexity is important?

992


What is _viewstart?

876


What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

1002


What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

2323


code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications

1814


What is asp.net with mvc? : Asp.Net MVC

960


What is the difference between adding reference in solution explorer and adding references by using ?

1044


What does aspcompat="true" mean?

995


What is the difference between client-side and server-side validations in webpages?

972


What are the different types of proxy patterns?

1112


What do you understand by aggregate dependency?

1051