1.) What is message Contract in WCF ?
A Message contract provides control over the simple object access protocol (SOAP).Message that are produced and consumed by WCF. It helps to direct access to the SOAP header and bodies to change the SOAP Message as for your requirement.The most important feature of SOAP Message is interoperability.
2.) What is Service Contract in WCF ?
A service contract is a contract that defines the operations or methods available at end points .It also defines the message exchange pattern such as behavior of the message in one way,duplex or request/reply.
3.) What is Policy binding in WCF ?
The Policy and Binding component of the contract layer specifies important information.Such as security and protocol of a WCF services. Binding is a process used to enable communication between services and clients.There are some protocols which are very necessary to communications with the end point of services.Ex HTTP,TCP,MSMQ.
4.) What is Service RunTime Layer in WCF ? The service runtime layer specifies and manage different behavior of a service that occur during its operation such as consuming or hosting the services.
5.) What are the behavior managed by Service RunTime Layer in WCF ? A Message contract provides control over the simple object access protocol (SOAP).Message that are produced and consumed by WCF. It helps to direct access to the SOAP header and bodies to change the SOAP Message as for your requirement.The most important feature of SOAP Message is interoperability.
2.) What is Service Contract in WCF ?
A service contract is a contract that defines the operations or methods available at end points .It also defines the message exchange pattern such as behavior of the message in one way,duplex or request/reply.
3.) What is Policy binding in WCF ?
The Policy and Binding component of the contract layer specifies important information.Such as security and protocol of a WCF services. Binding is a process used to enable communication between services and clients.There are some protocols which are very necessary to communications with the end point of services.Ex HTTP,TCP,MSMQ.
4.) What is Service RunTime Layer in WCF ? The service runtime layer specifies and manage different behavior of a service that occur during its operation such as consuming or hosting the services.
- Throttling behavior:- The number of processed messages varies according to demand of services.
- Error Behavior:- It specifies the action to be taken, it only of the message give error during service runtime.
- Instance behavior:- It specifies the number of service instance that are available to process a message.
- Meta Data Behavior:- It specifies ,meta data is available or not across the network.
- Message Inspection:- It inspects all the message during service runtime.
- Transaction behavior:- It roll backs the transactions, if any process fails during service runtime.
- Dispatch Behavior:- It determines ,how a message is handled and processed by the WCF infrastructure.
- Concurrency behavior:- It specifies whether the message are processed sequentially or concurrently by the service.
- Parameter filtering:- It filters the message header and executes preset actions.
MEPs stands for Message Exchange Patterns. There are three types of Message Exchange Patterns as given below:-
- Request and Response
- Data Gram
- Duplex (half and full)
SOAP stands for Simple Object Access Protocol. A Message contract provides control over the simple object access protocol (SOAP).The most important feature of SOAP Message is interoperability.
8.) What is the Message Layer in WCF ?
The message layer specifies the pattern of exchanging data between channels that are used during service communication.
There are two types of channels used in WCF.
- Transport layer:- HTTP,Named pipes,TCP and MSMQ are used in transport layer.
- Protocol :- WS-Security and WS-Reliability are protocols that used in WCF Applications.
There are some functionality of protocols which are used in messaging layer in WCF.
- Ws-Security Channel:- It enables .to secure the message by implementing the ws-security specification in the messaging layer of a service.
- Ws-Reliable Messaging Channel:- This protocols gives guarantee to deliver the message over channels.
- Encodes:- It provides the number of encodes for message.
- HTTP Channel:- It specifies that HTTP is used for delivering a message.
- TCP Channel:- It specifies that TCP is used for delivering the message.
- Transaction flow Channel:- It define the pattern in which a message is transacted.
- Named Pipe Channel:- It enables inter-process communication (IPC).
- MSMQ Channel:- It enables services to inter-operate the MSMQ Applications.
The activation and hosting layer renders various options for the services in which they can be activated as well as hosted. we can host asp.net application services in two ways.
- Self hosting (ex. window application,window service,console application.)
- External server hosting (ex. IIS ,WAS)
The activation and hosting option provide by following layers.
- Window Activation Service (WAS):-It enables WCF Application automatically activate when deployed on a computer that is running WAS.
- Window Services:- It enables you to run WCF Service as windows services.
- .EXE:- It enables you to run the WCF Services as executable files(.exe).
- COM+:- It enables to run WCF Services as a COM+ application.
There are some features of WCF in .NET.
- End point support
- Enhanced transport layer
- Queuing support
- Improved security
- Improved transaction process
- Support for hosting WCF Service on various servers.
- Ajax integration and java script object notation(JSON Support)
0 comments:
Post a Comment