Web API

I’m currently implementing WebAPI into my company’s external web services.  It was pretty easy to learn and add to our existing WCF web services.  I used online videos (especially PluralSight) and ASP.NET to get acquainted with Web API:

I went with MVC version 4.0 and I created methods using a routing of “Api/{controller}/{action}”

The automatic help documentation is very impressive.

I first created a sample Web API project and then copied and pasted the code into my existing web service project.  I did have to add a lot of references and install a lot of packages from NuGet but it was fairly easy to do.

I liked testing the APIs with Fiddler.  It is easy to switch back and forth between JSON and XML.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s