O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning ASP.NET Web API

Video Description

Accelerate your skills to build a RESTful Web API with ASP.NET Core

About This Video

  • Develop a complete enterprise-level REST-based HTTP service from scratch using ASP.NET Core Web API with the latest standards

  • Explore all the building blocks: Routing, Controllers, Content Negotiations, and security with advanced topics such as versioning, dependency injection, caching, and more

  • Create robust and scalable APIs with best methods.

  • In Detail

    Revolutionary changes in the mobile world introduced various type of devices such as smart phones, tablets, and IoT devices, all connected to a network based on a HTTP protocol and HTML 5. This lead to a big push to build REST-based services that expose data over HTTP with content negotiation techniques that can be seamlessly consumed by various devices with different platforms. ASP.NET Web API is the primary framework for .NET developers to build REST-based services using the latest standards and serve the growing need to expose data.

    This course takes you on a journey right from the basics and explains the building blocks of Web API through an example application. Starting off with the basics, we discuss REST Constraints when designing an API with a change in the ASP.NET Core framework. Then we explore building blocks such as Routing, URI Controllers, HTTP verbs, and implement REST through examples.

    As we move on, we’ll delve into some advanced key topics such as dependency injection, versioning, caching, and more to build a modular, testable and maintainable application. Then we consume the complete API using an MVC client and provide a quick overview of AngularJS Client.

    Finally, we develop a Restful API using ASP.Net Core API. We wrap up with a few handy tips and best practices to make robust and scalable APIs. By the end of this course, you will have a thorough knowledge of Web API services and advanced features so you can easily get started.

    Table of Contents

    1. Chapter 1 : Introduction to Web APIs
      1. The Course Overview 00:06:49
      2. Understanding REST 00:08:21
      3. Introduction to ASP.NET Web API 00:03:18
      4. What’s New in ASP.NET Core 1.0? 00:06:02
    2. Chapter 2 : Getting Started with the Project
      1. Creating a New Web API Project 00:06:35
      2. Setting Up the Infrastructure 00:06:52
      3. Creating Web API Controller 00:07:18
      4. Serialization 00:04:52
      5. Routing 00:05:49
    3. Chapter 3 : Building the Web API
      1. Understanding HTTP Verbs 00:03:54
      2. Implementing GET 00:04:07
      3. Implementing POST 00:03:22
      4. Implementing PUT 00:02:22
      5. Implementing DELETE 00:01:58
      6. Implementing PATCH 00:03:05
    4. Chapter 4 : Adding More Features to Web API
      1. Associations and URI Mapping 00:05:20
      2. Implementing Sorting 00:03:07
      3. Implementing Paging 00:05:21
      4. Implementing Filters 00:03:04
    5. Chapter 5 : Security in ASP.NET Web API
      1. Understanding Security 00:04:14
      2. Using SSL 00:03:35
      3. Cross Origin Resource Sharing (CORS) 00:03:29
      4. Implementing Authentication 00:04:46
      5. Implementing Authorization 00:02:59
      6. OAuth and Web API 00:04:03
    6. Chapter 6 : Advanced Topics
      1. Dependency Injection 00:04:36
      2. HTTP Caching 00:03:01
      3. Demo – HTTP Caching 00:03:19
      4. Versioning 00:04:53
      5. Demo – Versioning 00:04:44
    7. Chapter 7 : Consuming the API
      1. Getting the Resources 00:05:27
      2. Adding New Resources 00:02:25
      3. Updating Resources 00:01:59
      4. Deleting Resources 00:01:24
      5. Sorting and Paging 00:03:02
      6. Caching and Versioning 00:03:27
    8. Chapter 8 : Tips/Tricks and Best Practices
      1. Designing the URI 00:03:16
      2. HTTP Verbs – What not to do 00:02:30
      3. Usage of HTTP Status Codes 00:04:03
      4. Caching Best Practices 00:02:01
      5. Other Common Practices 00:02:08
      6. What’s Next? 00:03:11