Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Server side background process?

Server side background process?

Scheduled Pinned Locked Moved ASP.NET
sysadminquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Azel Low
    wrote on last edited by
    #1

    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)

    C M 2 Replies Last reply
    0
    • A Azel Low

      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)

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • A Azel Low

        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)

        M Offline
        M Offline
        minhpc_bk
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups