Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Mastering Minimal APIs in ASP.NET Core
Mastering Minimal APIs in ASP.NET Core

Mastering Minimal APIs in ASP.NET Core: Build, test, and prototype web APIs quickly using .NET and C#

Arrow left icon
Profile Icon Andrea Tosato Profile Icon Marco Minerva Profile Icon Emanuele Bartolesi
Arrow right icon
£24.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (1 Ratings)
eBook Oct 2022 240 pages 1st Edition
eBook
£24.99
Paperback
£30.99
Subscription
Free Trial
Renews at £9.99p/m
Arrow left icon
Profile Icon Andrea Tosato Profile Icon Marco Minerva Profile Icon Emanuele Bartolesi
Arrow right icon
£24.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (1 Ratings)
eBook Oct 2022 240 pages 1st Edition
eBook
£24.99
Paperback
£30.99
Subscription
Free Trial
Renews at £9.99p/m
eBook
£24.99
Paperback
£30.99
Subscription
Free Trial
Renews at £9.99p/m

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
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Description

The Minimal APIs feature, introduced in .NET 6, is the answer to code complexity and rising dependencies in creating even the simplest of APIs. Minimal APIs facilitate API development using compact code syntax and help you develop web APIs quickly. This practical guide explores Minimal APIs end-to-end and helps you take advantage of its features and benefits for your ASP.NET Core projects. The chapters in this book will help you speed up your development process by writing less code and maintaining fewer files using Minimal APIs. You’ll also learn how to enable Swagger for API documentation along with CORS and handle application errors. The book even promotes ideas to structure your code in a better way using the dependency injection library in .NET. Finally, you'll learn about performance and benchmarking improvements for your apps. By the end of this book, you’ll be able to fully leverage new features in .NET 6 for API development and explore how Minimal APIs are an evolution over classical web API development in ASP.NET Core.

What you will learn

  • Adopt new features in .NET 6 for building lightweight APIs
  • Understand how to optimize API development with Minimal APIs in .NET 6
  • Discover best practices for accessing and using data in Minimal APIs
  • Understand how to validate incoming data to an API and return error messages
  • Get familiar with dependency injection and logging for identifying errors
  • Leverage the translation system in Minimal APIs to provide messages and errors in regional languages

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Oct 21, 2022
Length: 240 pages
Edition : 1st
Language : English
ISBN-13 : 9781803238500
Vendor :
Microsoft
Languages :
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
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Oct 21, 2022
Length: 240 pages
Edition : 1st
Language : English
ISBN-13 : 9781803238500
Vendor :
Microsoft
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
£9.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 6,500+ 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
£99.99 billed annually
Feature tick icon Unlimited access to Packt's library of 6,500+ 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 £5 each
Feature tick icon Exclusive print discounts
£139.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 6,500+ 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 £5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total £ 106.97
C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals
£37.99
Apps and Services with .NET 7
£37.99
Mastering Minimal APIs in ASP.NET Core
£30.99
Total £ 106.97 Stars icon
Visually different images

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(1 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Sergio Guidi T. Pessoa Dec 04, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Disclaimer: I received this book from Packt Publishing for an honest review.This book was written for people who know the basics of ASP.NET and want to improve their skills using the latest technology available for ASP.NET Core using Minimal APIs. The web keeps changing and improving at a fast pace and things that we knew years ago are becoming things of the past. But why not keep doing the things the way we are accustomed to doing and are sure that they will work just fine on the next project? Unfortunately, in the IT world as in many other professions, our learning is empirical and a lot of times based on trial and error, improving, trying again, fixing what is wrong until we find ourselves in a position where we can proudly say: “That is it, this works and does not need any more improvement!”, just to someone comes along and show us a better and faster way of doing things with less code. It is a well-known fact that code that needs a lot of changes will need more maintainability, increasing its cost exponentially.The most important aspect of a new trend is to do things better, faster, cheaper, and less prone to errors and we developers love to give a try to any new cool thing that is in town, to see for ourselves how good it is and how we can use it on our next project. This book starts with a quick introduction to Minimal APIs explaining their advantages and then jumps right in into working with it. There are many topics that you might have heard, but never had the chance to explore or use them as CORS, Swagger, Serilog, Dapper, and many others. There is no fluffy in this book as it goes straight to the point and doesn’t waste time with unnecessary explanations. Other important topics such as Validation and Mapping are also covered. The book does not stop there, it goes deeper into more advanced topics including Authentication and Authorization which are a must if you are creating anything on the internet to keep it secure.The book not only shows how things are done, but also covers the best practices such as Dependency Injection in a minimal API, to make your code more maintainable and less tightly coupled. Another important aspect of a successful web project is the performance of your site, and the book has a chapter on benchmarking and performance of minimal APIs to be sure that everything is running fast and smoothly. To summarize, this is a very well written book with an enjoyable reading through your journey to become a proficient ASP.NET Core developer using Minimal APIs.
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.