How To: ASP.NET Dynamic Image Composition Data Binding consuming Amazon Web Services using ImageDraw
Product ImageDraw for ASP.NET Published 09/24/2007 Updated 09/24/2007
Requirements
Neodynamic ImageDraw (2.0 or later) for ASP.NET
Microsoft .NET Framework (2.0 or later)
Microsoft Visual Studio .NET (2005 or later - Visual Web Developer Express Edition)
Amazon Web Services (AWS)
This white paper describes how you can use the ImageDraw's Dynamic Image Composition concept when working with real world XML Web Services such us Amazon Web Services which provides developers with direct access to Amazon's robust technology platform.
In order to demonstrate how you can use ImageDraw's Dynamic Image Composition concept in Web Services scenarios, a fictitious ASP.NET Music Search page was developed. The idea behind that demo application is to leverage search power and content data to Amazon Web Services while leveraging visual appearance of search results to ImageDraw controls. The following figure shows how the demo application works.
This sample demo was developed using Neodynamic ImageDraw controls, ASP.NET 2.0, and Visual Studio 2005. If you're using Visual Web Developer Express Edition you can open and run the download files as well.
Key features of this sample demo
-
Use Amazon Web Service (AWS) to get music titles based on keywords entered by users. The address of the WSDL (Web Services Description Language) file for the Amazon Web Services is this: http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl
IMPORTANT
Amazon Web Services require a subscription ID that you must pass with all requests to the service. In order to run the demo application on your machine you must ensure to register and receive your subscription ID at http://www.amazon.com/gp/aws/registration/registration-form.html - An ImageDraw control - inside a DataList - is used to dynamically merge local "static" images - a CD Case and a Price Spot - with CD Music Cover images and prices returned by Amazon Web Services, highly improving the whole appearance of the search results page. All this content is rendered by ASP.NET Data Binding.
Sample Files Download
Here are the VB.NET and C# versions of this sample. Please, download the zip file you want to. After extract it you'll find all necessary files to reproduce this step by step guide.
For ImageDraw 3.0
- For Visual Basic.NET: ImageDraw30AmazonWebServiceVB.zip (414 KB)
- For Visual C#.NET: ImageDraw30AmazonWebServiceCS.zip (430 KB)
For ImageDraw 2.0
- For Visual Basic.NET: ImageDrawAmazonWebServiceVB.zip (184 KB)
- For Visual C#.NET: ImageDrawAmazonWebServiceCS.zip (184 KB)
Remember to download and install ImageDraw in order to reproduce this sample demo.
Need help? Contact Support
We provide best-in-class customer service and support directly from members of our dev team! If we are available when you contact us, you will get a response in few minutes; otherwise the maximum turnaround is 24hs in most cases.