I have a DLL and i want to know whether it is possible to run the DLL as service.Is there any way to do it ?
i am using .net 2.0.
Thanks in advance.
Start Visual Studio with administrative credentials so you can attach to system processes. (Optional) On the Visual Studio menu bar, choose Tools, Options. In the Options dialog box, choose Debugging, Symbols, select the Microsoft Symbol Servers check box, and then choose the OK button.
I dont think you simple use a DLL as a service directly, but what you can do is create a bridge service, i.e. a web service, WCF or a remotable object, which takes this DLL as a reference and exposes its public methods as a service.
Wrap it in a windows service? Fairly trivial.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With