In my WCF Application if i am not using the Thread or Timer events i am not getting any result i am getting the run time error.
static void Main(string[] args)
{
while (true)
{
Console.WriteLine("testing");
ServiceClient svcclient = new ServiceClient();
Console.WriteLine(svcclient.GetCount());
Console.WriteLine("tested");
svcclient.Close();
Thread.Sleep(1500);
}
}
How can i achieve it with out using the Thread or timer to run the SP continously.
Regards,
Prasad
Vara Prasad.M