Rhino.Compute test example with gh file


is there any tutorial on how to make your own Grasshopper file work with Rhino.Compute?
I found this video (37:02) where the show how to open a URL with some sample gh file.
Rhino App Server - YouTube

But what settings need to be done in the grasshopper file? Bc when i do the same with a simple grasshopper file with an integer slider, it doesn’t work.