In this post, you will test the GuestBook application in the Development Fabric (aka, devfabric). The devfabric is a simulated environment for developing and testing Windows Azure applications on your test machine.
A Visual Studio project with source code is available at the end of this post to accompany the subject matter discussed.
Figure 9 Development Fabric UI
Figure 10 GuestBook Home Page
Once you submit an entry, the web role creates a new entry in the guest book table and uploads the photo to the Blob Storage. The page contains a timer that triggers a page refresh every 5 seconds, so the new entry should appear on the page after a brief interval.
Initially, the new entry contains a link to the blob that contains the uploaded image so it will appear with the same size as the original image.
Figure 11 GuestBook Image Original Size
After a few seconds, the page refreshes and displays the thumbnail that the worker role generated.
Figure 12 GuestBook Generated Thumbnail
For related topics, see the following posts.