I just used Web Matrix (the free text editor for asp.net) to write my service and all my asp.net pages/modules. You could probably use Wsiual Studio to simplify things a bit more. Basically just use C# or VB.NET to write your functions, compile them, and place them in a web available folder...