Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <ul> <li>How do you process the Queue?</li> <li>Do you start a separate thread in the Application_Start of global.asax that listens to the queue? If there are messages, they are dealt one at the time.</li> <li>Is it necessary to do this in a separate thread? What if in the global.asax you just call a singleton for instance that starts listening to the queue? In what thread will this singleton run? (what's the thread that calls global.asax)</li> </ul> <p>[skip]</p> <ul> <li>I don't like the idea, but could you put an exe on the root of your website, an exe that > starts a process listening to the queue...</li> </ul> </blockquote> <p>Normally another program processes the queue - not ASP.NET. Either a windows service or an executable that you run under a scheduler (and there's no reason to put it in the root of your website).</p> <blockquote> <ul> <li>If you get a message out of the queue, do you remove it when you pull it out or do you remove it if denormalization for this session was successful? If you remove it when you pull it out and something goes wrong...</li> </ul> </blockquote> <p>For critical work, you perform a <em>transactional read</em>. Items aren't removed from the queue until you commit your read operation, but while the transaction is open, no other process can get the item.</p> <blockquote> <ul> <li>What are best practices to implement this? Links? Resources? Tutorials? Examples?</li> </ul> </blockquote> <p><a href="http://www.15seconds.com/Issue/031202.htm" rel="nofollow noreferrer">This tutorial is a good introduction</a> and <a href="http://blogs.msdn.com/johnbreakwell/default.aspx" rel="nofollow noreferrer">John Breakwell's blog is excellent</a> and offers a lot of good links (including the ones in his easy-to-find sidebar "MSMQ Documentation").</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload