Here is the code…
This is my first post for WCF HOL. I will be posting series of Lab Sessions with code and explanations for the whole series. I have noticed in one UG Session people who don’t have any WCF backround but who are familiars of ASP.NET/.NET for them this series will be useful as a tutorial with practical.
Step by step I will be covering all the possible aspects of WCF. Same time I will be covering the SOA / Service based real life application scope especially for Connected and Distributed systems.
Please note that in the sample application every where I have used abu – which is my machine name, now for your case this will be your machine name
In Service Code
Uri svcBaseAddress = new Uri(http://abu:8080/WCFKolkataNET/HOL); // Change “abu” by your machine name
In Client Code
EndpointAddress endPointAddr = new EndpointAddress(http://abu:8080/WCFKolkataNET/HOL/MyService); // Change “abu” by your machine name