Help page generation for all service routes on one page

Topics: Web Api
Nov 2, 2010 at 11:05 AM
Edited Nov 2, 2010 at 11:16 AM

In WCF 4 there is an option to expose a generated help page for a service.

It would be awesome if there was a way to generate a help page listing for ALL services on one page from the routes outlined in the global application file.

 

Coordinator
Nov 2, 2010 at 9:39 PM

Hi grimmersnee

In WCF 4 yes, in the new bits it doesn't work yet. Here's an article on how to enable in WCF 4 

Nov 3, 2010 at 8:27 PM

I know help pages can be automatically generated for all methods within a service class.

My question is, can there be an automatically generated help page that generates for all service methods in all service classes in wcf application?

Nov 3, 2010 at 10:45 PM

Is this what you're loooking for? http://blogs.msdn.com/b/endpoint/archive/2010/02/15/creating-views-in-wcf-webhttp-service-with-t4.aspx

Coordinator
Nov 4, 2010 at 9:12 AM

No automatic way for our new bits yet. You could proably do something with processors as you could define a special media type processor that returns the equivalent to a help page. You could also use a processor to do what the article above does in terms of T4.

Glenn