Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Difference between WCF,Webservice and Remoting

Difference between WCF,Webservice and Remoting

|Views: 1,285|Likes:
Published by Umar Ali
This provides difference between WCF and Webservice & difference between Webservice and Remoting
This provides difference between WCF and Webservice & difference between Webservice and Remoting

More info:

Published by: Umar Ali on Mar 19, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





What are the differences between WebService and WCF?S.NoFeaturesWebServiceWCF
1HostingIt can be hosted in IISIt can be hosted in IIS,windows activationservice, Self-hosting,Windows service2Programming[WebService]attribute has to beadded to the class[ServiceContract] attributehas to be added to theclass3Model[WebMethod]attribute representsthe method exposedto client[OperationContract]attribute represents themethod exposed to client4OperationOne-way, Request-Response are thedifferentoperationssupported in webserviceOne-Way, Request-Response, Duplex aredifferent type of operations supported inWCF5XMLSystem.Xml.serialization name space isused for serializationSystem.Runtime.Serialization namespace is used forserialization6EncodingXML 1.0,MTOM(Message TransmissionOptimizationMechanism), DIME,CustomXML 1.0, MTOM, Binary,Custom7TransportsCan be accessedthrough HTTP, TCP,CustomCan be accessed throughHTTP, TCP, Named pipes,MSMQ,P2P, Custom8ProtocolsSecuritySecurity, Reliablemessaging, Transactions9StateManagementWeb Services arestatelessWCF Services can managestates
2)What are the differences between ASP.Net Web servicesand .NET Remoting?S.NoFeaturesASP.Net Webservices.NET Remoting
1ProtocolIt can be accessed onlyover HTTPIt can be accessedover any protocol(including TCP, HTTP,SMTP and so on)2StateManagementWeb services work in astateless environmentIt provides support forboth stateful and
stateless environmentsthrough Singleton andSingleCall objects3Type System
Web services supportonly the datatypesdefined in the XSDtype system, limitingthe number of objectsthat can be serialized.Using binarycommunication, .NETRemoting can providesupport for rich typesystem
Web services supportinteroperability acrossplatforms, and areideal forheterogeneousenvironments.NET remoting requiresthe client be builtusing .NET, enforcinghomogenousenvironment.
Highly reliable due tothe fact that Webservices are alwayshosted in IISCan also takeadvantage of IIS forfault isolation. If IIS isnot used, applicationneeds to provideplumbing for ensuringthe reliability of theapplication
Provides extensibilityby allowing us tointercept the SOAPmessages during theserialization anddeserialization stages.Very extensible byallowing us tocustomize the differentcomponents of the.NET remotingframework.
Easy-to-create anddeploy.Complex to program.
3)What are the differences between Buffered Transfer andStreamed Transfer in WCF?S.NoBuffered TransferStreamed Transfer
1Target can process themessage once it is completelyreceived. Target can start processing thedata when it is partiallyreceived.2Performance will be goodwhen message size is smallPerformance will be good whenmessage size is larger(morethan 64K)3Native channel shape is Native channels are

Activity (17)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Sj Lim liked this
Mohammedrafiqraja liked this
krish434 liked this
mirzashahezada liked this
sanjappan liked this
funfrom83 liked this
123456net liked this
P Felix Felix P liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->