WCF: Questions for studying and interview

Additions (2008-06-18):
 
Debugging:
  • What tools are used for the debugging WCF?
  • Is it possible to log the messages on the service side? On the client side? How to switch on the logging?
  • What is a difference between the service messages and transport messages?
  • What is a difference between the SoapUi utility and the VS2008 test functionality used for the Web-service testing?
  • Describe how to use the LoadGen to test WS. What kind of tests?

Configuration files:
  • Enumerate the high level elements of the <system.serviceModel> section.
  • What is the name attribute of the <service> element?
  • What is the contract attribute of the <endpoint> element?
  • What is the difference in the attributes the binging and the bindingConfiguration of the <endpoint> element?
  • What is the difference in the attributes the binging and the bindingName of the <endpoint> element?
  • Are the addresses, the bindings, the contracts unique between services?
  • How are dependent the app.config and the machine.config files?
  • Enumerate the high level of the <bindings> and <binding> element.
Service contracts:
  • Enumerate three message exchange patterns in the WCF model. 
  • If the service operation returns void, what is the message exchange pattern? Is the client waiting the operation to be completed in this case?
  • What is the difference between the request-response pattern and the duplex pattern?
  • Is the server set up a client address or the client sets it up in the duplex communication ? Server uses this address  to sent the data back to the client.
Fault contracts:
  • In what order do we have to catch the exceptions: TimoutException, FaultException, FaultException<MyException>, CommunicationException?
  • You are developing a WS. Do you have to include the error(s)/success nodes into the response or have to use a Fault message to handle the WS  errors? What is the difference in these approuches?
WCF versions:
  • In what version of the .NET was the WCF introduced?
  • What was the main functionality set for the first version of the WCF?
  • What  were  the new WCF things in the next versions of the .NET?
Sessions, Instancing, and Concurrency:
  • Why do we need the sessions?
  • Where session stores the session information? What is the general store for the WCF session?
  • What is it a correlation? What parameters are mandatory for the correlation?
  • Who does initiate the WCF session, service or a client? 
  • What is the order of the delivered messages processed in during the session?
  • How can we create a singleton service?
  • Does the SessionMode.NotAllowed increase the performance?
  • What is it the Terminating and Initiating of the OperationContract? Could be the OperationContract Terminating and Initiating at the same time?
  • How does a client start a session?
Transports:
  • How to enable streaming?
  • What types of the operation contract parameters can be streamed?
  • Do we have to change the maxReceivedMessageSize parameter to use streaming?
  • What types of the quota have the WCF transports?
  • What is it the Teredo? How can we use it?
  • What is it the Net.TCP Port Sharing? How can we use it?
Queues and Reliable Sessions:
  • What types of reliable messaging are implemented in the WCF?
  • What is it the Reliable session?
  • Is the Reliable session asynchronous?
  • Is the Reliable session tied to the transport session?
  • Can the Reliable session be established with the one-way, or the request-reply, or with the duplex, or with all those exchange message patterns?
  • Do the system-provided bindings have the support for the Reliable session and what the binding options are enabled by default?
  • Reliable sessions in Windows Communication Foundation (WCF) use a transfer window. What is it the Transfer window? What does it means for the sender, for the receiver? How is it depend of the latency?
  • What is it the Transmission queue and the Target queue? What is the difference? 
  • What is it the Dead-letter queue and the Poison queue? What is the difference? 
  • Could the two-way service operations be used with queued binding?
  • Could the ExactlyOnce property of the netMsmqBinding be true if the queue is not transactional? 
  • When is the MsmqIntegrationBinding or the NetMsmqBinding used?
  • Is there an error in the Msmq address the "net.msmq://MyHost/private$/MyQueue"?
  • Can we use the public queues without the Windows domain? If cannot then why?
  • Is the MsmqIntegrationBinding used the msmq.formatname scheme or the net.msmq scheme?
Hosting:
  • What hosting functionality is unique for the Vista OS?
  • Do we have to use the relative addresses when hosting in the IIS or the absolute addresses? Why?
  • Could the IIS-hosted WCF service make use of HTTP transport security if the IIS virtual derectory that contains the service does not support it?
Behavior:
  • What kind of behaviors are possible in WCF? 
  • Why the Endpoint behavior cannot be used as an attribute?
  • Why the Contract and the Operation behavior cannot be used in the configuration files?

Print | posted on Monday, January 7, 2008 8:53 AM

Feedback

# Questions for studying and interview

left by Ravi Kiran Malladi at 3/25/2009 4:48 AM Gravatar
Good collection of questions. Also provide answers.

# re: WCF: Questions for studying and interview

left by Leonid Ganeline at 8/19/2009 12:10 PM Gravatar
I would suggest to work with WCF and to read documentation to get answers. Purpose is to get knowledge of the WCF.

# re: WCF: Questions for studying and interview

left by Trushna at 9/30/2009 3:32 AM Gravatar
What is binding and how many types of bindings are there in WCF?

# re: WCF: Questions for studying and interview

left by Padmavathi at 11/18/2009 11:06 PM Gravatar
Good questions.These will cover total concept of Wcf.please provide answers also if possible.

# re: WCF: Questions for studying and interview

left by Emilij at 1/10/2010 7:01 AM Gravatar
Could you please suggest which is a good book to learn WCF

# re: WCF: Questions for studying and interview

left by Navnit Jha at 1/12/2010 10:17 PM Gravatar
Good interview collection question

# re: WCF: Questions for studying and interview

left by Bhaskar at 2/14/2010 3:47 AM Gravatar
Good interview collection question ..please provide answers also if possible

# re: WCF: Questions for studying and interview

left by mahdi at 2/22/2010 9:16 AM Gravatar
•In what order do we have to catch the exceptions: TimoutException, FaultException, FaultException<MyException>, CommunicationException?


how can we monitor run time behavior service and then log the bihavior in a log file?

# re: WCF: Questions for studying and interview

left by Leonid Ganeline at 6/4/2010 2:02 PM Gravatar
Thank you, Combination Boiler!

# re: WCF: Questions for studying and interview

left by Abhay Rawat at 5/10/2011 10:04 AM Gravatar
very usefull article.gud one.
Keep Posting

# re: WCF: Questions for studying and interview

left by Raja at 5/27/2011 5:05 PM Gravatar
Very useful.

There are many very good WCF Interview questions here as well http://www.dotnetfunda.com/interview/ShowCatQuestion.aspx?category=74

Thanks

# re: WCF: Questions for studying and interview

left by Vishal at 9/2/2011 1:59 AM Gravatar
Good interview collection question and i gound some good FAQ in

google.... wcfpandu

# re: WCF: Questions for studying and interview

left by deepak at 5/2/2012 1:07 PM Gravatar
For WCF interview questions and answers http://interview-development.blogspot.in/2011/11/wcf-interview-questions-answers.html is very good:)

# re: WCF: Questions for studying and interview

left by Irene Hynes at 5/18/2018 1:46 AM Gravatar
Hallo,

Such vivid info on the #topic! Flabbergasted! Thank you for making the read a smooth sail!

I want to learn Linux.
I have an idea for an application that I want to be open source.
I fairly technical (Cisco CCNP) and I'm good with tshooting but I don't want to waste hours of my time narrowing down the root cause of some insignificant thing. I would rather pay someone else to give me the answer (I understand Red Hat has technical support I can pay for).
Please keep providing such valuable information.

Shukran,
Irene Hynes
Post A Comment
Title:
Name:
Email:
Comment:
Verification: