<%@ WebHandler Class="JayrockWeb.HelloWorld" Language="C#" %> | |
namespace JayrockWeb | |
{ | |
using Jayrock.JsonRpc; | |
using Jayrock.JsonRpc.Web; | |
public class HelloWorld : JsonRpcHandler | |
{ | |
[ JsonRpcMethod("greetings") ] | |
public string Greetings() | |
{ | |
return "Welcome to Jayrock!"; | |
} | |
} | |
} |