/sipsorcery-silverlight/SIPSorcery.TestWeb/MediatorService.asmx.cs

https://github.com/thecc4re/sipsorcery-mono · C# · 26 lines · 19 code · 2 blank · 5 comment · 0 complexity · dd7f80d41080fc23c296f65d4075eacb MD5 · raw file

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Services;
  6. namespace SIPSorcery.TestWeb
  7. {
  8. /// <summary>
  9. /// Summary description for MediatorService
  10. /// </summary>
  11. [WebService(Namespace = "http://tempuri.org/")]
  12. [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
  13. [System.ComponentModel.ToolboxItem(false)]
  14. // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
  15. // [System.Web.Script.Services.ScriptService]
  16. public class MediatorService : System.Web.Services.WebService
  17. {
  18. [WebMethod]
  19. public string HelloWorld()
  20. {
  21. return "Hello World";
  22. }
  23. }
  24. }