Category Archives: WCF

C# and WCF interview question:- What is the difference between Remoting,Web services and WCF services ?

I have lost count of how many times this has been asked in WCF interviews. So the first thing is WCF is a combination of Web service + remoting + MSMQ + COM plus. The above question is taken from … Continue reading

Posted in .NET and C# training, .Net Interview Questions, ASP.NET, C# interview questions, Csharp interview questions, programming interview questions, Remoting, WCF, WCF services, Web services | Tagged , , , , , , , , | Leave a comment

WCF Interview questions:- Binding used for WCF REST .

This is one of the asked WCF interview questions during the interview. So one proceed answer as the following: – For WCF REST we need to use WebHttpBinding. WebhttpBinding is enabled by as shown in the below code snippet. <endpointBehaviors> … Continue reading

Posted in .NET and C# interview questions and answers, .NET and C# training, .NET exception handing interview questions and answers, .Net Interview Questions, .NET interview questions and answers, Binding, Csharp interview questions, programming interview questions, WCF, WCF interview questions and answers, WCF REST | Tagged , , , , , , , , , | Leave a comment

WCF interview questions – Explain 3 ways of implementing WCF(Windows Communication Foundation) concurrency?

Answer: Three ways by which you can handle concurrency in WCF is Single, multiple and reentrant. To specify WCF concurrency we need to use the ‘ServiceBehavior’ tag as shown below with appropriate ‘ConCurrencyMode’ property value. Figure: Single: – A single … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, .Net Interview Questions, concurrency, Csharp interview questions, programming interview questions, WCF, WCF interview questions and answers | Tagged , , , , , , | Leave a comment

WCF interview questions :- What is one way contract in WCF services?

WCF one way contract ensures that the WCF client does not go in a blocking mode. If your WCF operation contracts are returning nothing and they are doing some heavy process you would like to use WCF one way contract. … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, Csharp interview questions, programming interview questions, WCF, WCF interview questions, WCF services | Tagged , , , , , | Leave a comment

WCF Interview Question – How do we do security in WCF?

Answer:  In WCF there are two types of Security, transport level security and message level security. Transport Security: Transport level security happens at the channel level. Transport level security is the easiest to implement as it happens at the communication … Continue reading

Posted in .net, .NET and C# interview questions and answers, .NET and C# training, Csharp interview questions, programming interview questions, security, WCF | Tagged , , , , , , | Leave a comment

WCF Interview Question -Differentiate between Basic httpbinding and WShttpbinding?

Answer: Basic Httpbinding:In httpbinding Data is sent as a plain text.In other words,there is no security provided for the message when the client calls happen. This is aimed for clients who do not have .NET 3.0 installed and it supports … Continue reading

Posted in .NET and C# training, .Net Interview Questions, Csharp interview questions, httpbinding, programming interview questions, WCF, WShttpbinding | Tagged , , , , , , | 1 Comment

WCF Interview Question – What is WCF?

Answer: WCF is a unification technology, which unites the following technologies:- 1. NET remoting 2. MSMQ 3. Web services 4. COM+. Below figure depicts WCF fundamentals pictorially. Regards, Please click here to see more WCF interview questions

Posted in .NET and C# training, .Net Interview Questions, C# interview questions, Csharp interview questions, programming interview questions, WCF, WCF interview questions | Tagged , , , , , | Leave a comment

WCF Interview Question – What are Service Contract,Operation Contract and Data Contract?

Answer:  Service Contract:-Service Contract is used to define the service name. Operation Contract:-Operation contract defines the methods in the services. Data Contract:-Data contract defines custom data types in the services. Please click here to see more WCF interview questions Regards, Visit … Continue reading

Posted in .NET and C# training, .Net Interview Questions, C# interview questions, Csharp interview questions, programming interview questions, WCF, WCF interview questions | Tagged , , , , , , | Leave a comment

WCF Interview Question – How to achieve Self-Hosting in WCF?

Answer:  The following steps are followed to do Self-hosting. Step1:    //Create a URI to serve as the base address // Address as well binding Uri httpUrl = new Uri(“http://localhost:8010/MyService/HelloWorld&#8221;); Step2: //Create ServiceHost ServiceHost host = new ServiceHost(typeof(ClassLibrary1.HelloWorldService),httpUrl); Step3: //Add a … Continue reading

Posted in .NET and C# training, .Net Interview Questions, C# interview questions, Csharp interview questions, How to achieve Self-Hosting in WCF, programming interview questions, WCF, WCF interview questions | Tagged , , , , , , , | Leave a comment

25 important WCF interview questions

25 important WCF interview questions This section will cover the most asked questions on WCF interview. So have a look on the following and do revise it when ever you go for the WCF interview Normally WCF interviewer starts with…. … Continue reading

Posted in .NET and C# interview questions and answers, .NET and C# training, .Net Interview Questions, Binding, Contracts, Csharp interview questions, programming interview questions, WCF, WCF interview questions, WCF training | Tagged , , , , , | Leave a comment