title: F# and AzureStorage GetBlobContainer
body: <p>Has anyone  used the WindowsAzure.Storage NuGet package in a F# project?  I am trying to upload a photo to Azure storage using this code:</p>
  
  <pre><code>member this.InsertPhotoImage(photoImage: PhotoImage) =
      let storageAccount = CloudStorageAccount.Parse(connectionString)
      let blobClient = storageAccount.CreateCloudBlobClient()
      let container = this.GetBlobContainer(blobClient) 
      let photoUri = this.GetPhotoImageUri(photoImage.UniqueId)
      let blockBlob = container.GetBlockBlobReference(photoUri) 
      use memoryStream = new MemoryStream(photoImage.ImageBytes)
      blockBlob.UploadFromStream(memoryStream)
  </code></pre>
  
  <p>and I am getting this exception on the container.GetBlockBlobReference and blockBlob.UploadFromStream lines:
  <em>Lookup on object of indeterminate type based on information prior to this program point.</em> </p>
  
  <p>When I do an explicit cast like this on this line</p>
  
  <pre><code>    let container = this.GetBlobContainer(blobClient) :&gt; CloudBlobContainer
  </code></pre>
  
  <p>It compiles but I get this warning:</p>
  
  <p><em>The type 'CloudBlobContainer' does not have any proper subtypes and need not be used as the target of a static coercion</em>   </p>
  
  <p>Thanks in advance</p>