Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Shadow copying

    Is this correct:

    1. When the first request for an application on the virtual directory comes
    in and ASP.NET worker process creates an AppDomain for that particular
    application, it copies the code-behind(if there is one) to the
    v1.1.4322\Temporary ASP.NET Files\(appname)\....

    2. For the lifetime of this application the code-behind in the shadow folder
    is locked.

    3. If I do xcopy update on the code-behind in the \bin folder, when the next
    request comes in, the AppDomain will compare the dates of the \bin
    code-behind and shadow-folder code-behind, and if \bin is newer, it will
    unload the reference to shadow code-behind, copy the new code-behind DLL to
    shadow foldre, reference it, and proceed with parse, generate class, etc....


    Alex Guest

  2. Similar Questions and Discussions

    1. Box around Drop Shadow
      Win98 ID2.0.2 HP8500 When adding a drop shadow to a placed tif object the object then prints with a sort of ghosted block around the outside of it....
    2. Problem: Drop shadow creates a "flat shadow"
      Hi, I´m using illustrator 10 and When I apply or "copy" with the eyedropper a drop shadow it just creates a flat shadow, equal to one with 0% blur...
    3. Font Shadow
      I am very versed in how to create a shadow for text in most any app but in 2003, my shadow option is not available. Can anyone tell me how to shadow...
    4. Drop shadow and ....
      Hallo, Is it possible to give a static text or a symbol a drop shadow and a outer glow. If yes, where or how can i do that. A answer will be...
    5. how do i only keep the shadow
      ok i typed a word using typing tool and i created a shadow of that word. now i want to keep the shadow and get rid of the word i typed. is it...
  3. #2

    Default Re: Shadow copying

    I'm not sure it would do a comparison of dates between files, that would
    seem to slow... Although there is a piece of the framework that would do
    this nicely and I would be willing to bet this is how aspnet monitors
    changes in appDomains....FileSystemWatcher very cool indeed..... I think
    this is also how the framework detects changes in the .config files....


    "Alex" <a.agranov@verizon.net> wrote in message
    news:#WXBCgdXDHA.1940@TK2MSFTNGP10.phx.gbl...
    > Is this correct:
    >
    > 1. When the first request for an application on the virtual directory
    comes
    > in and ASP.NET worker process creates an AppDomain for that particular
    > application, it copies the code-behind(if there is one) to the
    > v1.1.4322\Temporary ASP.NET Files\(appname)\....
    >
    > 2. For the lifetime of this application the code-behind in the shadow
    folder
    > is locked.
    >
    > 3. If I do xcopy update on the code-behind in the \bin folder, when the
    next
    > request comes in, the AppDomain will compare the dates of the \bin
    > code-behind and shadow-folder code-behind, and if \bin is newer, it will
    > unload the reference to shadow code-behind, copy the new code-behind DLL
    to
    > shadow foldre, reference it, and proceed with parse, generate class,
    etc....
    >
    >

    alien2_51 Guest

  4. #3

    Default Re: Shadow copying

    On [GMT+0100=CET],
    alien2_51 <dan.billow@n.o.s.p.a.m.monacocoach.com> thought hard and spewed:
    > I'm not sure it would do a comparison of dates between files, that
    > would seem to slow... Although there is a piece of the framework that
    > would do this nicely and I would be willing to bet this is how aspnet
    > monitors changes in appDomains....FileSystemWatcher very cool
    > indeed..... I think this is also how the framework detects changes in
    > the .config files....
    >
    You are correct, FileSystemWatcher would be most efficient implementation
    rather then checking every time timestamps between 2 different files on
    every request. This way any shadow-copying check only happens when the xcopy
    is performed.


    Alex Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139