This is the code repository for Mastering ASP.NET Web API, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
ASP.NET Core provides a very innovating approach to build web APIs. In this book, you will learn about the ASP.NET Core anatomy, creating web APIs by exploring the concept of middleware, integrating with databases, applying various security mechanisms, and consuming them in popular web UI frameworks. This book is written considering both experienced and new developers. A prior knowledge of developing web APIs will be an added advantage, but it’s not a prerequisite. It will help you build a truly cross-platform ASP.NET Core Web API and master it. We are using .NET Core 2.0 Preview 2 and ASP.NET Core 2.0 Preview 2, along with Visual Studio 2017 Preview 3 at the time of writing this book, and we do plan to update this book for the final release of ASP.NET Core 2.0.
The code for Chapter 05 is organized into one folder, Chapter05 and the rest in one separate folder. Chapter 01 and Chapter 02 does not have code.
The code will look like the following:
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
}
Click here if you have any feedback or suggestions.