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. object caching in webservice

object caching in webservice

Scheduled Pinned Locked Moved ASP.NET
question
5 Posts 2 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.
  • D Offline
    D Offline
    dd314159
    wrote on last edited by
    #1

    I have a very basic question. I have a webservice with method calls to methods within dlls and within the dlls I have added object caching - not page caching. My question is: will each user of the webservice have their own cache? Or are these objects that are cached in the same cache for all the calls to the dlls?

    T 1 Reply Last reply
    0
    • D dd314159

      I have a very basic question. I have a webservice with method calls to methods within dlls and within the dlls I have added object caching - not page caching. My question is: will each user of the webservice have their own cache? Or are these objects that are cached in the same cache for all the calls to the dlls?

      T Offline
      T Offline
      ToddHileHoffer
      wrote on last edited by
      #2

      dd314159 wrote:

      My question is: will each user of the webservice have their own cache? Or are these objects that are cached in the same cache for all the calls to the dlls?

      No. There is one cache per process, not by user.

      I didn't get any requirements for the signature

      D 1 Reply Last reply
      0
      • T ToddHileHoffer

        dd314159 wrote:

        My question is: will each user of the webservice have their own cache? Or are these objects that are cached in the same cache for all the calls to the dlls?

        No. There is one cache per process, not by user.

        I didn't get any requirements for the signature

        D Offline
        D Offline
        dd314159
        wrote on last edited by
        #3

        Thanks for the answer - but still one more question. So you are saying that the webservice with multiple dll calls - constitutes one process?

        T 1 Reply Last reply
        0
        • D dd314159

          Thanks for the answer - but still one more question. So you are saying that the webservice with multiple dll calls - constitutes one process?

          T Offline
          T Offline
          ToddHileHoffer
          wrote on last edited by
          #4

          Any application in ISS (service or website) is part of an application pool. The application pool runs one .exe. You can see it in the task manager. The System.Web.HttpContext.Current.Cache is specific to the current HttpContext or application. What does it matter if all your code is compiled into one .dll or 50 .dlls?

          I didn't get any requirements for the signature

          D 1 Reply Last reply
          0
          • T ToddHileHoffer

            Any application in ISS (service or website) is part of an application pool. The application pool runs one .exe. You can see it in the task manager. The System.Web.HttpContext.Current.Cache is specific to the current HttpContext or application. What does it matter if all your code is compiled into one .dll or 50 .dlls?

            I didn't get any requirements for the signature

            D Offline
            D Offline
            dd314159
            wrote on last edited by
            #5

            Thanks for the info.

            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