Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How to call or debug the controllers which has inherited the Surface controllers?
For e.g. http://localhost:12345/BlogSurface controller unable to call or debug when this url gets hit in browser.
take a look at this in the docs:
Here you will see the url for locally routed surface controllers, or here:
For plugin based surface controllers.
For debugging, if you use Visual Studio, you have an option to apply brakepoints in your solution where you would like to start debugging.
Hope this helps.
any news on this? Did you managed to solve the issue?
Can you report this back to the forum?
No, pls explain in detail as i am unable to call that particular controller.
Also give its demo code.
Have a look at the docs for surface controllers : https://our.umbraco.org/documentation/reference/routing/surface-controllers#routing-for-locally-declared-controllers
Surface controllers are auto routed. So they do not use a normal MVC route.
To hit your controller action directly from the browser ;
Be aware that by doing this you don't have a umbraco content item and the culture will always be the culture of your server.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted