Home
|
Tutorial
|
Articles
|
Forum
|
Interview Question
|
Code Snippets
|
News
|
Fun Zone
|
Poll
|
Web Links
|
Certification
|
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
Jean Paul
satyapriyanayak
Narayanan
Karthikeyan Anbarasan
JQuery Developer
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Post New Question
Subscribe to Interview Questions
Quick Links For Interview Questions Categories:
ASP.Net
Windows Application
.NET Framework
C#
VB.Net
ADO.Net
Sql Server
SharePoint
Silverlight
OOPs
JQuery
JavaScript/VBScript
Biztalk
Patten/Practices
IIS
WCF
WPF
WWF
Networking
Aptitude
Others
All
WCF Interview Questions and Answers
Which standard binding could be used for a service that was designed to replace an existing ASMX web service?
Author:
Baimey Rajesh
Posted Date: December 05, 2012 Category:
WCF
Points: 40
The basicHttpBinding standard binding is designed to expose a service as if it is an ASMX/ASP.NET web service. This will enable us to support existing clients as applications are upgrade to WCF.
What is three major points in WCF?
Author:
Baimey Rajesh
Posted Date: August 23, 2012 Category:
WCF
Points: 40
A B C
1) Address ââ¬â Specifies the location of the service
2) Contract ââ¬â Specifies the interface between client and the server.
3) Binding ââ¬â Specifies how the two paries will communicate in term of transport and encoding and protocols
How to set the timeout property for the WCF Service client call?
Author:
Sasi Prabhu
Posted Date: November 30, 2011 Category:
WCF
Points: 40
The timeout property can be set for the WCF Service client call using binding tag. If no timeout has been specified, the default is considered as 1 minute.
What is the main disadvantage of using IIS to host a service?
Author:
Sasi Prabhu
Posted Date: November 30, 2011 Category:
WCF
Points: 40
Using IIS to host your services means that you will not be able to support non-HTTP protocols such as TCP, named pipes, and MSMQ. You will have access to the many built-in features available with IIS such as process recycling and messagebased activation.
What does the "ABCs of endpoints" refer to?
Author:
Sasi Prabhu
Posted Date: November 30, 2011 Category:
WCF
Points: 40
The ABCs of endpoints refers to the three required elements that comprise a service endpoint: address, binding, and contract.
Where we can host WCF services?
Author:
Sasi Prabhu
Posted Date: November 30, 2011 Category:
WCF
Points: 40
Every WCF services must be hosted somewhere. There are three ways of hosting WCF services.
They are
1. IIS
2. Self Hosting
3. WAS (Windows Activation Service)
For more details see http://msdn.microsoft.com/en-us/library/bb332338.aspx
What is endpoint in WCF?
Author:
Sasi Prabhu
Posted Date: November 30, 2011 Category:
WCF
Points: 40
Every service must have Address that defines where the service resides, Contract that defines what the service does and a Binding that defines how to communicate with the service. In WCF the relationship between Address, Contract and Binding is called Endpoint.
The Endpoint is the fusion of Address, Contract and Binding.
Message reliability
Author:
Sasi Prabhu
Posted Date: November 30, 2011 Category:
WCF
Points: 40
Message reliability deals with reliability at the message level independent of how many packets are required to deliver the message. Message reliability provides for end-to-end guaranteed delivery and order of messages, regardless of how many intermediaries are involved, and how many network hops are required to deliver the message from the client to the service.
Transport reliability
Author:
Sasi Prabhu
Posted Date: November 30, 2011 Category:
WCF
Points: 40
Transport reliability (such as the one offered by TCP) offers point-to-point guaranteed delivery at the network packet level, as well as guarantees the order of the packets. Transport reliability is not resilient to dropping network connections and a variety of other communication problems.
How to set the timeout property for the WCF Service client call?
Author:
Sasi Prabhu
Posted Date: November 30, 2011 Category:
WCF
Points: 40
The timeout property can be set for the WCF Service client call using binding tag.
<client>
<endpoint
binding = "wsHttpBinding"
bindingConfiguration = "LongTimeout"
/>
</client>
<bindings>
<wsHttpBinding>
<binding name = "LongTimeout" sendTimeout = "00:04:00"/>
</wsHttpBinding>
</bindings>
If no timeout has been specified, the default is considered as 1 minute.
« Previous
1
2
3
4
5
Next »
Hall of Fame
Twitter
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend