Tag Archives: Azure

Azkarra eta erraza – Seguru Azure ilara izenak

Silly baina simple mezua.

Jarraipen bat bezala atzoko on mezuak bidaltzeko "StorageException zen Ekintzak"Kode snippet wee erakutsi nuen ilara izenak sortzeko erabiltzen dut pentsatu nuen:

 

        publikoak estatiko katea GetRandomQueueName()
        {
            GUID g;
            g = System.Guid.NewGuid();
            itzultzeko g.ToString();

        } 

Silly moduko bere sinpletasun, baina ondo funtzionatu dit eta 100 ilara segurua izen horrek sortutako azken aste pare batean.

</amaiera>

undefinedNire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin

Colas Azure lan egitea – "StorageException zen Ekintzak”

I’ve been playing around with Azure queues for the last week or two and it’s been going smashingly.  Where were these things when I needed them back in 1990?

This article, bereziki, is an excellent intro to queues for .NET programmers: http://www.windowsazure.com/en-us/develop/net/how-to-guides/queue-service/.  Using that article, I’ve been able to pull together a really nice bit of client-server logic that is so far reliable and just works with no grief.  Really – where was this stuff in 1990?

I did hit a small stumbling block right out of the gate, ordea.   As soon as I strayed from the specifics of the walk-through, I got hit with a StorageException and a “The remote server server returned an error (400) Bad Request.

image

It turned out that my queue name was off:

image

When I changed “OneQueueToRuleThemAll” to “onequeuetorulethemall” the StorageException went away.  I haven’t noticed any of the documentation calling this out but it may well do that.

Hope that helps someone.

</amaiera>

undefinedNire blog Harpidetu.

Follow me on Twitter http://www.twitter.com/pagalvin