How can I add a 'test service' page to a WCF Webservice in VB.Net

I am building a Web service using WCF as a way to provide access to data within my VB.Net application.

When building web services hosted on IIS, there is a helpful test page as part of the service that allows the webservice to be invoked with parameters there and then. It's very helpful for testing.

Is there a way to configure a WCF hosted web service to provide the same sort of test interface, rather than the fairly unhelpul 'use svcutil' response?


I am afraid you have to build web pages form e.g. aspx to call the service and display the result, WCF service no more generates the UI for you anymore.

Just fyi, you can also use, the WcfTestClient located at:

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\WcfTestClient.exe

which provides a lot of the functionality you are looking for

Need Your Help

“No default endpoint found” when starting WCF client

c# wpf wcf windows-services

I have a Windows Service which represents the WCF-Host and a WPF-Client-Application wich represents the WCF-Client.

Can variable of nested static class be garbage collected?

java static garbage-collection

In Java, having a nested static class Human, I'm wondering if after cleanup of the map variable can make it available for garbage collected. At the moment just before doSomeCode() I called System.g...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.