Академический Документы
Профессиональный Документы
Культура Документы
http://msdn.microsoft.com/en-us/library/ff648753.aspx
design patterns
http://www.dotnetfunda.com/articles/article130.aspx#Canyouexplainsingletonpatter
n
threading sync
http://weblogs.asp.net/ricardoperes/archive/2009/09/10/thread-synchronization-in
-net.aspx
http://weblogs.asp.net/ricardoperes/archive/2009/09/10/multi-threading-in-net.as
px
WCF http://www.dotnetfunda.com/interview/showcatquestion.aspx?start=48&page=5&ca
tegory=74
wcf
multithreadging
click once
1. wsHttpBinding
2. wsDualHttpBinding
3. wsFederationHttpBinding
4. netTcpBinding
ABC is the three building blocks of WCF and they are known as
A - Address (Where): Address tells us where to find the services, like url
B - Bindings (How) : Bindings tells us how to find the services or using which p
rotocols finds the services (SOAP, HTTP, TCT etc.)
C - Contacts (What): Contracts are an agreement between the consumer and the ser
vice providers that explains what parameters the service expects and what return
values it gives.
Hope this will be very helpful to understand three building blocks of WCF, a ver
y frequently asked interview questions.
Serializers
DataContractSerializer translate the .NET framework objects into XML and vice-ve
rsa.
By default overload operations (methods) are not supported in WSDL based operati
on. However by using Name property of OperationContract attribute, we can deal w
ith operation overloading scenario.
[ServiceContract]
interface ICalculator
{
[OperationContract(Name = "AddInt")]
int Add(int arg1,int arg2);
[OperationContract(Name = "AddDouble")]
double Add(double arg1,double arg2);
}
IPC binding
Offered by the NetNamedPipeBinding class, this uses named pipes as a transport f
or same-machine communication. It is the most secure binding since it cannot acc
ept calls from outside the machine and it supports a variety of features similar
to the TCP binding.
Web Service (WS) binding
Offered by the WSHttpBinding class, this uses HTTP or HTTPS for transport, and i
s designed to offer a variety of features such as reliability, transactions, and
security over the Internet.
Federated WS binding
Offered by the WSFederationHttpBinding class, this is a specialization of the WS
binding, offering support for federated security.
Duplex WS binding
Offered by the WSDualHttpBinding class, this is similar to the WS binding except
it also supports bidirectional communication from the service to the client.
MSMQ binding
Offered by the NetMsmqBinding class, this uses MSMQ for transport and is designe
d to offer support for disconnected queued calls.