Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Hands-On RESTful Web Services with ASP.NET Core 3
Hands-On RESTful Web Services with ASP.NET Core 3

Hands-On RESTful Web Services with ASP.NET Core 3: Design production-ready, testable, and flexible RESTful APIs for web applications and microservices

Arrow left icon
Profile Icon Resca
Arrow right icon
S$32.99 S$47.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.5 (8 Ratings)
eBook Dec 2019 510 pages 1st Edition
eBook
S$32.99 S$47.99
Paperback
S$59.99
Subscription
Free Trial
Arrow left icon
Profile Icon Resca
Arrow right icon
S$32.99 S$47.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.5 (8 Ratings)
eBook Dec 2019 510 pages 1st Edition
eBook
S$32.99 S$47.99
Paperback
S$59.99
Subscription
Free Trial
eBook
S$32.99 S$47.99
Paperback
S$59.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Table of content icon View table of contents Preview book icon Preview Book

Hands-On RESTful Web Services with ASP.NET Core 3

Section 1: Getting Started

In this section, we will introduce you to all the macro concepts of REST APIs and ASP.NET Core. You will also learn about local development.

This section includes the following chapter:

  • Chapter 1, REST 101 and Getting Started with ASP.NET Core
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Apply design patterns and techniques to achieve a reactive, scalable web service
  • Document your web services using the OpenAPI standard and test them using Postman
  • Explore mechanisms to implement a secure web service using client-side SSL and token authentication

Description

In recent times, web services have evolved to play a prominent role in web development. Applications are now designed to be compatible with any device and platform, and web services help us keep their logic and UI separate. Given its simplicity and effectiveness in creating web services, the RESTful approach has gained popularity, and this book will help you build RESTful web services using ASP.NET Core. This REST book begins by introducing you to the basics of the REST philosophy, where you'll study the different stages of designing and implementing enterprise-grade RESTful web services. You'll also gain a thorough understanding of ASP.NET Core's middleware approach and learn how to customize it. The book will later guide you through improving API resilience, securing your service, and applying different design patterns and techniques to achieve a scalable web service. In addition to this, you'll learn advanced techniques for caching, monitoring, and logging, along with implementing unit and integration testing strategies. In later chapters, you will deploy your REST web services on Azure and document APIs using Swagger and external tools such as Postman. By the end of this book, you will have learned how to design RESTful web services confidently using ASP.NET Core with a focus on code testability and maintainability.

Who is this book for?

This book is for anyone who wants to learn how to build RESTful web services with the ASP.NET Core framework to improve the scalability and performance of their applications. Basic knowledge of C# and .NET Core will help you make the best use of the code samples included in the book.

What you will learn

  • Gain a comprehensive working knowledge of ASP.NET Core
  • Integrate third-party tools and frameworks to build maintainable and efficient services
  • Implement patterns using dependency injection to reduce boilerplate code and improve flexibility
  • Use ASP.NET Core s out-of-the-box tools to test your applications
  • Use Docker to run your ASP.NET Core web service in an isolated and self-contained environment
  • Secure your information using HTTPS and token-based authentication
  • Integrate multiple web services using resiliency patterns and messaging techniques

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Dec 27, 2019
Length: 510 pages
Edition : 1st
Language : English
ISBN-13 : 9781789539240
Vendor :
Microsoft
Languages :
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning

Product Details

Publication date : Dec 27, 2019
Length: 510 pages
Edition : 1st
Language : English
ISBN-13 : 9781789539240
Vendor :
Microsoft
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total S$ 238.97
ASP.NET Core 3 and React
S$59.99
C# 8.0 and .NET Core 3.0 – Modern Cross-Platform Development
S$118.99
Hands-On RESTful Web Services with ASP.NET Core 3
S$59.99
Total S$ 238.97 Stars icon

Table of Contents

