WCF throttling

WCF throttling gives us the possibility to specify and configure how many instances or sessions are created at the application level . Using ServiceThrottling behavior, you can fine-tune the performance of your Windows Communication Foundation (WCF) application.

Read More
Posted By : Bipul Kumar Tiwari, 4/21/2016 1:51:40 PM
Updated On : 4/21/2016 1:51:40 PM

The ABC of Windows Communication Foundation

"ABC" is the key to understanding how a WCF service endpoint is composed. It is the three building block of WCF, they are known as

"A" (Address) : Where is the service? (define location of your service)

"B" (Binding) : How do I talk to the service? (how can you services access.)

"C" (Contract) : What can the service do for me?(specific interface between the client or the server.)

Read More
Posted By : Bipul Kumar Tiwari, 3/11/2016 10:57:34 AM
Updated On : 3/11/2016 10:57:34 AM

Sessions, Instancing and Concurrency in WCF

WCF : WCF session means to combine several message together into a single conversation. WCF session are set by “SessionMode” Attributes.

Managing Concurrency:Concurrency refers to the number of threads executing at the same time in a service instance. You can control concurrency by setting the ConcurrencyMode property of the ServiceBehavior attribute. There are three possible values for this property:

Read More
Posted By : Bipul Kumar Tiwari, 3/11/2016 10:57:34 AM
Updated On : 3/11/2016 10:57:34 AM

Instance management in WCF

Instance management is the technique where WCF client make a requests to a WCF object and WCF service instance serves the request and sends the response to the WCF client.

There are three possible ways by which you can control WCF service instances:

Read More
Posted By : Bipul Kumar Tiwari, 3/11/2016 10:57:34 AM
Updated On : 3/11/2016 10:57:34 AM

Difference between XMLSerializer and the DataContractserializer.

DataContractSerializer :DataContractSerializer uses the Opt-In approach. This approach serializes properties as well as fields.

XmlSerializer : XmlSerializer used Opt-out approach. It means we have to explicitly specify which properties you don't want to serialize

Read More
Posted By : Bipul Kumar Tiwari, 3/11/2016 10:57:34 AM
Updated On : 3/11/2016 10:57:34 AM

Difference between WCF and Web API and WCF REST and Web Service

WCF: WCF support multiple transport protocols (HTTP, HTTPS, Name Pipes, MSMQ, TCP, UDP, and custom transports) and allows switching between them.

ASP.NET Web API The ASP. NET Web API is a framework that uses the HTTP services and makes it easy to provide the response to the client request.

WEB SERVICE: Web Service is based on SOAP and return data in XML format only.

WCF REST: REST (REpresentational State Transfer) is an architectural style.

Read More
Posted By : Bipul Kumar Tiwari, 3/11/2016 10:57:34 AM
Updated On : 3/11/2016 10:57:34 AM

Browse By Category

Popular Articles