Posts

Showing posts from August, 2012

Simple program using WCF _example

Image
                Here we are discussing about how to write a small program using wcf service.   For this we are going to write a small program.   In that we are creating an application which will return ‘SUM’ as the result   and it using the wcf web service to get the added result .   In the above webpage we can enter the two values and when clicking on the button it will return the result . We can read the two values by Now we have to add a new wcf project to calculate the sum . we can use the wcf to read data from the databases also .   Now we have to select the wcf service  write the  method  that you want , in the interface file . Implement those method in the svc file . Write the operations that you need to do .  we have to select the url of the service  from the address bar , so we have to see the ser...

Simple program using WCF _example

Image
                Here we are discussing about how to write a small program using wcf service.   For this we are going to write a small program.   In that we are creating an application which will return ‘SUM’ as the result   and it using the wcf web service to get the added result .   In the above webpage we can enter the two values and when clicking on the button it will return the result . We can read the two values by Now we have to add a new wcf project to calculate the sum . we can use the wcf to read data from the databases also .   Now we have to select the wcf service  write the  method  that you want , in the interface file . Implement those method in the svc file . Write the operations that you need to do .  we have to select the url of the service  from the address bar , so we have to see the s...