What is the ASP.NET Web API?

Instructor: Martin Gibbs

Martin has 16 years experience in Human Resources Information Systems and has a PhD in Information Technology Management. He is an adjunct professor of computer science and computer programming.

Web sites are great, but if we can't deliver them to the world, they are no good. We need to reach tablets, mobile phones, and traditional web browsers. The ASP.NET API is a tool to help us to that goal.

ASP.NET Web API

There are lots of acronyms here! In order to understand the ASP.NET API, we'll need to first break down the terms.

ASP.NET

ASP.NET is a web development model. It's a tool to build web applications with less code. You can build applications in the .NET framework. Wait, what's .NET?!

.NET

.NET is a Microsoft solution to provide businesses and individuals the opportunity to build web services (web applications). It's also a programming model (like ColdFusion) that lets programmers quickly build applications; .NET provides a huge library of tools, functions, and solutions.

Consider ASP.NET another component of the .NET family. As such, you have access to all classes and functions that come with .NET.

We're almost there! Let's add on the API and have some fun.

API

API stands for Application Program Interface. In today's world of web applications, API equates to online services. We access APIs all the time when we surf the web and shop online; the APIs are part of the engine that helps retrieve data from Amazon, iTunes, etc.

The ASP.NET web API lets you build HTTP services that can be deployed on browsers and mobile devices.

In the old days, web pages were built and were pretty static. HTTP was just there to serve the page. Times have changed and HTTP is a lot more flexible, which is how we can deliver this model to end users:

ASP API

Putting It Together

People no longer want to read a page full of plain text. They want apps, games, and stock screeners. Data presented on the web (or on their phone) needs to be consumable - in other words, useful and actionable. ASP.NET API is a tool to provide this type of service.

But what is it, really? We've been defining terms but the idea might still be a little murky.

Warning: The following statement contains graphic use of acronyms.

The ASP.NET API works to provide applications to browsers and mobile devices using HTTP services.

One more time - with the ASP.NET API, you can deliver applications using the HTTP protocol. These services can then be accessed by a wide array of browsers. It's also an entirely new platform, not just a bolt-on. It provides a very usable HTTP platform.

The days of simple web pages are over. The API allows us to serve up DATA as well as plain text and HTML markup. This includes images or files. It is also extensible, so you can add new input or output types without issues. It allows support for advanced HTTP features. You can even host it in on-Web applications.

To unlock this lesson you must be a Study.com Member.
Create your account

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use Study.com

Become a Study.com member and start learning now.
Become a Member  Back
What teachers are saying about Study.com
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 160 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Create an account to start this course today
Try it risk-free for 30 days!
Create An Account
Support