By using WCF, we can quickly build services that we can integrate into any enterprise solutions. Apart from writing entirely new functionality, we can use WCF to implement services that wrap existing applications, and connect them together in ways that were previously difficult to achieve. WCF can act as the “glue” for combining applications and components together. Additionally, WCF can make use of standard protocols, data formats, and communications mechanisms, enabling interoperability with services developed by using other technologies. WCF is an ideal platform for implementing a Service-Oriented Architecture, or SOA. An SOA consists of a set of resources on … Click here to continue…..
ASP.NET Web services and .NET Remoting provide a full suite of design options for cross-process and cross-plaform communication in distributed applications. In general, ASP.NET Web services provide the highest levels of interoperability with full support for WSDL and SOAP over HTTP, while .NET Remoting is designed for common language runtime type-system fidelity and supports additional data format and communication channels. Hence if we looking cross-platform communication than web services is the choice coz for .NET remoting .Net framework is requried which may or may not present for the other platform. Serialization and Metadata ASP.NET Web services rely on the System.Xml.Serialization.XmlSerializer … Click here to continue…..
Asynchronous Call : Application can make a call to the Webservice and then continue todo watever oit wants to do. When the service is ready it will notify the application. Application can use BEGIN and END method to make asynchronous call to the webmethod. We can use either a WaitHandle or a Delegate object when making asynchronous call. The WaitHandle class share resources between several objects. It provides several methods which will wait for the resources to become available The easiest and most powerful way to to implement an asynchronous call is using a delegate object. A delegate object wraps … Click here to continue…..
WCF Service supports both http and tcp protocol while webservice supports only http protocol. WCF Service is more flexible than web service. Web services can only be invoked by HTTP (traditional webservice with .asmx). While WCF Service or a WCF component can be invoked by any protocol (like http, tcp etc.) and any transport type. Second web services are not flexible. However, WCF Services are flexible. If you make a new version of the service then you need to just expose a new end. Therefore, services are agile and which is a very practical approach looking at the current business … Click here to continue…..