Create a Visual Studio Project to Use Mashape APIs

If you are a developer than you are very aware of API’s and if you use the web to develop then you are even more familiar with web API’s. I have created many web API projects for clients but there are sometimes when you want a very specific mashapeAPI but you don’t want to reinvent a wheel when a wheel has already been created by someone else. This is where mashape comes in. (You can even make a little gas money)

This is a great site to find some time saving APIs that are truly free (Just create an account). Over the next couple of blogs, I will be sharing some of those specific APIs that I think can save you a lot of time and headache. However before I get to those it is important to set up a base project to consume these snippets of value.

I use vb.net mostly and so this is written with that in mind however other Visual Studio types are very similar. Once you have this then you can start playing around. As I try and do for all of my articles, I have attached the VS2012 blank project below.

One other thing I want to mention is that I also use a library called unirest-net.dll. This is a .dll that provides a lot of reusable HTTP libraries in multiple versions. You can pick it up here or use Nuget to install it automatically and actually helps a lot when working with APIs.

To Begin this setup…..

1. Launch Visual Studio 2012

2. Create a new blank web site.

Figure1
3. Add the unirest-net.dll reference library.

4. Add a new web form.

Done……

Attached Project: BlankMashapeProject

You can now start to enjoy the new world of APIs. Stay tuned for the next article on actually validating email addresses.

Looking for quality web hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , | Posted under ASP .NET 4.0, Programming/Coding | RSS 2.0

Author Spotlight

David Bauernschmidt

David Bauernschmidt

I live in the historical triangle of Virginia where I am married with two daughters. I have spent over 13 years working for a Fortune 500 company in the computer area. I started in VB 6.0 and by the time I ended my employment I was supervising a development team where we built many web applications. When my first daughter was born I wanted to spend more time with her so I left and became a programmer analyst for local government as well as launch my own company. Since then I have grown James River Webs into a profitable web design and application company helping small businesses create a big presence on the internet. As an employee I have created web application used by citizens and other companies. I enjoy fly fishing, and spending time with my family. I also enjoy learning new approaches and development tools when it comes to developing applications.

Leave a Reply

Your email address will not be published. Required fields are marked *


+ 4 = 13

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>