Hello, I have a utility function that I'd like to use with many different pages. I don't want to have to have this code on each page's razor.cs file. I'm hoping to put it somewhere where all pages can see if via invoke method.
I created a razor.cs file in the pages directory, put my method in it and added it to my project, but the method isn't seen with the invoke method drop down.
What is the recommended way to do this?
Thanks,
Slosuenos