2
Answers

how to generate labels by user count?

Raja

Raja

8y
353
1
I want to generate labels.if the user give 6 then 6 labels generate.if user give another value generate that counts of label in asp.net c#.
Answers (2)
0
B B

B B

NA 5 351 8y

Hi Bikesh Srivastava, I didn't exactly understand what you want to convey. I am doing my service method implementation in base class only.

public class Monitor : IMonitor
{
   public Task AddMonitor(Monitor mo)
   {
   // Implementation goes here 
   }
   public Task RemoveMonitor(Monitor mo)
   {
       // Implementation goes here
   }
}
 

But anyway my code id now working. Once i decorated my IMonitorCallback with (IsOneWay = true)] its started working perfectly.

interface IMonitorCallback
{
   [OperationContract(IsOneWay = true)]
   void OnAdded(Monitor data);
 
   [OperationContract(IsOneWay = true)]
   void OnRemoved(Monitor data);
}
 
0
Bikesh Srivastava

Bikesh Srivastava

NA 19.8k 835k 8y
I think you need to understand of WCF in deep.
because if you are creating interface  and implement then you have to declare all method in base class.
0
Vignesh Mani

Vignesh Mani

NA 13.4k 938.2k 8y
http://stackoverflow.com/questions/22466523/405-method-not-allowed-wcf-web-service-after-second-request