Use Windows Azure Queue Storage to deliver objects to AutoCAD

Source: Internet
Author: User
Tags windows azure sdk azure sdk

In the previous article, junqilian used Amazon Simple Queues Service (SQS) to achieve remote interaction with AutoCAD. This article describes how to use Amazon Simple Queue Service (SQS ), here we will introduce how to use Microsoft's Windows Azure Queue Storage to implement similar functions. This is also an improvement. Generally, the most intuitive message passing is a string, but other types such as common objects can also be passed through the queue. This article describes how to pass an object to the AutoCAD plug-in through Windows Azure Queue Storage and draw it out in AutoCAD.

The passing object here is basically completed through a string, because I actually serialize this object into a JSON string and put the JSON string in the cloud queue, the client obtains the JSON string and then deserializes it into an object. In view of this problem, it is still quite extensive, So I published it to ADN DevBlog AutoCAD using E. Here I will make a Chinese abstract briefly.

 

To develop a Windows Azure cloud application, you must first download and install the Windows Azure SDK. Then we create two projects, one is the Sender. For simplicity, this is a console application, add referenceMicrosoft. WindowsAzure. StorageClient. dll, Which can be found in the installation directory of the Windows Azure SDK. To achieve serialization and deserialization, you need to addSystem. Web. Extension. dllTo call the Serialize and Deserialize methods of JavaScriptSerializer.

 

Okay. For details, go to ADN DevBlog AutoCAD and check the Code :)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.