This means that, with little or no change to code, existing applications that are built with these technologies can interoperate with WCF services. WCF contracts define the behavior of WCF services. They are created in code by service developers, and are exposed to clients in the service metadata. The five types of contracts:
- Service Contracts
- Operation Contracts
- Data Contracts
- Message Contracts
- Fault Contracts
WCF is flexible because its services can be hosted in different types of applications. The following lists several common scenarios for hosting WCF services:
- IIS
- WAS
- Self-hosting
- Managed Windows Service
1.It Can be accessed only over HTTP
2.It works in stateless environment
3.It support only the datatypes defined in the XSD type system, limiting the number of objects that can be serialized.
4.It support interoperability across platforms, and are ideal for heterogeneous environments.
.Net Remoting..
1.It Can be accessed over any protocol
2.Provide support for both stateful and stateless environments through Singleton and SingleCall objects
3.Using binary communication, .NET Remoting can provide support for rich type system
4.It requires the client be built using .NET, enforcing homogenous environment.
No comments:
Post a Comment