I run few days into a problem when I was not able to delete local development storage tables using Windows Azure API and system was throwing me exceptions. The reason of these exceptions I guess was the fact that table were very big. In basic scenarios resetting can be archived with Storage emulator UI. …Continue Reading
Unfortunately Azure API not supporting Contains LINQ expressions . Contains Syntax: LINQ public static Product[] GetProducts(Guid[] prodIDs) { return (from p in GetProducts() where prodIDs.Contains(p.ProductID) select p).ToArray<Product>(); } TSQL expression – WHERE [t0].[ProductID] IN (@p0, @p1)’, LINQ contains syntax example has been taken from http://weblogs.asp.net/dwahlin/archive/2008/05/09/using-linq-to-perform-quot-where-in-value1-value2-quot-queries.aspx Tweet
Got interesting exception today while trying to upload multiple file blobs to Azure container. private void UploadFileToBlob(string url, Asset asset,string filepath,string filename) { var container = new CloudBlobContainer(url); //Get a reference to a blob, which may or may not exist. CloudBlob blob = container.GetBlobReference(filename); blob.DeleteIfExists(); //Upload content to the blob, which will create the …Continue Reading
If you creating web application to be deployed to Windows Azure, you probably noticed that deployment and azure instance initialization may take a while. Any missing reference or break will cause you time and lost productivity. Few days ago I spent couple of hours trying to include all mvc references one by one making sure …Continue Reading
http://azurescope.cloudapp.net/BestPractices.aspx Article is covering following aspects: Deployment & Dynamic Scaling Design & Planning Windows Azure Storage SQL Azure Network Communication Testing & Development Tweet