Windows Service in Web Garden

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

    Windows Service in Web Garden

    Here I am using Windows service as failover for the regular C# web
    application which will read failed uploads( to database from the
    MessageQueue) and re-uploads to the database. I am using
    MessageQueue.Ge tMessageEnumera tor method in PeekCompleted Event. Is
    this thread safe?? Any suggestions??

    thanks in advance.
    --RK

  • Alvin Bruney - ASP.NET MVP

    #2
    Re: Windows Service in Web Garden

    It's in the docs:
    Any public static (Shared in Visual Basic) members of this type are thread
    safe. Any instance members are not guaranteed to be thread safe.

    --
    Regards,
    Alvin Bruney [MVP ASP.NET]

    [Shameless Author plug]
    The Microsoft Office Web Components Black Book with .NET
    Now Available @ www.lulu.com/owc
    Forth-coming VSTO.NET - Wrox/Wiley 2006
    -------------------------------------------------------



    "RK" <r_adhakrishna@ yahoo.com> wrote in message
    news:1134488154 .228445.302350@ g14g2000cwa.goo glegroups.com.. .[color=blue]
    > Here I am using Windows service as failover for the regular C# web
    > application which will read failed uploads( to database from the
    > MessageQueue) and re-uploads to the database. I am using
    > MessageQueue.Ge tMessageEnumera tor method in PeekCompleted Event. Is
    > this thread safe?? Any suggestions??
    >
    > thanks in advance.
    > --RK
    >[/color]


    Comment

    Working...