ArcObjects Library Reference
About the Simple REST SOE Sample
[C#]
[Visual Basic .NET]