Timeline for DXA Custom Controller Issue (Routing)
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 1, 2016 at 6:12 | vote | accept | Richard Hamlyn | ||
Jul 29, 2016 at 16:49 | answer | added | Rick Pannekoek | timeline score: 3 | |
Jul 29, 2016 at 16:16 | comment | added | TridionNut | That is what i thought as well, thanks. We too are tying to figure out where the URL path is coming from as well since it isn't matching the controller nor action. | |
Jul 29, 2016 at 15:41 | comment | added | Rick Pannekoek |
Indeed, Entity Controllers don't have to be registered explicitly in Global.asax.cs; that's taken care of by BaseAreaRegistration , I was just wondering where the URL path came from (since it doesn't seem to match the name of a controller nor action).
|
|
Jul 29, 2016 at 15:26 | comment | added | TridionNut | Is the update of the Global.asax.cs file something new? We have in the training where we create a custom controller in our new module and there is no need for us to update the Global.asax.cs for this to work. | |
Jul 29, 2016 at 15:00 | history | edited | Richard Hamlyn | CC BY-SA 3.0 |
added 278 characters in body
|
Jul 29, 2016 at 11:18 | comment | added | Rick Pannekoek | github.com/sdl/dxa-web-application-dotnet/blob/master/Site/… | |
Jul 29, 2016 at 8:28 | comment | added | Richard Hamlyn | Hi Rick, thank you for responding. No I didn't and I am not sure how to do this as I do not see a Global.asax.cs in the DXA project. Do I need to create the class and do you have an example of the route please? | |
Jul 28, 2016 at 20:59 | comment | added | Rick Pannekoek | Do you have a route to the NavigationTaxonomyController defined in Global.asax.cs ? | |
Jul 28, 2016 at 15:24 | history | asked | Richard Hamlyn | CC BY-SA 3.0 |