Implementing REST Services using Web API

REST has emerged in recent years as a tremendously important vehicle for creating flexible and standards-based distributed systems and microservice architectures. This course describes REST best practices and discusses important architectural and API modelling concepts, which you need to know in order to create scalable, flexible, and performant REST APIs. The course discusses many of the rich framework APIs and advanced techniques available.

What you will learn:

  • Creating REST services using Web API
  • Understanding attribute routing
  • Configuring serialization
  • Implementing middleware, filters, and model binders
  • Working with OData
  • Containerizing ASP.NET Core applications
  • REST best practices

Prerequisites:

  • 6 months experience of C# programming

Course outline:

  • Web API Essential Concepts: Overview of REST Services; Web API Essential Concepts in .NET; Implementing Industrial-Strength Actions
  • A Closer Look at Attribute Routing: Recap of Attribute Routing; Route Constraints; Additional Techniques
  • Dependency Injection, Configuration, and Entity Framework: Dependency Injection in Web API applications; Configuration; Using Entity Framework Core
  • Serialization: Essential Concepts; JSON Media-Type Formatting; XML Media-Type Formatting; Implementing HTTP Clients
  • Web API Techniques: Parameter Binding; Custom Middleware Components; Overview of Filters; Defining and Using Custom Filters
  • Working with OData: Introduction to OData; Performing OData Queries; Modifying Data using OData; Implementing an OData Service
  • Containerizing ASP.NET Core Apps: Overview of Containerization and Docker; Understanding Docker Images; Containerizing a Minimal ASP.NET Web App ; Containerizing via Visual Studio
  • REST Design Best Practices: Basic Good Practice; Designing Resources; Filtering, Sorting, and Searching; Representing Data; Quality of Service Issues

Andy Olsen - author of the course

Andy is a freelance consultant and instructor based in the UK, working mostly in the City of London and Oxford. Andy has been working with .NET since the Beta 1 days and has extensive experience in many facets of .NET development including WCF, WPF, WF, ASP.NET MVC Web development, and mobile applications. Andy has designed and written many Microsoft Official Curriculum courses in the last decade, and has been engaged as author and technical reviewer with Apress on some of their biggest selling books.

Other relevant courses

4. December
3 days
Classroom Virtual
27. November
3 days
Classroom Virtual
4 days
Classroom