FeedBack Form

Your Name :
Your Email :
Your Location :
Your Message :
   
FeedBack

WCF INTERVIEW QUESTION & ANSWERS

11. What are the core security features that WCF addresses?
 
  • Confidentiality
  • Integrity
  • Authentication
  • Authorization
  Posted by Gaurav Rastogi. (Mar 03, 2014)
 

Core security features in WCF service is
1) Transport level security
2) Message Level security
3) Authentication
4) Authorization.

Your Name Your Email-ID
Your Answer
 
12. What is SOA?
  SOA is a collection of well defined services, where each individual service can be modified independently of other services to help respond to the ever evolving market conditions of a business.
  Posted by Siva. (Jun 17, 2014)
 

SOA or Service oriented architecture is an architecture style for building business applications by means of services. Application comprises collection of services which communicate through messages.

  Posted by Gaurav Rastogi. (Mar 03, 2014)
  Posted by Gaurav Rastogi. (Mar 03, 2014)
 

SOA stands for service oriented architecture Principle of SOA
1) Loosely coupled : our client application and WCF service should be loosely coupled.suppose client send the request but the service is down but in that case also our client should work does not throw the exception.
2) Contracts & versioning in WCF service : In our WCF service we can implement the contracts that can be implemented to the implemneted class so with the help of contract we can publish the operation to the client rather than the complete implementation. We are also having the flexibility of versioning in service contract.
3)Security: The message which travel from client to service and service to client should be encrypted and digitally signed.
4) Boundaries are explicit : It means that we should call our service only when it is required the unnecessary call to the service should be avoided.

Your Name Your Email-ID
Your Answer
 
13. What is the difference between transport level and message level 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.
  • Message level security is implemented with message data itself.
Your Name Your Email-ID
Your Answer
 
14. What is service and client in perspective of data communication?
 
  • A service is a unit of functionality exposed to the world.
  • The client of a service is merely the party consuming the service.
  Posted by Gaurav Rastogi. (Mar 03, 2014)
 

Service: WCF service is that thing which is exposed to the world. WCF service is used by the different different application.

CLient: Client are those who consume the service.send the request message to the service.

Your Name Your Email-ID
Your Answer
 
15. What is bindings?
  A binding defines how an endpoint communicates to the world. A binding defines the transport (such as HTTP or TCP) and the encoding being used (such as text or binary). A binding can contain binding elements that specify details like the security mechanisms used to secure messages, or the message pattern used by an endpoint.
  Posted by Gaurav Rastogi. (Mar 03, 2014)
 

Bindings tell us about the transport mechanism used by the service if we make a use of WSHttpBinding it make a use of the http protocol , for netTCPbinding it make a use of the TCP protocol. Binding also gives us the information about the encoding mode used by the service.If we make a use of wsHttpBinding the encoding format used here is TEXT and in netTCPbinding the encoding mode used is binary. Binding also gives us the information weather the reliable session can be implemented with these binding or not .If we make a use of wsHttpBinding we can implement the reliable session .But in basicHTTPBinding we can not implement the reliable session. Binding also tell us that the transaction can be applied with these binding or not.

Your Name Your Email-ID
Your Answer