i want to integrate a web api with my third year project and i do not know which web browser
to use and how
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Yogie Ngubo10 reputationPosted Sep 19, 2018, 4:08 AM EDT
PM> Install-Package Microsoft.AspNet.WebApi
protected void Application_Start() { //this should be line #1 in this method GlobalConfiguration.Configure(WebApiConfig.Register); }
public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API routes config.MapHttpAttributeRoutes(); config.Routes.MapHttpRoute( name: "DefaultApi", routeTemplate: "api/{controller}/{id}", defaults: new { id = RouteParameter.Optional } ); } }
namespace
Sanwar RanwaRank #23 · 44.7K reputationPosted Sep 19, 2018, 4:06 AM EDT