|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using Service.Api;
using System.Diagnostics;
namespace Service1
{
//[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple,
// InstanceContextMode=InstanceContextMode.PerCall)]
public class Service1 : IService
{
public string DoWork(string value)
{
Trace.WriteLine("Called From Service 1");
return string.Format("You entered: {0}", value);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am currently working as a team leader with a group of amazing .NET programmers. I love coding with .NET, and I love to apply design patterns into my work. Lately I had some free time, so I decided to write some articles, hoping I will spare someone frustration and anxiety.