Create a WCF project and host it in IIS without using a .svc file

Is it possible to create a WCF project and host it in IIS without using a .svc file? Yes, indeed. It can be done using Microsoft's great feature which is available since .net version 4.0 [More]

WCF related statements for evaluating True / False

In this post, there are some basic WCF related statements for checking whether they are true or false. Its for a practice purpose. Well what is your score? [More]

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]

Free Seminar on Learning WCF and Entity Framework on 3-August-2013

C#Corner is a great Learning hub and providing a great facility to learners with help of events ( online/Live-meetings and In-person). Thanks to Mahesh Chand sir and C#Corner team for this initiative. After successfully organizing an in-person Chapter Meet in Chandigarh, we are going to organize our... [More]

Prevent anonymous access to hosted WCF service

We can stop non authorized users access to our hosted WCF services by applying some sort of techniques. WCF doesn't provide us any direct On and Off mechanism for valid and invalid access. [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 serv... [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]