This is the code repository for Minimal APIs in ASP.NET 9, published by Packt.
Design, implement, and optimize robust APIs in C# with .NET 9
This book offers developers a holistic understanding of minimal API development in .NET. You’ll start with concepts like data mapping and end your journey with performance optimization, all illustrated with practical examples.
This book covers the following exciting features:
- Become proficient in minimal APIs within the .NET Core 9 framework
- Find out how to ensure scalability, performance, and maintainability
- Work with databases and ORMs, such as Entity Framework and Dapper
- Optimize minimal APIs, including asynchronous programming, caching strategies, and profiling tools
- Implement advanced features like dependency injection, request validation, data mapping, and routing techniques
- Create and configure minimal API projects effectively
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02 - Creating your first Minimal API.
The code will look like the following:
app.MapPut("/employees", (Employee employee) =>
{
EmployeeManager.Update(employee);
return Results.Ok();
});
Following is what you need for this book: If you’re a generalist developer looking for a fresh perspective on API development with an emphasis on minimalism, then this book is for you. Aimed at intermediate developers, this book strikes the right balance between accessibility and depth. The book assumes an intermediate level of C# and .NET knowledge, while providing sufficient guidance and explanations to help you progress confidently through the chapters.
With the following software and hardware list you can run all code files present in the book (Chapter 1-14).
Chapter | Topics covered in the book | Required Skill Level |
---|---|---|
1-14 | C# | .NET 9 SDK (Soft ware Development Kit) |
1-14 | SQL | Microsoft SQL Server |
1-14 | MongoDB Server | Microsoft SQL Server Management Studio |
1-14 | MongoDB Compass | None – setup and confi guration for Minimal APIs is covered in the book |
1-14 | Visual Studio 2022 | Basic |
1-14 | Visual Studio Code | Basic (if used – Visual Studio can be used alternatively) |
1-14 | Object-Oriented Programming | Basic |
Nick Proud is a software engineer, technology leader, and Microsoft MVP for Developer Technologies, specializing in robotic process automation and .NET. He is currently the director of soft ware engineering at NexBotix an intelligent automation firm, as well as a technical content creator, producing educational video content about C# and Microsoft Azure.