Book Image

Microsoft Silverlight 5 and Windows Azure Enterprise Integration

By : David Burela
Book Image

Microsoft Silverlight 5 and Windows Azure Enterprise Integration

By: David Burela

Overview of this book

Microsoft Silverlight is a powerful development platform for creating rich media applications and line of business applications for the web and desktop. Microsoft Windows Azure is a cloud services operating system that serves as the development, service hosting, and service management environment for the Windows Azure platform. Silverlight allows you to integrate with Windows Azure and create and run Silverlight Enterprise Applications on Windows Azure This book shows you how to create and run Silverlight Enterprise Applications on Windows Azure. Integrating Silverlight and Windows Azure can be difficult without guidance. This book will take you through all the steps to create and run Silverlight Enterprise Applications on the Windows Azure platform. The book starts by providing the steps required to set up the development environment, providing an overview of Azure. The book then dives deep into topics such as hosting Silverlight applications in Azure, using Azure Queues in Silverlight, storing data in Azure table storage from Silverlight, accessing Azure blob storage from Silverlight, relational data with SQL Azure and RIA, and manipulating data with RIA services amongst others.
Table of Contents (19 chapters)
Microsoft Silverlight 5 and Windows Azure Enterprise Integration
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface

Handling poison messages


Despite taking all the care to write bug-free code, there are always circumstances that can cause the processing of a message to fail. The cause of the failure could be due to an error in the code which causes the server to throw an exception. Message processing could also fail due to a configuration issue, or reliance on an external resource which is unavailable at that moment.

In the event of a failure, the message will not be deleted from the queue as the application logic was not able to get that far. As the message was not deleted, it will eventually become visible again, and dequeued by another consumer which will attempt to process the message. If the cause of the failure was an intermittent one, then the message will be processed fine at a later time when retried. However, the issue may be persistent if it is an error with the message payload, the application code, or the configuration. These messages will be continuously dequeued, then processed by an instance...