How to disable/modify the default test pages for asmx web services?

M

Maxwell2006

Hi,

When I run a web service project, ASP.NET shows me a default web method
invoke page.

How can I disable/modify the default test (or method invoke) page of the
ASP.NET web services?

Thank you,
Max
 
R

Robbe Morris [C# MVP]

If you disabled it, what would you want it to do?

If you modify it, what exactly are you wanting to modify?
 
M

Maxwell2006

If you disabled it, what would you want it to do?
When you go to http://localhost/service.asmx IIS shows the webservice test
page.
I like to disable that test page. Obviously that doesn't mean disabling the
actual webservice.

If you modify it, what exactly are you wanting to modify?
When you go to http://localhost/service.asmx IIS shows the webservice test
page.
I like to modify that page, so it just shows "Hello World"

Regards,
Max
 
S

Steven Cheng[MSFT]

Hi Max,

Regarding on this issue, I've found your another duplicated thread in the
following newsgroup:

Subject: How to disable/modify the default test pages for asmx web services?
Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices

I've posted my response there. If you feel it convenient that we continue
to discuss in that thread, please feel free to post there.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top