InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
How can we handle Multiple endpoints for WCF Service? |
|
Answer» How can we handle MULTIPLE endpoints for WCF SERVICE? |
|
| 2. |
Can you define what are the standard Endpoints? |
|
Answer» Can you define what are the standard Endpoints? |
|
| 3. |
Difference between Exception handling of WCF and WebService |
|
Answer» DIFFERENCE between Exception handling of WCF and WebService All the Unhandled EXCEPTIONS in Web services are RETURNED to the CLIENT as SOAP faults. But in WCF Services unhandled exceptions are not returned to CLIENTS as SOAP faults. We need to do a configuration setting for the unhandled exceptions to return to clients for debugging. |
|
| 4. |
Types of security avail in WCF |
|
Answer» WCF have two types of SECURITY thats are as Below:- (1)Transport Security (2)Message Security (1)Transport Security: Transport level security happens at the channel level.Transport level security is the easiest to implement as it happens at the communication level. WCF uses transport protocols like TCP, HTTP, MSMQ ETC and every of these protocols have their own security mechanisms. One of the common implementation of transport level security is HTTPS. HTTPS is implemented over HTTP protocols with SSL providing the security mechanism. No coding change is required it s more of using the existing security mechanism provided by the protocol. (2)Message Security: Message level security is implemented with message DATA itself. Due to this it is independent of the protocol. Some of the common ways of implementing message level security is by encrypting data using some standard encryption algorithm. |
|
| 5. |
What are the advantage of WCF |
|
Answer» (1)WCF is INTEROPERABLE with other services as compared to .NET Remoting where client and service both have .net |
|
| 6. |
What are the duplex contracts in WCF |
|
Answer» What are the duplex contracts in WCF |
|
| 7. |
Difference between WCF vs Web API |
|
Answer» Difference between WCF vs Web API |
|
| 8. |
what is WCF and its purpose |
|
Answer» Windows Communication Foundation (WCF) is a FRAMEWORK that's help to build service oriented applications or we can say WCF is a programming platform and runtime SYSTEM for build, configure and deploy network-distributed SERVICES. It is the latest service oriented TECHNOLOGY comes with .Net Framework 3.0 or latest version.WCF is a combined features of Web Service, Remoting, MSMQ and COM+. WCF provides a common platform for all .NET communication. WCF manily USED to transfer asynchronous messages from one service endpoint to another.SOAP is used by default, but the messages can be in any format, and conveyed by using any transport protocol and the messages can be as simple as a single character or we can also sent as XML, or as complex as a stream of binary data. WCF can automatically create metadata to explain applications built using the technology in WSDL, and it also provides a tool for generating clients for those applications from the WSDL. WCF Helps IN:- (1)Its provide a secure service to do business transactions. (2)Its helps in communication or exchange data in real time. (3)Its helps in chat services which allow communication. (4)Its helps in logical presentation or visualization of data. (5) Its helps Silverlight application to poll a service for the latest data feeds. (6)Its help Windows Workflow Foundation as a WCF service |
|
| 9. |
Name some standard bindings available in WCF |
|
Answer» Below are the some LIST of BINDING AVAILABLE in WCF:- |
|
| 10. |
What is endpoint in WCF service |
|
Answer» The ENDPOINT is an Interface which defines how a client will communicate with the service. It CONSISTS of three MAIN points: ADDRESS,Binding and Contract. |
|
| 11. |
Transfer Security Mode in WCF |
|
Answer» Transfer Security Mode in WCF |
|
| 12. |
Difference between asp.net and wcf session |
|
Answer» Difference between asp.net and WCF session |
|
| 13. |
Different isolation levels provided in WCF? |
|
Answer» Different isolation levels provided in WCF? |
|
| 14. |
Code to define multiple endpoints for a WCF service? |
|
Answer» Code to DEFINE multiple endpoints for a WCF service? |
|
| 15. |
Difference between ASP.NET vs WCF |
|
Answer» Difference between ASP.NET vs WCF |
|
| 16. |
Multiple host with there Protocol Support with WCF |
|
Answer» Below table shows all the different multiple host available in wcf and with there PROTOCOL details |
|
| 17. |
What do you mean by WCF and WPF and WWF |
|
Answer» What do you mean by WCF and WPF and WWF |
|
| 18. |
Advantage of WCF |
|
Answer» (1)WCF services is more reliabe and secure as compared to ASMX web services. |
|
| 19. |
What are the main components of WCF |
|
Answer» Below are the some of MAIN COMPONENTS of wcf and some little information about that are given Below : - |
|
| 20. |
something about WCF |
|
Answer» WCF stands for Windows Communication Foundation is a framework for distributed programming. The WCF is designed provides manageable approach for distributed computing, broad interoperability, and direct support for SOA. It contains serialization facilities that enable loose coupling and versioning. |
|