Skip to Content
Building RESTful Web Services with .NET Core
book

Building RESTful Web Services with .NET Core

by Gaurav Aroraa, Tadit Dash
May 2018
Intermediate to advanced
334 pages
7h 25m
English
Packt Publishing
Content preview from Building RESTful Web Services with .NET Core

Getting ready for the tests

In this section, we will create an ASP.NET Core API and then unit test it.

Complete the following steps to create your application:

  1. Open Visual Studio.
  2. Go to File | New | Project or press Ctrl + Shift + F5:
  1. Select ASP.NET Core Web Application.
  2. From the template window, select ASP.NET Core API—make sure you select .NET Core 2.0.
  3. Name the project, choose the path for the solution, and click OK.
  4. Add the Core folder—in Solution Explore, right-click and select Add New Folder, and name it Model.
  5. Add the Interfaces and Model folders under the Core folder.
  6. Add a new class under the Model folder—right-click on the Model ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On RESTful Web Services with ASP.NET Core 3

Hands-On RESTful Web Services with ASP.NET Core 3

Samuele Resca
Microservices in .NET Core

Microservices in .NET Core

Christian Horsdal Gammelgaard

Publisher Resources

ISBN: 9781788291576Supplemental Content