Using windows services [written in C#] using C# -
I wrote a Windows service in C #, which, after reading a file at regular intervals, some functionality (a public method ). Is it possible to use this functionality from other C # applications? If possible, please give a solution based on .NET 2.0 and .NET 3.0
thanks
You can
The easiest option is to write that functionality in a separate assembly (DLL) that you do with both service and other NAT applications. Are there.
> Refer service assembly (even if it is an XE, at least in VS 2008) - but it seems that a small overkill.If you want to execute the method in the context of the ongoing service, then you will need some IPC (probably WCF or sockets).
Comments
Post a Comment