Showing posts with label wcf interview. Show all posts
Showing posts with label wcf interview. Show all posts

Windows Communication Foundation Means

What is WCF?
WCF stands for Windows Communication Foundation (WCF) and is considered as the Microsoft Service-Oriented Architecture (SOA) platform for building distributed and interoperable applications. WCF unifies ASMX, Remoting, and Enterprise Services stacks and provides a single programming model. WCF services are interoperable and supports all the core Web services standards. WCF services also provide extension points to quickly adapt to new protocols and updates and integrates very easily with the earlier microsoft technologies like Enterprise Services, COM and MSMQ.

What is WSDL?

What is the role of WSDL in WCF?
WSDL stands for Web Service Description Language. The WCF service exposes the WSDL document for the clients, to generate proxies and the configuration file. The WSDL file provides the following information for the consumers of the WCF service.
1. Provides the information about the service contract and operations available.
2. Provides the information about all the end points exposed by the WCF service.
3. Provides the information about the messages and types that can be exchanged between the client and the WCF service.
4. WSDL also provides any information about the policies used.

3 things WCF Services must have

What are the 3 things that a WCF Services end point must have?
Address - The address where the WCF Service is hosted.
Binding - The binding that decides the protocol, message encoding and security to use. Binding also decides whether to use reliable messaging and transaction support.
Contract - The service contract defines what service operations are available to the client for consumption.
So the Address(A), Binding(B) and Contract(C) are called as the ABC of the service end point.

WCF Interview Questions

WCF Interview Questions
1.What is WCF?
2.How to enable streaming?
3.What types of the operation contract parameters could be streamed?
4.Do we have to change the maxReceivedMessageSize parameter to use streaming?
5.What types of the quota have the WCF transports?
6.What is it the Teredo? How we can use it?
7.What is it the Net.TCP Port Sharing? How we can use it?
8.What are the important principles of SOA (Service oriented Architecture)?
9.What are end points, contract, address and bindings?
10.What are bindings?
11.Which are the various programming approaches for WCF?
12.What is one way operation?
13.Can you explain duplex contracts in WCF?
14.How can we host a service on two different protocols on a single server?
15.How can we use MSMQ bindings in WCF?
16.Can you explain transactions in WCF?
17.Can we use the two-way service operations with queued binding?
18.Could the ExactlyOnce property of the netMsmqBinding be true if the queue is not transactional?
19.When is the MsmqIntegrationBinding or the NetMsmqBinding used?
20.Is there an error in the Msmq address the "net.msmq://MyHost/private$/MyQueue"?
21.Can we use the public queues without the Windows domain? If cannot then why?
22.Which specifications does WCF follow?
23.What are the main components of WCF?
24.Can you explain how End points, Contract, Address and Bindings are done in WCF?
25.What is a service class?
26.What is a service contract, operation contract and Data Contract?
27.What are the various ways of hosting a WCF service?
28.What are the major differences between services and Web services?
29.What is the difference WCF and Web services?
30.What are different bindings supported by WCF?
31.What different transaction isolation levels provided in WCF?
32.Can we do transactions using MSMQ?
33.Can we have two way communications in MSMQ?
34.What are Volatile queues?
35.What are Dead letter queues?
36.What is a poison message?
37.How can we access XAML objects in behind code?
38.What are the kind of documents are supported in WPF?
39.Windows workflow foundation(Vista series)
40.What is Windows Workflow Foundation?
41.WPF Interview questions What is WPF?
42.What is XAML?
43.What are dependency properties?
44.Are XAML file compiled or built on runtime?
45.Can you explain how we can separate code and XAML?