Last active
January 23, 2017 16:59
-
-
Save geoffreymcgill/2d8eb64859df587684a7795ad4510327 to your computer and use it in GitHub Desktop.
Basic WebMethod endpoints for use with Deck.NET
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Newtonsoft.Json; | |
using System.Web.Script.Services; | |
using System.Web.Services; | |
// see http://deck.net/webservice | |
namespace Deck.www | |
{ | |
/// <summary> | |
/// Summary description for DeckServices | |
/// </summary> | |
[WebService(Namespace = "http://tempuri.org/")] | |
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] | |
[System.ComponentModel.ToolboxItem(false)] | |
[ScriptService] | |
public class DeckServices : WebService | |
{ | |
[WebMethod] | |
[ScriptMethod(UseHttpGet = true)] | |
public object Bounce(object value) | |
{ | |
return value; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment