How to change the default display of a WCF service

I have deployed a WCF service. When this service is available from web browsers, it shows the message:

You have created a service.

To test this service, you need to create a client and use it to call the service. You can do this using a svcutil.exe

command line tool with the following syntax:

svcutil.exe http: //sitename/Service1.svc? wsdl

You can also access the service description as a single file:

http: //sitename/Service1.svc? singleWsdl

This will create a configuration file and a code file that contains the client class. Add two files to the client application and use the generated client class to call the Service.



How can I change this default message displayed by WCF service?

+3


source to share


1 answer


You cannot override the page default

. But you can use Help Page

. Alternatively, you can create a completely separate page to describe your service.



+2


source







All Articles