This article is a Part 3 of the Interview Questions series.
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?
- 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?
- 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