I have ASP.NET Web API project and I want to add a Help page, but I want it to be in a separate project.
Is it possible ?
NuGet packages (36) A simple Test Client built on top of ASP.NET Web API Help Page.
Creating API Help Pages Install ASP.NET and Web Tools 2012.2 Update. This update integrates help pages into the Web API project template. Next, create a new ASP.NET MVC 4 project and select the Web API project template. The project template creates an example API controller named ValuesController .
You should call WebApiConfig.Register from your Web API project in your help project:
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
RouteConfig.RegisterRoutes(RouteTable.Routes);
GlobalConfiguration.Configure(MyApiProjectNamespace.WebApiConfig.Register);
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With