Welcome Guest
Tanvtech logo
Tanvtech logo
 

My First WCF client application using Linq and ASP.net 3.5



Here are the steps i will follow to create my first WCF client application

Step 1:I will add a new Project and call it WcfClientpplication as show below

Step2:A new project is added to the existing application user can create a separate project

Step3: Add service reference to the new project that is created


Step 4:Press the discover button and all the web reference select the one you want to use i selected StudentInfoService, i name it as StudentInfoServiceReference

Step 5:New reference will added to the Service Reference folder

Step 6:Now add a GridView to your application page

Step 7:Add the following code to your page load event and you are good to go

Step 8:Run your application and you will see data in the GridView as show below.

 
© Tanvtech. All Rights Reserved.