« August 2007 | Main | November 2007 »

October 2007 Archives

October 11, 2007

WCF Service using Visual Web Developer 2008 Express Edition (Beta 2)

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

About October 2007

This page contains all entries posted to Ming Man Chan's Blog in October 2007. They are listed from oldest to newest.

August 2007 is the previous archive.

November 2007 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle