I've got a basic blogging site and I want to add a separate page containing a few tools I use regularly, mainly so I don't have to go all over the web to find them each time (or have a load of bookmarks).
The tools will mostly be string manipulation or conversion type things which are quick and easy to use, such as trimming whitespace, capitalisation, removing special chars, unit converters etc., relatively simple stuff to code in C#.
In a regular MVC app I'd probably just create a view and controller with an endpoint for each tool.
Should I do something similar with Umbraco, or is there a more Umbraco-like way to build/organise this?
Build method for custom tools page
I've got a basic blogging site and I want to add a separate page containing a few tools I use regularly, mainly so I don't have to go all over the web to find them each time (or have a load of bookmarks).
The tools will mostly be string manipulation or conversion type things which are quick and easy to use, such as trimming whitespace, capitalisation, removing special chars, unit converters etc., relatively simple stuff to code in C#.
In a regular MVC app I'd probably just create a view and controller with an endpoint for each tool.
Should I do something similar with Umbraco, or is there a more Umbraco-like way to build/organise this?
Hey Tom. Welcome to Umbraco!
There is a few ways to do what you're asking:
https://docs.umbraco.com/umbraco-cms/reference/routing/surface-controllers/
https://docs.umbraco.com/umbraco-cms/reference/routing/umbraco-api-controllers
Hope this helps.
is working on a reply...