how to do an amazon lookup similar to this, http://blogs.msdn.com/b/coding4fun/archive/2006/10/31/912260.aspx, I would just use this, but it seems to be out of date and the source is no longer available. Ideal What i would like to be able to do is look up items on either keyword such as "star trek" or straight up UPC. What I would like to get back is title, description, year, and a link to an image, type (dvd, books, music).
I'm using visual studio 2008 and trying to do API itemsearch like books or something.I am using just accessKeyId, but when I click my "search" button to search books, then comes signature error. Do I need to use secretKeyID also? I just created new ASP.Net web site in visual studio Or I have to use AWS SDK for.Net package?
I am making an amazon S3 downloader. In download method I prepare a url something like [URL] I redirect the user to that url (which opens that image.gif in the browser) I see the image opened in the browser , but not as SAVE AS widow to save at a location. I have heard that I can add HEADERS in Response which can force SAVE AS dialog to save the file. how those headers re added?
I've got a client that is planning on selling content on iTunes, Amazon and Audible. I've done some quick searching, but so far, have come up empty: Is it possible to tie into these systems via an API to get access to sales? asically, I want to have the ability to know which items a user has purchased when they log into the standard website of my client. Maybe there's a way to get this information if the user supplies an order number or something?
In order to maintain user uploaded images in website becomes very tough as the number of images are increasing. In the long run the available disk space will come to 0 bytes.
Amazon generally provides unlimited space for their S3 service. If we want to provide unlimited space to our website what are the possible ways?
I am trying to pull all products from Amazon Product API, but as far as I know, that's impossible to do unless they give you access to Bulk Data Feeds.
I have to create a web app (in C#) that's gonna let my users upload their files straight to Amazon S3 (not enough bandwidth on our own server). It looks like the only way i can do that is posting a simple HTML form to Amazon. The problem is that i have to do some work on my server too, like renaming the files, setting up flags on db when file is uploaded, and so on. I really can't see how to do that without uploading files first on our server, which is out of question, so other solution for this? Amazon S3 forum is pretty poor on this topic.
I have a bunch of EC2 servers that are load balanced. Some of the servers are not sharing session, and users keep getting logged in and out. How can I make all the server share the one session, possibly even using a partitionresolver solution
public class PartitionResolver : System.Web.IPartitionResolver { private String[] partitions; public void Initialize() { // create the partition connection string table // web1, web2 partitions = new String[] { "192.168.1.1" }; }
public String ResolvePartition(Object key) { String oHost = System.Web.HttpContext.Current.Request.Url.Host.ToLower().Trim(); if (oHost.StartsWith("10.0.0") || oHost.Equals("localhost")) return "tcpip=127.0.0.1:42424"; String sid = (String)key; // hash the incoming session ID into // one of the available partitions Int32 partitionID = Math.Abs(sid.GetHashCode()) % partitions.Length; return ("tcpip=" + partitions[partitionID] + ":42424"); } }
I have a web page on which I want to show reviews from a particular Amazon product. How do I do that? Whenever a new review is written on Amazon, my page should be able to show that.
I want an image carousel similar to Amazon's product carousel in asp.net. when i will click on next or prev button the list of images will load from server after ajax call.
I've dug around in the SDK and managed to connect to my instance of S3, go into my bucket and create an empty file, but can't figure out how to take a file from my computer and upload it. If I have dragged a file upload control onto the designer surface how do I set the properties for it in the code behind?(If I absolutely need to have a 3rd party uploader which should I use). Here is the code I have so far.
static string bucketName = "myBucket"; static string keyName = "sampleKey"; static AmazonS3 client; protected void Page_Load(object sender, EventArgs e) { string accessKeyID = System.Configuration.ConfigurationManager.AppSettings["AWSAccessKey"]; string secretAccessKeyID = System.Configuration.ConfigurationManager.AppSettings["AWSSecretKey"]; using (client = Amazon.AWSClientFactory.CreateAmazonS3Client(accessKeyID, secretAccessKeyID)) { // simple object put PutObjectRequest request = new PutObjectRequest(); request.WithContentBody("this is a test") .WithBucketName(bucketName) .WithKey(keyName); S3Response response = client.PutObject(request); response.Dispose(); // put a more complex object with some metadata and http headers. PutObjectRequest titledRequest = new PutObjectRequest(); titledRequest.WithMetaData("title", "the title") .WithContentBody("this object has a title") .WithBucketName(bucketName) .WithKey(keyName); using (S3Response responseWithMetadata = client.PutObject(request)) { WebHeaderCollection headers = response.Headers; foreach (string key in headers.Keys) { Console.WriteLine("Response Header: {0}, Value: {1}", key, headers.Get(key)); } } } }