CMNModuleService.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*******************************************************************************
  2. * Copyright(c) 2014 DongkeSoft All rights reserved. / Confidential
  3. * 类的信息:
  4. * 1.程序名称:CMNModuleService.cs
  5. * 2.功能描述:共通业务处理。
  6. * 编辑履历:
  7. * 作者 日期 版本 修改内容
  8. * 陈晓野 2015/03/26 1.00 新建
  9. *******************************************************************************/
  10. using System.ServiceModel;
  11. using System.ServiceModel.Activation;
  12. using Dongke.IBOSS.PRD.WCF.Contracts;
  13. namespace Dongke.IBOSS.PRD.WCF.Services
  14. {
  15. /// <summary>
  16. /// 共通业务处理
  17. /// </summary>
  18. // 服务实现类,继承服务声明接口
  19. // 该标签声明该服务可以在ASP.NET下运行
  20. [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
  21. [ServiceBehavior(ConfigurationName = "CMNModuleService",
  22. InstanceContextMode = InstanceContextMode.PerCall,
  23. ConcurrencyMode = ConcurrencyMode.Multiple,
  24. UseSynchronizationContext = false)]
  25. public class CMNModuleService : ServicesBase, ICMNModule
  26. {
  27. #region 构造函数
  28. /// <summary>
  29. /// 构造函数
  30. /// </summary>
  31. public CMNModuleService()
  32. : base()
  33. {
  34. }
  35. public string Test()
  36. {
  37. return null;
  38. }
  39. #endregion
  40. }
  41. }