WCF Interview Question and Answers
21. |
What are the different modes of communication in WCF? |
|
- One - way
- Request - Reply
- Callback
|
|
|
22. |
What is meant by throttling in WCF? |
|
WCF throttling provides you with some properties that help you to limit the number of instances and sessions that you can create at application level. |
|
|
23. |
What are the types of Data contracts in WCF? |
|
There are two types of Data contracts are
- Data contract - Attribute used to define the class.
- Data member - Attribute used to define the properties.
|
|
|
24. |
What are different isolation levels provided in WCF?? |
|
The different isolation levels:
- READ UNCOMMITTED
- READ COMMITTED
- REPEATABLE READ
- SERIALIZABLE
|
|
|
25. |
What are the various ways of hosting a WCF service? |
|
There are three major ways to host a WCF service
- Self hosting the service in his own application domain. The service comes in to existence when you create the object of ServiceHost class and the service closes when you call the Close of the ServiceHost class.
-
Host in application domain or process provided by IIS Server.
-
Host in Application domain and process provided by WAS(Windows Activation Service) Server.
|
|
|