Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Web Service Local Testing

It's been a while since I've worked with web services in .NET (back around version 2.0), but I remember you used to be able to visit the services directly and there would e a magic testing form so you could simulate requests. That seems to have gone away. Is there a Web.config value I can use to turn it back on again? Did I dream the whole thing up?

This is a tough one to Google because most of the results are about testing web services. The answer here suggests what I'm talking about might have gone away in the transition from asmx to wcf.

like image 297
Tom Avatar asked May 22 '26 18:05

Tom


1 Answers

That feature definitely doesn't exist in WCF. It might still exist in ASMX web services, but it's really not the technology of choice since WCF was introduced.

That said, might I recommend that you use WCF, and then an external tool to perform these operations? One such tool is WCF Storm, which allows you to specify the endpoint and then make calls and pass values to it.

There is also a "completely free" (their words, not mine) version called WCF Storm Lite, which has no fees associated with it, but with limited functionality (although it will still do exactly what you wish).

like image 103
casperOne Avatar answered May 25 '26 06:05

casperOne