title: Azure .NET Component Lifetime (CloudQueueClient, CloudQueue etc.)
body: <p>If I am adding Windows Azure queue items or blob storage references from an MVC application using the .NET SDK, how long should each component stay about?</p>
  
  <p>For queues we have <strong>CloudStorageAccount</strong>, <strong>CloudQueueClient</strong> and <strong>CloudQueue</strong>.</p>
  
  <p>For blob storage, we have <strong>CloudStorageAccount</strong>, <strong>CloudBlobClient</strong> and <strong>CloudBlobContainer</strong>.</p>
  
  <p>I am assuming that it would be best to create each component once per web request but don't really now how expensive it is to create each item. Again I am assuming that keeping the clients around between web requests using a singleton lifetime for example would not be a good plan but have nothing to go on.</p>