SimpleDB Access From Microsoft Visual Studio 2008

Sample Code & Libraries>SimpleDB Access From Microsoft Visual Studio 2008
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

This sample (with associated video) shows how to access Amazon SimpleDB via a proxy class from a Microsoft Visual Studio 2008 ASP.NET application. This sample allows you to use the design-time features such as the DataGrid, while simultaneously demonstrating how to incorporate a paging strategy that navigates both directions thru a SimpleDB result set.

Details

Submitted By: Mike Culver
AWS Products Used: Amazon SimpleDB
Language(s): C#
License: Apache License 2.0
Created On: April 22, 2009 5:49 AM GMT
Last Updated: April 27, 2009 3:42 PM GMT
Download

Despite the many advantages of Amazon SimpleDB and Visual Studio 2008, the one big gottcha is that Visual Studio 2008's design-time tool expects a traditional relational database. This code sample uses a proxy class and the ObjectDataSource object in Visual Studio to trick VS into thinking that SimpleDB is a native data source. In the end things looks and feel like a normal ASP.NET data-bound project — at least to VS.

The intent of this project is to serve as a "copy and adapt" cookbook for your own project, and your own data. Once you load the sample data and play with it "as is" in Visual Studio 2008, you'll find out that integrating VS with Amazon SimpleDB is, well, simple!

Video
There is an associated video available that walks thru how to integrate the code in Visual Studio. Two formats are available: Flash (51 MB), and Windows Media (32 MB)

©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.