Introduction to ASP.NET Web API
Lecture
Toi Wright
Beginner
3 h 13 m
2016-05-30
Lecture Overview
This course provides an introduction to Microsoft’s ASPNET Web API framework for building RESTful HTTP services. It begins by explaining the benefits of a RESTful HTTP service. Then, through a combination of demonstrations and labs, the course proceeds to teach the student how to implement a RESTful HTTP service. By the end of the course, the student will have hands on experience with building and consuming a web service that can read and write complex data types over HTTP.

Related Learning Path(s):
Introduction to .NET Development
Pre-Requisites
  • Basic understanding of programming principles
  • Familiarity with Microsoft Visual Studio
Lecture Modules
This module provides an introduction to the ASP.NET Web API framework. The student will learn how the Web API framework fits into Microsoft’s overall ASP.NET framework. They will also learn the benefits of using a RESTful HTTP service. Finally, they will learn how to use Fiddler to test a web service that was written using the ASP.NET Web API framework.
In this module the student will become familiar with the various HTTP response codes and their meanings. They will learn how to return the appropriate HTTP response codes using IHttpActionResult. Also, they will learn about the built-in Web API Help Page. Finally, they will learn how to install Swagger into their application.
In this module the student will become familiar with parameter binding and model binding. Also, they will learn how to integrate Code First Entity Framework with a web service. They will learn how to use a web service to create, read, update and delete (CRUD) data from a SQL Server database by implementing POST, GET, PUT and DELETE methods. Finally, they will learn how to modify the database structure that was created by Entity Framework.
In this module the student will learn how to validate data. They will also learn how to use and create action filters for error handling. Finally, they will learn how to use custom routing to work with complex data types.
This module introduces the student to different methods of authentication and discusses the difference between authentication and authorization. In this module the student will learn how to use action filters for authentication and authorization. Also, they will be learn how to use basic authentication and OAuth 2.0 to secure an HTTP service.
In this module the student will learn how to programmatically consume an HTTP service. First they will learn to consume a service using the HttpClient class in the .NET framework and then they will learn to consume a service directly from an Html webpage by using JavaScript.
Try Risk Free
Start a free trial

Skill Me Up subscriptions include unlimited access to on-demand courses with live lab lab environments with our Real Time Labs feature for hands-on lab access.

Subscription Benefits
  • Access to Real Time Lab environments and lab guides
  • Course Completion Certificates when you pass assessments
  • MUCH MORE!