Tuesday 15 September 2015

asp.net web api - Web API help page -



asp.net web api - Web API help page -

i created empty webapi project , added controller 1 post method.

i have installed asp.net web api 2.2 help page bundle help consumers of web api. how or help page created? how access help web page.

the help page created in folder called "areas". within file helppagearearegistration.cs there route defined such next -

context.maproute( "helppage_default", "api/help/{action}/{apiid}", new { controller = "help", action = "index", apiid = urlparameter.optional });

this tells how navigate help page. definition above states help page resides @ - http://baseurl/api/help

asp.net-web-api

No comments:

Post a Comment