In a recent Amazon Developers Forum post, there was a question regarding the availability of an S3 VB.NET Sample. There is an extremely easy way to go from C# (a C# REST and SOAP sample was provided by the Amazon folks) to VB.NET and/or Boo and back. This information could be useful to a lot of folks, so I’m republishing my response post here.
Firstly, a word regarding S3, Amazon’s new Web Storage and Retrieval System: An extended post is in the works regarding this system and why this suddenly and immediattelly opens the door for folks at any level to start a Web 2.0 company without extensive costs nor sweating any of the “do we have enough bandwidth to survive a surge” details.
Mark my words: S3 is going to change the world… for the better. :)
Now back to our regularly scheduled republication:
The easiest and quickest way to go from C# to VB (and Boo, a Python-esque lanuguage) is to use the latest release branch of SharpDevelop 2.0 [http://www.sharpdevelop.net/OpenSource/SD/Download/], open the VS.NET project file, and right-click the “S3Sample” project node (the first node below the Solution parent node) and select:
Convert > C# to VB.NET
Takes all of two seconds and your good to go (will put the new project and related files into a new [project_name].ConvertedtoVBNet in the same parent folder the project is located.)
I’ve done the REST sample for you… http://channelxml.com/downloads/S3_VB.zip
Hope this helps!
NOTE: If you follow the link to the original post you will notice I fixed some obvious spelling and grammar errors, and added a link I forgot to include in the original post in a follow-up post. Not that this really matters… Just wanted to be sure that folks are aware I did some clean up work to this post. Probably needs more, but I think it should be okay as-is :)