Timeline for Sitecore WebApi custom route not working controller not found
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 14, 2022 at 17:59 | history | edited | Dan Sinclair | CC BY-SA 4.0 |
Fixing formatting to show closing XML tag that was missing from output
|
Apr 20, 2018 at 11:24 | history | edited | Peter Procházka | CC BY-SA 3.0 |
Small formatting and spelling improvements
|
Apr 20, 2018 at 6:58 | vote | accept | nari447 | ||
Apr 20, 2018 at 6:40 | comment | added | Peter Procházka | Exactly Naresh. That is the reason | |
Apr 20, 2018 at 6:40 | answer | added | Peter Procházka | timeline score: 3 | |
Apr 20, 2018 at 6:30 | comment | added | nari447 | please add this as answer for me to accept... :) | |
Apr 20, 2018 at 6:28 | comment | added | nari447 | changing MapHttpRoute to MapRoute, worked... Looks like MapHttpRoute is meant for ApiController type and MapRoute for Controller type... Thank You, @Peter Prochazka. | |
Apr 20, 2018 at 6:14 | comment | added | Peter Procházka | Also check in Showconfig.aspx whether your RegisterTestApiRoute processor type is present in configuration | |
Apr 20, 2018 at 6:13 | comment | added | Peter Procházka | Second problem is that you are using Sitecore webapi path /api/testing. We are usually using clientapi/.... instead of api/ not to clash with Sitecore OOTB controllers. try also to change /api/ to something else e.g. /nareshapi/ for now :) | |
Apr 20, 2018 at 6:09 | comment | added | Peter Procházka | Can you change MapHttpRoute to MapRoute? We are using this without any problem | |
Apr 20, 2018 at 6:04 | history | asked | nari447 | CC BY-SA 3.0 |