Dotnet Core Web API: a simple CRUD
Published in
2 min readJul 20, 2020
First, my goal wasn’t to build something with a lot of complexity, but only practicing.
I found an article by Mr. Sumant Mishra and my main idea was to create a CRUD just like he did. The only difference was that I developed using VS Code and tested with Insomnia instead of Postman.
The Entity (Model) layer is just a product with an Id, a name and a brand. Super simple.
The Service Layer will only have simple operations regarding creating, reading, updating and deleting.
The Routes from Controllers will work on “api/products”.
NO DATABASE WAS USED!