© 2018

Modern API Design with ASP.NET Core 2

Building Cross-Platform Back-End Systems


Table of contents

  1. Front Matter
    Pages i-xix
  2. Fanie Reynders
    Pages 1-7
  3. Fanie Reynders
    Pages 9-22
  4. Fanie Reynders
    Pages 23-36
  5. Fanie Reynders
    Pages 37-59
  6. MVC
    Fanie Reynders
    Pages 61-94
  7. Fanie Reynders
    Pages 95-111
  8. Fanie Reynders
    Pages 113-130
  9. Fanie Reynders
    Pages 131-153
  10. Fanie Reynders
    Pages 155-184
  11. Fanie Reynders
    Pages 185-201
  12. Fanie Reynders
    Pages 203-227
  13. Back Matter
    Pages 229-236

About this book


Use ASP.NET Core 2 to create durable and cross-platform web APIs through a series of applied, practical scenarios. Examples in this book help you build APIs that are fast and scalable. You’ll progress from the basics of the framework through to solving the complex problems encountered in implementing secure RESTful services. The book is packed full of examples showing how Microsoft’s ground-up rewrite of ASP.NET Core 2 enables native cross-platform applications that are fast and modular, allowing your cloud-ready server applications to scale as your business grows. 

Major topics covered in the book include the fundamentals and core concepts of ASP.NET Core 2. You'll learn about building RESTful APIs with the MVC pattern using proven best practices and following the six principles of REST. Examples in the book help in learning to develop world-class web APIs and applications that can run on any platform, including Windows, Linux, and MacOS. You can even deploy to Microsoft Azure and automate your delivery by implementing Continuous Integration and Continuous Deployment pipelines.

What You Will Learn:
  • Incorporate automated API tooling such as Swagger from the OpenAPI specification
  • Standardize query and response formats using Facebook’s GraphQL query language
  • Implement security by applying authentication and authorization using ASP.NET Identity
  • Ensure the safe storage of sensitive data using the data protection stack
  • Create unit and integration tests to guarantee code quality


Kestrel .NET Core .NET Core CLI Entity Framework ASP.NET Core Identity Continuous Integration Continuous Delivery Model View Controller MVC GraphQL Visual Studio REST

Authors and affiliations

  1. 1.OdijkThe Netherlands

About the authors

Fanie Reynders is a software engineer with over a decade of experience in the software industry, specifically focusing on web and cloud solutions. He is a Microsoft Certified Professional and a Microsoft MVP. Fanie is secretly a cloud technology evangelist obsessed with code, architecture, and shiny new tech. He shares knowledge wherever to whoever will listen. He likes teaching, writing, and vlogging about the things that make him happy. He is the coolest dad. He is originally from South Africa and lives in The Netherlands. Visit his blog at or follow him on Twitter at @FanieReynders.

Bibliographic information