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.
This is source code bundle for all chapters except for Chapter 1 and Chapter 2. Refer respective project README file and chapter contents to go along.
To check out the source code in a chapter wise format please load/open "MasteringAspNetWebApiSln.sln" project file in the Visual Studio IDE.
The code will look like the following:
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
}
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.