Sunday, May 30, 2010

Advantage and disadvantage of LINQ?

Advantage and disadvantage of LINQ?
Adv.
Allow the developers to query data without having to write data store specific code.
It helps in Memory Collection query easily.
DisAdv.:
One disadvantage I see is that it adds another layer of code, and my understanding is that it has slower performance than using stored procedures and ADO.Net. It also seems that debugging could be a challenge, especially for more complex queries, and that these might end up being moved to a stored proc anyway.

Sunday, May 23, 2010

What is three major points in WCF?

What is three major points in WCF?
We Should remember ABC.
Address --- Specifies the location of the service which will be like http://Myserver/MyService.Clients will use this location to communicate with our service.

Binding --- Specifies how the two paries will communicate in term of transport and encoding and protocols

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

Saturday, May 22, 2010

What are the main components of WCF?

What are the main components of WCF?
The main components of WCF are
1. Service class
2. Hosting environment
3. End point

Sunday, May 9, 2010

What is the difference between WCF and ASMX Web services?

What is the difference between WCF and ASMX Web services?
Historically, various technologies such as ASMX Web services and .NET Remoting have been available to provide communication between applications. Microsoft's WCF makes development of distributed SOA applications more intuitive and allows the developer to implement all of these technologies with a single development framework. Also, WCF makes incorporation of distributed transactions and message queues easier.