Is it possible in ASP.NET to create a service in means of a windows service which collects information all the time. When I call a webpage this information should be displayed.
And if yes, how do I do that? I already tried to create a WebService create a thread in the constructor and count down a int variable. But when I access this var from a WebMethod the var had still its initial value.
Or do I have to create a windows service and do inter process communication. If yes, can anyone provide some kind of how-to or tutorial?
Another possibility I thought of is to use static variables and start the application by calling a WebMethod. But then it will not be started again if the server restarts.
Can anyone help?
View Complete Post