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

What is cooking here?

In the previous section, you saw an imaginary scenario and went through an SQL injection in action. Let’s look at an actual example by creating a RESTful product API using ASP.NET Core 2.0. Before you start building this application, bear in mind the following prerequisites for this application:

  • Visual Studio 2017 update 3 or later
  • ASP.NET Core 2.0 or later
  • C#7.0 or later
  • Microsoft Entity Framework Core 2.0.0

Go through the following steps to create our application:

  1. Open Visual Studio.
  2. Select File | New | Project or press Ctrl + Shift + F5.
  3. Select ASP.NET Core Web Application.
  4. From the template window, select ASP.NET Core API. Make sure you select .NET Core 2.0.
  5. Name the project, choose the path for the solution, ...
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