WCF Service using Visual Web Developer 2008 Express Edition (Beta 2)
Template is great and fun. Visual Web Developer comes with a new template, WCFService. This template will generate few files for the project. Those files that attract my attention are IService.cs, Service.cs and Service.svc.
After creating the WCFService then start a new session of Visual Web Developer and create an ASP.NET Web Site. Add the WCF Service in the web site by clicking the Website on the pull down menu then choose Add Service Reference…
Type in the address for the service in address textbox, http://localhost/webwcf/service.svc is the default, then click Go. Then the developers should be able to instantiate the service like:
ServiceReference.ServiceClient svc = new ServiceReference.ServiceClient();
It is simple to create and use. Nevertheless, I have a question that still finding the answer. The question is, what are the advantages of using WCFService over Web Service? Comment is very much welcome.
Download Visual Web Developer 2008 Express Edition (Beta 2) here: http://msdn2.microsoft.com/en-us/express/default.aspx