unloading assemblies - delayed ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guru Prasad

    #1

    unloading assemblies - delayed ?

    Is there a delay involved in unloading assemblies once a virtual directory
    is "deleted" using IIS Manager ? At times even after the virtual directory
    is removed i cannot delete the backing physical directory and it looks like
    ASPNET runtime is holding on to the assemblies. Once i recycle the ASPNET
    process, i can delete this directory. Has this got anything to do with
    strong-named/signed assemblies ( even though deployed as private
    assemblies ) ? Or is the loading/unloading behavior different for assemblies
    that are used for HttpModules.
    And is there a fix ?


  • Kevin Spencer

    #2
    Re: unloading assemblies - delayed ?

    Assemblies remain loaded as long as there is at least one process attached
    to them.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    All hotels in Benidorm. The best selection of Benidorm hotels with reviews and maps. Book in advance and save.

    Big things are made up of
    lots of little things.

    "Guru Prasad" <gprasad@amberp oint.com> wrote in message
    news:O64dGxzSDH A.1912@TK2MSFTN GP12.phx.gbl...[color=blue]
    > Is there a delay involved in unloading assemblies once a virtual directory
    > is "deleted" using IIS Manager ? At times even after the virtual directory
    > is removed i cannot delete the backing physical directory and it looks[/color]
    like[color=blue]
    > ASPNET runtime is holding on to the assemblies. Once i recycle the ASPNET
    > process, i can delete this directory. Has this got anything to do with
    > strong-named/signed assemblies ( even though deployed as private
    > assemblies ) ? Or is the loading/unloading behavior different for[/color]
    assemblies[color=blue]
    > that are used for HttpModules.
    > And is there a fix ?
    >
    >[/color]


    Comment

    • Guru Prasad

      #3
      Re: unloading assemblies - delayed ?

      Do i get any response at all ? It seems like if a post even slightly hints
      at a possible bug in the .NET impl. the post goes unanswered.
      Is this normal ? Another of my posts met the same fate!

      "Guru Prasad" <gprasad@amberp oint.com> wrote in message
      news:O64dGxzSDH A.1912@TK2MSFTN GP12.phx.gbl...[color=blue]
      > Is there a delay involved in unloading assemblies once a virtual directory
      > is "deleted" using IIS Manager ? At times even after the virtual directory
      > is removed i cannot delete the backing physical directory and it looks[/color]
      like[color=blue]
      > ASPNET runtime is holding on to the assemblies. Once i recycle the ASPNET
      > process, i can delete this directory. Has this got anything to do with
      > strong-named/signed assemblies ( even though deployed as private
      > assemblies ) ? Or is the loading/unloading behavior different for[/color]
      assemblies[color=blue]
      > that are used for HttpModules.
      > And is there a fix ?
      >
      >[/color]


      Comment

      Working...