Oreilly - Learning ASP.NET Web API
by Brij Bhushan Mishra | Released June 2016 | ISBN: 9781785885945
Accelerate your skills to build a RESTful Web API with ASP.NET CoreAbout This VideoDevelop a complete enterprise-level REST-based HTTP service from scratch using ASP.NET Core Web API with the latest standardsExplore all the building blocks: Routing, Controllers, Content Negotiations, and security with advanced topics such as versioning, dependency injection, caching, and moreCreate robust and scalable APIs with best methods.In DetailRevolutionary 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.This course uses ASP.NET Core 1.0 while not the latest version available, it provides relevant and informative content for legacy users of ASP.NET. Show and hide more
- Chapter 1 : Introduction to Web APIs
- The Course Overview 00:06:49
- Understanding REST 00:08:21
- Introduction to ASP.NET Web API 00:03:18
- What’s New in ASP.NET Core 1.0? 00:06:02
- Chapter 2 : Getting Started with the Project
- Creating a New Web API Project 00:06:35
- Setting Up the Infrastructure 00:06:52
- Creating Web API Controller 00:07:18
- Serialization 00:04:52
- Routing 00:05:49
- Chapter 3 : Building the Web API
- Understanding HTTP Verbs 00:03:54
- Implementing GET 00:04:07
- Implementing POST 00:03:22
- Implementing PUT 00:02:22
- Implementing DELETE 00:01:58
- Implementing PATCH 00:03:05
- Chapter 4 : Adding More Features to Web API
- Associations and URI Mapping 00:05:20
- Implementing Sorting 00:03:07
- Implementing Paging 00:05:21
- Implementing Filters 00:03:04
- Chapter 5 : Security in ASP.NET Web API
- Understanding Security 00:04:14
- Using SSL 00:03:35
- Cross Origin Resource Sharing (CORS) 00:03:29
- Implementing Authentication 00:04:46
- Implementing Authorization 00:02:59
- OAuth and Web API 00:04:03
- Chapter 6 : Advanced Topics
- Dependency Injection 00:04:36
- HTTP Caching 00:03:01
- Demo – HTTP Caching 00:03:19
- Versioning 00:04:53
- Demo – Versioning 00:04:44
- Chapter 7 : Consuming the API
- Getting the Resources 00:05:27
- Adding New Resources 00:02:24
- Updating Resources 00:01:59
- Deleting Resources 00:01:24
- Sorting and Paging 00:03:02
- Caching and Versioning 00:03:27
- Chapter 8 : Tips/Tricks and Best Practices
- Designing the URI 00:03:16
- HTTP Verbs – What not to do 00:02:30
- Usage of HTTP Status Codes 00:04:03
- Caching Best Practices 00:02:01
- Other Common Practices 00:02:08
- What’s Next? 00:03:11
Show and hide more