25 Chapters
Section 1: Getting Started Chevron down icon Chevron up icon
REST 101 and Getting Started with ASP.NET Core Chevron down icon Chevron up icon
Section 2: Overview of ASP.NET Core Chevron down icon Chevron up icon
Overview of ASP.NET Core Chevron down icon Chevron up icon
Working with the Middleware Pipeline Chevron down icon Chevron up icon
Dependency Injection System Chevron down icon Chevron up icon
Web Service Stack in ASP.NET Core Chevron down icon Chevron up icon
Routing System Chevron down icon Chevron up icon
Filter Pipeline Chevron down icon Chevron up icon
Section 3: Building a Real-World RESTful API Chevron down icon Chevron up icon
Building the Data Access Layer Chevron down icon Chevron up icon
Implementing the Domain Logic Chevron down icon Chevron up icon
Implementing the RESTful HTTP Layer Chevron down icon Chevron up icon
Advanced Concepts of Building an API Chevron down icon Chevron up icon
The Containerization of Services Chevron down icon Chevron up icon
Service Ecosystem Patterns Chevron down icon Chevron up icon
Implementing Worker Services Using .NET Core Chevron down icon Chevron up icon
Securing Your Service Chevron down icon Chevron up icon
Section 4: Advanced Concepts for Building Services Chevron down icon Chevron up icon
Caching Web Service Responses Chevron down icon Chevron up icon
Logging and Health Checking Chevron down icon Chevron up icon
Deploying Services on Azure Chevron down icon Chevron up icon
Documenting Your API Using Swagger Chevron down icon Chevron up icon
Testing Services Using Postman Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.5
(8 Ratings)
5 star 50%
4 star 12.5%
3 star 0%
2 star 12.5%
1 star 25%
Filter icon Filter
Top Reviews

Filter reviews by




Skytide Feb 18, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I've gone through a lot of different .NET Web API books and most of them are confusing and not very complete. Sometimes I'll get lucky and find a good chapter about Web API in some .NET related book. For example, I found a good chapter about Web API in a .Net React book, but it wasn't as in-depth as this book (since it was only one chapter). This book is by far one of the better books covering all you need to know to start developing .NET Web API. It covers a lot of .NET Core concepts as well, which are needed for Web API. Because of this, it is a very complete book. I like that the author understands many of the intricacies of .NET and explains them in this book.I was confused about some of the bad ratings. I didn't see a lot of fluff in the book. Instead I saw a lot of valuable information. Maybe for someone who doesn't want to learn the small details might find this book overwhelming. But, if you want to be a good developer/programmer, you need to know the details. I've worked with too many developers who don't understand what they are doing and end up creating messy code.I highly recommend this book. I know .NET 6 is already out, but I couldn't find any newer books on Web API that I liked. So, I'm sticking with this one.
Amazon Verified review Amazon
Buti Tlhoaele Sep 15, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The exact material I was looking for...
Amazon Verified review Amazon
tracy mccarhty Jun 09, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This covers all topics needed to create web site in .NET. Nice definitions for routing which I found most useful
Amazon Verified review Amazon
Joseph A. Francis Mar 05, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have 28 years of professional experience and have read thousands of books on software development. This one is clear and to the point. I am not sure why there are bad reviews, but perhaps it is because the book is not helpful for absolute beginners. You really do need to understand C# and .NET to jump into this book, but for any experienced developer, this book is the only book you need for ASP.NET Core RESTful services.
Amazon Verified review Amazon
Felix Mar 28, 2020
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
This book covers a lot of fairly advanced topics in less than 500 pages:- Middleware- Filters- Storing temporary (shopping cart) data using Redis- Resilience using Polly- Event bus using RabbitMQ- Distributed caching using Redis- HATEOAS- Swaggerin addition, of course, to standard concepts like Entity Framework with Repository Pattern, Unit Testing, JWT-based authorization, etc.The book also covers third-party tools and technologies, like Docker, Azure, Postman.So, sometimes you get a feeling that there is too much information crammed (many "advanced" books suffer from opposite problem - they try to explain in excruciating details even the most basic concepts). I could live without Repository pattern (IMHO, obsolete approach nowadays) and Azure deployment (we standardize on AWS). And with focus on Docker - there was no explanation how to deploy RabbitMQ or Redis without it. If you don't have prior experience - you will not get guidance from this book.But I understand that the author has to draw the balance somewhere - this may be perfect for somebody else. As they say, YMMV. Things that I learned about resilience in the chapter about Polly are perfect for me! The biggest downside for me is that from chapter 11 there is no way to actually run the code that we are developing!This book is clearly written by non-English native speaker... and would strongly benefit from a good technical editor. Some advanced topics are very difficult to understand because of that; and Chapter 15 indeed has a number of embarrassing errors. But overall, this is a book from which I learned a number of advanced skills and will refer to for months to come!NOTE to Amazon: book page shows that there are 3 reviews, but it only shows 1! Also, for some strange reason you do not allow comments on non-US reviews (probably for GDPR or some other weird reason). For the company that has AWS division that touts easing of GDPR compliance, this should be really embarrassing!
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.