Viva - Service WCF

House No: 726/4(Crystal 2B)
Road No: 10 Baitul Aman Housing Society, Adabor,Mohammadpur, Dhaka, Bangladesh

mid·dle·ware
Software that acts as a bridge between an operating system or database and applications, especially on a network.
http://www.dotnetfunda.com/interviews/cat/73/wcf



WCF



What are the important principles of SOA (Service oriented Architecture)?

What are ends, contract, address, and bindings?

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.


1. Address : Specifies the location of the service which will be like http://Myserver/MyService.Clients will use this location to communicate with our service.

2. Contract : Specifies the interface between client and the server.It's a simple interface with some attribute.

3. Binding : Specifies how the two paries will communicate in term of transport and encoding and protocols.

https://www.youtube.com/watch?v=LFxLPsq6kTI 

https://debugmode.net/2010/06/16/videowcfnetcpinwindowsservice/


http://csharp-video-tutorials.blogspot.com/2014/02/part-27-hosting-wcf-service-in-windows_8.html
installutil -i C:\HelloService\WindowsServiceHost\bin\Debug\WindowsServiceHost.exe

WCF service endpoint consists of 3 things
A - Address (Address where the WCF Service is available)
B - Binding (We will discuss this in more detail in this video)
C - Contract (Specifies what the service can do. For example, the service contract describes which operations the client can perform on the service)



So, what is a binding in a WCF service?
WCF binding defines how the client needs to communicate with the service. The WCF binding that you choose determines the following for the communication between the client and the service.
Transport Protocol (for example, HTTP, TCP, NamedPipe, MSMQ)

Which specifications does WCF follow?
What are the main components of WCF?
Explain how Ends, Contract, Address, and Bindings are done in WCF?
What is a service class?
What is a service contract, operation contract and Data Contract?
What are the various ways of hosting a WCF service?
How do we host a WCF service in IIS?
What are the advantages of hosting WCF Services in IIS as compared to self-hosting?
What are the major differences between services and Web services?
What is the difference WCF and Web services?
What are different bindings supported by WCF?
Which are the various programming approaches for WCF?
What is one-way operation?
Can you explain duplex contracts in WCF?
How can we host a service on two different protocols on a single server?
How can we use MSMQ bindings in WCF?
Can you explain transactions in WCF?
What different transaction isolation levels provided in WCF?
Can we do transactions using MSMQ?

Comments

Popular posts from this blog

Travel RESUME CV

Tablig