ASP.NET Core supports building RESTful services, also known as web APIs, using C#. To process requests, a web API uses controllers. Controllers in a web API are classes that derive from ControllerBase. This course explains how to use controllers to handle Web API requests.
You will learn through this course how to create a web API with ASP.NET Core, you will be led to use different techniques and tools, such as :
MVC
Entity Framework Core
LINQ
Code First
Migrations
DbContext
Routing
ViewModels
CRUD
Postman
In this course, I have focused on the GET, POST, PUT, PATCH, and DELETE methods.
Thanks to the HttpGet attribute of ASP.NET Core, we can query, in read, an API very easily.
HttpPost to sen a request to create a new resource.
HttpPut to fully modify a resource.
HttpPatch to partially modify a resource.
HttpDelete to delete a resource.
I am using the MVC architecture pattern.
The Model–View–Controller (MVC) architectural model separates the application into three groups of main components : Models, Views, and Controllers. The model allows for the separation of concerns. Using the model, user requests are routed to a controller that is responsible for working with the model to perform user actions and/or retrieve query results. The controller chooses which view to display to the user and provides them with all the model data they need.
Specification: Create your first API with ASP.NET Core
|
User Reviews
Be the first to review “Create your first API with ASP.NET Core” Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Price | $12.99 |
---|---|
Provider | |
Duration | 2.5 hours |
Year | 2021 |
Level | Beginner |
Language | English ... |
Certificate | Yes |
Quizzes | No |
$39.99 $12.99
There are no reviews yet.