How to change default WCF page returned in browser? -


The old ASP.NET ASMX web services were used to create a web page, navigating the user in a variety of ways Allowing them to invoke and invoke them (unless the parameters are all simple types).

WCF web services make pages very useful (you have created a service ... blah, blah, blah ...). My question is two parts ...

Can I get WCF to produce results such as ASMX?

OR

Can I produce custom HTML which documents my service? if so, how?

This service is a great example of the kind of thing I would like to do ...

No, no more.

The service page that WCF generates is difficult, and I have never heard of any tricks or techniques to change it. And no, you can not get back the old ASMX service page, either

you have something you can do:

  • Based on your WSDL Which fully describes your service, you are displayed under HTML support or man pages (or pages) and a static URL (like http: //myserver/myservice/helppage.html )

  • To fully describe your service, separate pages, as you've linked, and available WCF services are the default SOAP based service calls - you can not just call them from a web browser.

Html>

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -