ASP.NET WebService Object Lifecycle

Discussion in 'ASP .Net Web Services' started by Ali Ziad, Feb 28, 2007.

  1. Ali Ziad

    Ali Ziad Guest

    Hello,

    When serving webservices in ASP.NET is an instance of the webservice
    decendent class created and destroyed for each .asmx request or are these
    reused throughout the lifespan of the worker process ?

    thanks,
    ali
     
    Ali Ziad, Feb 28, 2007
    #1
    1. Advertisements

  2. One instance per request, just like ASPX pages.
     
    John Saunders, Feb 28, 2007
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Epson Barnett
    Replies:
    1
    Views:
    479
    Epson Barnett
    Apr 21, 2004
  2. redhair
    Replies:
    1
    Views:
    592
    Scott Allen
    Nov 30, 2004
  3. Andrea Raimondi
    Replies:
    1
    Views:
    741
  4. dhek bhun kho

    Resin/JNDI: object lifecycle

    dhek bhun kho, Jul 2, 2003, in forum: Java
    Replies:
    0
    Views:
    1,840
    dhek bhun kho
    Jul 2, 2003
  5. bsmith95610

    Lifecycle of a webpage asp.net

    bsmith95610, Aug 4, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    411
    Amit Verma
    Aug 8, 2008
  6. johnmann56
    Replies:
    0
    Views:
    244
    johnmann56
    May 24, 2004
  7. heinrich.elsigan
    Replies:
    2
    Views:
    317
    Willy Van den Driessche
    May 21, 2006
  8. P Chase

    Lifecycle of .Net Web Service

    P Chase, Apr 2, 2008, in forum: ASP .Net Web Services
    Replies:
    4
    Views:
    277
    P Chase
    Apr 3, 2008
Loading...