Home > ASP.NET > How to invoke a WCF service without adding a service reference.



How to invoke a WCF service without adding a service reference.

In this article, we will explore how to invoke a WCF service without adding a service reference, with an example and sample code.


In this article, we will explore how to invoke a WCF service without adding a service reference, with an example and sample code. In this example, we have taken a sample data for employees and also used JavaScriptSerializer to serialize and deserialize the data.

 

Create Project

Go to new project and select WCF service as per below screen .

Create Sample Wcf Service in ASP.NET

 

EmployeeService

 

IEmployeeService

 

HTML

 

C#

 

Screenshot

Create Sample Wcf Service in ASP.NET

 

Download




Note: All contents are copyright of their authors.



Comments



Leave a Reply

Comment:*
Email ID:*


Name:*