Learning ASP.NET Web API
3.8 (63 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
325 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Learning ASP.NET Web API to your Wishlist.

Add to Wishlist

Learning ASP.NET Web API

Accelerate your skills to build a RESTful Web API with ASP.NET Core
3.8 (63 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
325 students enrolled
Created by Packt Publishing
Last updated 10/2016
English
Current price: $10 Original price: $75 Discount: 87% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 3 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Take a closer look at the redesigned ASP.Net 5
  • Understand the REST basics and its constraints through real-life examples
  • Walk through the building blocks of ASP.NET Web API with scenario-based examples
  • Implement various data transfer operations and content negotiation
  • Deploy security techniques in your application to avoid threats
  • Be guided through advanced topics such as dependency Injection, API versioning, and HTTP caching to build a maintainable application
  • Get tips and best practices to write better, highly scalable, and performant Web API services
View Curriculum
Requirements
  • This example-based video guide is full of pictorial presentations of the core concepts. It contains real-life scenario-based practical examples, and clear step-by-step instructions, as well as tips and best practices.
  • You must know C#, HTML, and CSS, and have some understanding of JavaScript.
Description

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.

About The Author

Brij Bhushan Mishra is a 5 times Microsoft MVP, Author, blogger, speaker and .NET geek. He is currently associated with an MNC as Technical Architect/Consultant in Microsoft technologies.  He is also a Microsoft certified Technology Specialist in Web Applications and Windows Communication Foundation Applications. He is very active in community and regularly speaks in various conferences and user groups. Some of his blog posts have been featured on the ASP.NET Microsoft official website and other various online communities. Other than his community activities, he loves exploring new places with his lovely wife.


Who is the target audience?
  • This video course is for any ASP.NET web developer who has developed applications with the framework, but do not understand how to work with Web API, or how APIs work in general.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
42 Lectures
02:49:47
+
Introduction to Web APIs
4 Lectures 24:27

This video gives an overview of the entire course.

Preview 06:48

This video briefly discusses the history of web services and then introduces REST, with its architectural constraints.

Understanding REST
08:21

In this video, we will talk about building REST services in .NET, and then we will introduce ASP.NET Web API.

Introduction to ASP.NET Web API
03:17

Discuss the changes in ASP.NET Core at a high level.

What’s New in ASP.NET Core 1.0?
06:01
+
Getting Started with the Project
5 Lectures 31:25

This video aims to provide the viewers their first hands-on experience on ASP.NET Web API projects with Visual Studio, including setting up the infrastructure, exposing the first API, serialization, and routing.

Preview 06:35

Initialize the application with required Web API/MVC libraries and add the Data Access project sample in the application.

Setting Up the Infrastructure
06:52

This video details how to create a controller and run the application. Later, it shows how the application would be connecting to the database.

Creating Web API Controller
07:18

This video discusses serialization and explores the options available with ASP.NET Web API.

Serialization
04:52

Routing is a key concept in ASP.NET Web API. We will learn why it is important, its implantation, and its usage.

Routing
05:48
+
Building the Web API
6 Lectures 18:46

This video talks about HTTP verbs and their importance in Web API.

Preview 03:54

This video explains the GET verb implementation.

Implementing GET
04:06

Implement the Post verb and see how the data is passed at the server and the response is sent back to the client.

Implementing POST
03:22

Implement the PUT verb and see how the data is passed at the server to update an item and the response comes back to the client.

Implementing PUT
02:22

This video covers the implementation of the DELETE verb.

Implementing DELETE
01:58

In this video, we will implement another HTTP verb, called PATCH.

Implementing PATCH
03:04
+
Adding More Features to Web API
4 Lectures 16:51

Retrieve inner resources directly and discuss URI mapping.

Preview 05:19

How to implement sorting and how to pass the required information to API?

Implementing Sorting
03:07

How to implement paging and its execution?

Implementing Paging
05:21

Search is a common functionality for an API. In this video we will see how we should implement it.

Implementing Filters
03:04
+
Security in ASP.NET Web API
6 Lectures 23:02

What is security and its relevance in ASP.NET Web API?

Preview 04:13

This video deals with SSL and discusses what SSL is. As a developer, you need to make sure that the API is exposed via HTTPS only.

Using SSL
03:34

Consuming web APIs hosted at various servers or even third-party APIs is a basic requirement. But can we access that as it is? It requires cross-origin resource sharing.

Cross Origin Resource Sharing (CORS)
03:29

This video talks about: what is authentication, various options of authentication, and finally one type authentication for a demo.

Implementing Authentication
04:45

Authorization provides the details of accessibility for an authenticated user. We will detail about authorization, the role of claims, authorization policy (which is introduced in ASP.Net Core), and how to implement that.

Implementing Authorization
02:58

OAuth is another protocol for implementation of authentication. In this video, we will see what OAuth is.

OAuth and Web API
04:03
+
Advanced Topics
5 Lectures 20:31

This video discusses dependency injection. Get to know how ASP.NET Core supports caching and its default DI container.

Preview 04:36

What is HTTP Caching and what are ETags and their types? Also, let’s glance through the functioning of ETags.

HTTP Caching
03:00

What is CacheCow? How to use ETag and implement via custom middleware? We also cover configuring the middleware and consuming it.

Demo – HTTP Caching
03:19

Requirements change with the time and so does our API. But we need to have both backward compatibility and new changes. So, versioning comes into the picture. We will see it in detail.

Versioning
04:53

How to implement various versioning approaches?

Demo – Versioning
04:43
+
Consuming the API
6 Lectures 17:41

What are the clients and platforms to consume the API? What is the best way to consume an MVC client and how to retrieve the resources?

Preview 05:27

Let’s initiate the POST request to Web API via the MVC client and the required header that needs to be passed. Also, we need to check the status code of the response and verify that the item got created successfully at the server.

Adding New Resources
02:24

In this video, we aim to see how to update a resource and what all steps are required for the same.

Updating Resources
01:58

Aim to delete a resource via an MVC client and the required information to provide the API.

Deleting Resources
01:23

We have retrieved the resources in the first video of this section. Now we will see how to consume the sorting and paging functionality.

Sorting and Paging
03:02

Explore how to consume the caching capability and the versioning feature of web API without lot many changes.

Caching and Versioning
03:27
+
Tips/Tricks and Best Practices
6 Lectures 17:04

Know why URI design is required and best practices around it such as resource identification, its form, unique resource selection, and related resources.

Preview 03:15

Get to know what the best practices around using HTTP verbs are and the common mistakes while using GET and POST verbs. We will also cover the key characteristics of HTTP verbs and a few best practices around that.

HTTP Verbs – What not to do
02:29

Learn what the HTTP status codes are, why we should use them, and a few common issues around that. Also, what is the minimum set of status codes that should be used in a well-written Web API service?

Usage of HTTP Status Codes
04:02

Learn what caching is, its importance, options, and what to use.

Caching Best Practices
02:00

What are other common best practices?

Other Common Practices
02:07

Get to know what the touch points of the course are and further reference material.

What’s Next?
03:11
About the Instructor
Packt Publishing
3.9 Average rating
7,219 Reviews
51,593 Students
616 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.