Minimal APIs are architected to create HTTP APIs with minimal dependencies. They are ideal for microservices and apps that want to include only the minimum files, features, and dependencies in ASP.NET Core. This introductory-level course teaches you how to create RESTful APIs and apply them in the real world.
We will start with understanding what minimal APIs are, why they are needed, and when to use them followed by understanding the differences and similarities between Minimal and MVC APIs. We will focus on implementing collection APIs, Entity Framework, and Dependency Injection. We will look at the return types like returning results in Minimal API asynchronously. We will cover important concepts like Data Transfer Objects (DTO), AutoMapper, handling exceptions, and implement individual item endpoints such as GET, PUT, and DELETE.
This course will provide significant knowledge of implementing Minimal API for your next RESTful API-related project. At the end of this course, you will know how to create a Minimal Web API using .NET Core. The course teaches you to use the building concepts easily by following a step-by-step approach, making you confident to create a new Minimal API project instantly.
All the resources for this course are available at: https://github.com/PacktPublishing/Hands-on-.NET-Minimal-API-for-Web-De…
Learn about Minimal APIs, the need, and when to use them
Differentiate between Minimal APIs and MVC APIs
Learn API collection with Entity Framework and Dependency Injection
Learn Minimal API with DTO, AutoMapper, and handle exceptions
Implement individual item endpoints such as GET, PUT, and DELETE
Learn to add AutoMapper to map data and input models
You need to know the basics of designing a RESTful API along with a PC running Windows, macOS, or Linux with Visual Studio Code (or a similar IDE that can build C# projects) to carry out hands-on activities and exercises for this course.