Server side background process?
-
Is there anyway develop a process that will run on the backgroud. Eg: Calculation of Pi in the background while at any one point of time when a user access a webpage, it shows the current results of Pi ( while the backgroud process continues)
Azel Low wrote: Is there anyway develop a process that will run on the backgroud. Use a Windows Service Azel Low wrote: while at any one point of time when a user access a webpage, it shows the current results of Pi You could have the service periodically write out a file that contains the current result and ASP.NET process could read the file to display on a web page.
Do you want to know more? WDevs.com - Member's Software Directories, Blogs, FTP, Mail and Forums
-
Is there anyway develop a process that will run on the backgroud. Eg: Calculation of Pi in the background while at any one point of time when a user access a webpage, it shows the current results of Pi ( while the backgroud process continues)
Hi there, In addition to Colin's suggestion on writing out a file, you can use a window service to host a remoting object. Then your ASP.NET application can read information via this remoting object, and of course you are required to provide a bit more work to implement that.