WCF service access permission to a role specific user group

WCF provides us the Role Based Authentication mechanism that can be used for setting service access permission for a specific group. To make it work, we need to do some settings in web.config file as well we need to decorate our those services on which we want to implement this access security. [More]

WCF Service Throttling Behaviour

WCF provide us a good way of extensibility to customize various WCF capabilities. We can customize Encoding message, Intercepting parameters etc. and extend the behaviour. Throttling behaviour of service plays an important role and can be set behaviour properties according to our business needs. Three important properties for optimizing our WCF service behaviour are - MaxConcurrentCalls, MaxInstances and MaxConnections [More]

Organized and presented at C# Corner Chandigarh Chapter meet on 03-August-2013

Being a Chapter Lead, I organized this event with help of executive members on technology discussion so named it “Technology Day”. We did this meeting on 3rd August at Unit Nexus Corporation, Zirakpur with help from SSS & Educational Society, Gorakhpur. [More]

Interview Questions based on practical understanding

It is a general practice to ask practical oriented questions that help interviewer to understand the ability of candidates. These practical oriented questions can be answered easily on the base of experience.
Can we create a View on a table which is not exist in database ? (in MS SQL)
When will you use View and when Stored Procedure?
Can we disclose only 10 WCF functions out of 15 to a particular customer or user ? (in WCF)
Suppose we want to charge customer based on no of calls made to our WCF function, so is it possible to do so in WCF? [More]

Understanding WCF basics

WCF services writing and consuming related basic points are as in short -  Service : A service is a unit of functionality, available to the world on some contract or deal. Client : A Client is nothing but a service consuming party. It uses the required protocols to consume/use the exposed s... [More]

HCL Interview questions on WCF

These questions are from a walk-in of HCL Noida. (1) For what purpose WCF is used in your current project? (2) What is binding in WCF? (3) How many bindings are there? Have you ever used netMsmqBinding or netNamedPipeBinding? (4) If my hosted service is chargeable and I want to track the record that who has called/ accessed my service how many time, how can I do it? (5) I want to restrict the concurrent access of my service to limited users, how can I do that? Where this setting is done? (6) How session management is done in WCF? (7) How WCF service is secured? [More]