Mercurial > silverbladetech
diff SilverlightExampleApp/SilverlightExampleApp.Web/Secure/SecureService.svc.cs @ 49:502f5f365649
Initial load for Silverlight Example Application
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Tue, 17 Apr 2012 17:57:52 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SilverlightExampleApp/SilverlightExampleApp.Web/Secure/SecureService.svc.cs Tue Apr 17 17:57:52 2012 +0100 @@ -0,0 +1,23 @@ +using System; +using System.Linq; +using System.Runtime.Serialization; +using System.ServiceModel; +using System.ServiceModel.Activation; + +namespace SilverlightExampleApp.Web.Secure +{ + [ServiceContract(Namespace = "")] + [SilverlightFaultBehavior] + [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] + public class SecureService + { + [OperationContract] + public void DoWork() + { + // Add your operation implementation here + return; + } + + // Add more operations here and mark them with [OperationContract] + } +}