When you create a new Web API Project (MVC 4) it automatically creates the Help Pages for the API. Any ideas how can I remove the ASP.NET Web API help pages?
Now, you can send HTTP DELETE request using Fiddler as shown below and view the response. As you can see in the above figure, HTTP DELETE request url http://localhost:64189/api/student?id=1 includes query string id. This id query string will be passed as an id parameter in Delete() method.
The XmlDocumentationProvider is looking for the xml file(having your xml code comments) which gets generated when you compile your project. You can enable generating this by going to your project Properties -> Build -> Output. Here select the checkbox for XML Documentation file. Save this answer.
HelpPage
under Areas
Microsoft.AspNet.WebApi.HelpPage
from your pacakges.config
file. Views\Shared\_Layout.cshtml
file@Html.ActionLink("API", "Index", "Help", new { area = "" }, null)
As a more recommended solution to Kiran's solution is to go simply to Nuget Package Manager and remove the package Microsoft.AspNet.WebApi.HelpPage
.
This is going to remove all the necessary files including those in the areas folder.
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