ApiExplr 1.0.4
See the version list below for details.
dotnet add package ApiExplr --version 1.0.4
NuGet\Install-Package ApiExplr -Version 1.0.4
<PackageReference Include="ApiExplr" Version="1.0.4"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="ApiExplr" Version="1.0.4" />
<PackageReference Include="ApiExplr"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add ApiExplr --version 1.0.4
#r "nuget: ApiExplr, 1.0.4"
#:package ApiExplr@1.0.4
#addin nuget:?package=ApiExplr&version=1.0.4
#tool nuget:?package=ApiExplr&version=1.0.4
A simple test client for your web api 2 application.
At work we run various web api applications. RESTful services. Lots of uri’s. Lots of contracts. Lots of client application.
To help share the knowledge of what these services do, I’ve created a web api explorer client using reflection.
This is a friendly and informative alternative to using Fiddle, Simple JS Client, the standard .Net Help page, and similar other adhoc testing / documentation tools.
Try it out. Send me some feedback.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Getting started with this Nuget package, from scratch.
1. Create a new web api 2 project in Visual Studio.
2. Add the 'ApiExplr' Nuget package.
3. Switch on Documentation for your web api application. Project > Properties > Build > Xml documentation file > "\App_Data\XmlDocument.xml".
That's it! You're done :)
Fire up your new ApiExplr app at http://location:[port]/areas/apiexplr
## Configuration
FeedUri: http://localhost:[port]/api/explr
BaseRequestUri: http://localhost:[port]
## Comments and Info
Add ///comments to every controller and action. It's these comments that end up in your XmlDocumentation file and get resolved.
## Attribute Routing
This project relies on Attribute Routing. Remove "config.Routes.MapHttpRoute" from WebApiConfig.cs.
Every controller must have a [RoutePrefix]. Every action must have a [Route] and a Http Action Verb [HttpGet].