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?

Answers


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

Prevent DIV container from getting under floated menu

html css position

I have a DIV which will contain the content for a website of mine. On the left side there is a menu which has its position set to float. When I re-size my browser the container gets under the box a...