Showing posts with label Azure. Show all posts
Showing posts with label Azure. Show all posts

Thursday, November 15, 2012

Azure Blob Upload - SocketException

Today when I deployed my MVC 4 application to azure, when I tried to access the blob, I got the following error,

An attempt was made to access a socket in a way forbidden by its access permissions 127.0.0.1:10000

[SocketException (0x271d): An attempt was made to access a socket in a way forbidden by its access permissions 127.0.0.1:10000]
   System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) +6462061
   System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) +271

[WebException: Unable to connect to the remote server]
   Microsoft.WindowsAzure.StorageClient.Tasks.Task`1.get_Result() +77
   Microsoft.WindowsAzure.StorageClient.Tasks.Task`1.ExecuteAndWait() +171
   Microsoft.WindowsAzure.StorageClient.TaskImplHelper.ExecuteImplWithRetry(Func`2 impl, RetryPolicy policy) +29
   Microsoft.WindowsAzure.StorageClient.CloudBlobContainer.CreateIfNotExist(BlobRequestOptions options) +93
   AzurePictures.Models.ImageRepository.SaveImage(String name, Byte[] buffer) +109
   AzurePictures.Controllers.HomeController.Upload() +316


The issue is when I deployed the application, I am still setting it to useDevelopmentStorage = true,
Just reset the web config to use the Azure one, then it worked.

Wednesday, August 15, 2012

Difference between Azure Queues and ServiceBus Queues

MSDN just published a good article comparing the Windows Azure queues and ServiceBus queues, from performance, capacity and security perspective.

Windows Azure QueuesServiceBus Queues
Performance10 miliseconds latency, support 2000 message per second100 miliseconds latency, support 2000 message per second
Capacity64KB message, 1TB data storage, 7 days TTL256KB message, 5GB data storage, no limit TTL
SecuritySecurity TokenACS

Thursday, August 9, 2012

My two cents with some finding in BizTalk and ServiceBus

1. BizTalk 2010 R2 is released a CTP, check the details from Mick.
    It is no surprsie for it to be aligned with the latest framework and tools.
    The interesting things for me is the adapters with the REST capability finally, and all the ServiceBus enabled adapters.  So here the support for ServiceBus is very interesting and need more details to see how BizTalk relationship with even the ServiceBus for Windows.

2. Just found this document about implementation with Windows Azure Servicebus, since really there is not many articles about it apart from the msdn.

3. An interesting topic about how to integration Dynamics CRM 2011 with azure service bus on MSDN,
Azure extensions for Microsoft Dynamics CRM

4. The ServiceBus EDI/EAI looks even much more promising especailly with the new mapper. However, I think we still need a BusinessRule engine support for decistion and runtime configuraion.