Getting ready

Let's create a class library project with VS 2017, and use the ProductAPIController methods created in the Using ActionResults recipe of this chapter. We will create some test cases for this API.

Get ASP.NET Core MVC 2.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.