how to usewindows service in asp.net
How to use w开发者_高级运维indows service in asp.net 3,5
Your question isn't very clear, but I guess you are asking how to communicate with a Windows service from ASP.NET? I asume you are writing both the Windows service and the ASP.NET application?
I'd recommend Microsoft Message Queing (MSMQ). This will let you send a message from ASP.NET, and have the Windows service pick up messages from the queue.
Look into .Net Remoting.
Your service can expose an object that can then be interacted with by other applications.
精彩评论