Free Sample
+ Collection

RESTful Services with ASP.NET Web API [Video]

Fanie Reynders

Get hands-on experience of building RESTful services for the modern Web using ASP.NET Web API
RRP $84.99

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Video Details

ISBN 139781783285754
Course Length2 hours 4 minutes

About This Video

  • Apply your current ASP.NET knowledge to make your Web APIs more secure and comply to the global standard in order to make your service RESTful
  • Explore the possibilities of extending your Web APIs by making use of message handlers, filters, and media formatters
  • Comprehensive examples to help you build an end-to-end working solution for a real-use case

Who This Video Is For

This video tutorial is for web developers with a basic understanding of ASP.NET, HTML, and CSS.

Table of Contents

Definition and Features
Relationship with REST
ASP.NET Web APIs versus WCF
A Lap Around the Basics
A Uniform Interface
The APIController
Implementation by Convention
Verb to Attributes
A Hands-on Example: The Book Store
An Overview
Getting Started
Designing the Model
Creating the Endpoints
The Book Store: Service in Action
Securing Web APIs
Authentication and Authorization
Types of Authentication
Applying Custom Basic Authentication
Enabling SSL and Enforcing HTTPS
Applying Media Formatters
Message Handlers
Using Filters
The Service Resolver
Implementing OData
Interacting with Clients
The HttpClient
Using HttpClient Message Handlers
Creating a Custom Client
A Comprehensive Demo of The Book Store App
Documentation Using Help Pages
Adding Help Pages
Generating Additional Documentation
Adding a Test Client
Customizing Help Pages
Hosting and Deploying
Hosting Options
A Demo on Self-Hosting
A Demo on OWIN Hosting
Setting Up the Cloud with Azure
Deploying Your Web APIs

What You Will Learn

  • Understand the important features of ASP.NET Web API including its relationship to REST and WCF
  • Start building a real Web API from scratch to be consumed by any RESTful client
  • Learn about authentication and authorization, and applying security to the service over SSL
  • Explore extensibility options such as media type formatters to serve different file formats, message handlers to implement rate-limiting, filters for validation, dependency injection, and OData
  • Create a custom HTTP client and wire the client up to the service
  • Leverage the power of automatic documentation generation to provide comprehensive usage information for your Web API
  • Evaluate the different hosting options and publish your service to the cloud on Azure

In Detail

Today, apps are everywhere, and most of these apps run on complex cloud-based backends. ASP.NET Web API allows you to easily create and deploy Web APIs to be consumed in a RESTful manner by developers to build rich and interactive applications.

This video course is a great starting point for any web developer who wants to create simple web APIs in minutes. By applying your knowledge of ASP.NET in conjunction with the information provided in this video tutorial, you will learn to master the art of building RESTful services by example.

The video course begins with a brief introduction that will soon get you up to speed with the framework, and will then get you building a fully-functional Web API from scratch during the course of the tutorial.

You will learn some of the important features of ASP.NET Web API and how it aligns to the REST standard. You will explore the different implementation strategies and get familiar with some security implementations and ways to extend your APIs, including how to wire up the client side to the service. The tutorial also contains information on automatic documentation generation and deployment strategies such as publishing to Azure.

This video tutorial provides you with a comprehensive, clear, and easy-to-follow guide to creating RESTful services with ASP.NET Web API.



Read More

Recommended for You