BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Use IAPIExplorer To List Your ASP.NET Web APIs

| by Roopesh Shenoy Follow 0 Followers on May 28, 2012. Estimated reading time: less than one minute |

IApiExplorer is a new abstraction layer that allows you to obtain a description of the structure of your ASP.NET Web APIs. This interface also comes with a default implementation - APIExplorer.

Some of the things you can do with this API -

  • Produce Documentation
  • Create Machine Readable Metadata
  • Create a Test Client

These posts from Yao (Microsoft) shows examples of how to use this API mainly for printing out the list of Web APIs and creating help documentation respectively.

Note that this is not available in the beta download of ASP.NET MVC – you will have to download the CodePlex bits to get the new functionality – Yao explains (paraphrasing) -

..this is new and not available in beta. But you can try it out using our Codeplex bits.

Henrik has a nice post on how to consume the package.

ASP.NET Web API is a new framework included in ASP.NET MVC 4 (currently in Beta) that makes it easy to build RESTful web services using .NET Framework. There are however other options - for instance, Service Stack which provides similar functionality and is already quite popular. 

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Nice Blog by Nikos Maravitsas

Hi Roopesh,

Nice blog! Is there an email address I can contact you in private?

Re: Nice Blog by Roopesh Shenoy

Sure.. roopesh.shenoy@vagsons.com. BTW this isn't my blog, but if you were referring to my actual blog, then thank you!

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT