Viewing ASMX

T

thecodefool

Hi
I have created several webservices, I need to do some better documentation than what is available now.

I would like to create some sort of Description, Code section i.e. how to invoke a certain method in like a code block and so on

I can do this by typing out the html like this [WebMethod(Description="This is my description <b>This is some html</b><br> this is a new line<p style='color:green'>THis could be a code block</p>")

This is all good, but isn't there an easier way

Could I use a stylesheet

Any answer would be appreciated or a sample would be better :-

Thanks
 
D

Dino Chiesa [Microsoft]

2 ideas

- replace the DefaultWsdlHelpGenerator.asmx with your own code.
- rather than put the doc in the attribute eg
webMethod[(Description="lots and lots of html")]
put a reference in the attribute. Eg
webMethod[(Description="see http://myserver/webservice/doc.html")]

and post the HTML where you want it.


thecodefool said:
Hi,
I have created several webservices, I need to do some better
documentation than what is available now.
I would like to create some sort of Description, Code section i.e. how to
invoke a certain method in like a code block and so on.
I can do this by typing out the html like this
[WebMethod(Description="This is my description said:
This is all good, but isn't there an easier way?

Could I use a stylesheet?

Any answer would be appreciated or a sample would be better :)

Thanks
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top