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
Can we customize Umbraco version 8.0.2 on VS Code?
if Yes then please advise how to add controller, access controller methed and how to build Umbraco project solution.
You can find information on building the Umbraco source code from the git repository here:
But if you just want to add your own controller to handle an incoming request in your site, then Umbraco has extensions points that you can make use of which means you don't have to alter the source code itself to achieve your aims.
Surface Controllers - https://our.umbraco.com/Documentation/Reference/Routing/surface-controllers allow you to handle post backs from forms in Umbraco, and are useful for rendering Child Actions within templates.
Route Hijacking - RenderMvcControllers -
Enable you to take full control of the incoming request through your custom controller, based on the naming convention of the alias of the document type your incoming request is made to.
Custom Mvc Routes - https://our.umbraco.com/Documentation/Reference/Routing/custom-routes
You can specify your own MVC routes to work within the Umbraco pipeline by implementing an UmbracoVirtualNodeRouteHandler and explicitly mapping a route in the RouteTable via 'MapUmbracoRoute' helper
My question is that, can I add new surface controller in visual studio code and debug it?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted