Yes, you can do this - it is called a "call" request processing. ServiceHost will create a new instance of your service class for each incoming request to process this single request.
To do this, you need to set the class of service (the one that implements the service interface) as "PerCall" - you do this by applying the attribute in your class of service:
[ServiceBehavior(InstanceContextMode=InstanceContextMode.PerCall)]
public class YourService : IYourService
{
...
}
Mark
source
share