Comunicating with service application.
-
Hi all, I have a service application and a windows application to manage that Service application. Now i can stop, run and pause.. my service application from my windows app. But i cant run a method from Service application or any similar things. I want to get some values from Service app. but i don't know the best way to commonicate witn an service app. Please help me about this issue. Thans for your interesting.
Murad from Istanbul
-
Hi all, I have a service application and a windows application to manage that Service application. Now i can stop, run and pause.. my service application from my windows app. But i cant run a method from Service application or any similar things. I want to get some values from Service app. but i don't know the best way to commonicate witn an service app. Please help me about this issue. Thans for your interesting.
Murad from Istanbul
-
Hi all, I have a service application and a windows application to manage that Service application. Now i can stop, run and pause.. my service application from my windows app. But i cant run a method from Service application or any similar things. I want to get some values from Service app. but i don't know the best way to commonicate witn an service app. Please help me about this issue. Thans for your interesting.
Murad from Istanbul
If the windows application is on the same PC as the service best is to use .NET Remoting with IPC protocol. Registering a IPC port will not make the firewall jump and you can use binary serialization.
-
If the windows application is on the same PC as the service best is to use .NET Remoting with IPC protocol. Registering a IPC port will not make the firewall jump and you can use binary serialization.
Thank you very much. This is enough for me. Bye for now
Murad from Istanbul
-
Thank you very much. This is enough for me. Bye for now
Murad from Istanbul
I am just wondering why you need to take a long route..If the need is to run sone function and get a value back why dont you define OnCustomCommand and pass a value.You have the room to pass between 128 - 256 this you can execute up to 128 custom functions in side the service.
-
I am just wondering why you need to take a long route..If the need is to run sone function and get a value back why dont you define OnCustomCommand and pass a value.You have the room to pass between 128 - 256 this you can execute up to 128 custom functions in side the service.
Because i can't find a any way to get back any values from service application. OnCustomCommand is void and i can't use 'return obj' in OnCustomCommand method. If you know a good way for it, please write it to me. Thanks.
Murad from Istanbul