locked
Routing by action in Single page appliction RRS feed

  • Question

  • User598234210 posted

    I need add action name in my SPA web API route

     like this   -------     routeTemplate: "api/{controller}/{action}/{id}",

    when can I edit the to SPA web API routes map like for web API "mapHttpRpoute" method web APi

     routes.MapHttpRoute(
        name: "ActionApi",
        routeTemplate: "api/{controller}/{action}/{id}",
        defaults: new { id = RouteParameter.Optional }
    );
    
    
    Thursday, December 11, 2014 9:38 AM

Answers

All replies