just an ASP.Net core practise project
-
Created first Web API with .NET Core 3.1 with all CRUD operations: Create, Read, Update and Delete using Entity Framework Core.
-
Project structure is based on Model-View-Controller or MVC design pattern.
-
Using Sql Server database and first-code migration for creating tebales in database.
-
Using HTTP Request Methods: GET, POST, PUT and DELETE for web service calls.
-
Applying some concepts and practices used in large real-world applications like a clean structure of Web API with dependency injection, asynchronous calls, a proper service response, and data transfer objects (DTOs).
-
Implemented JSON Web Token Authentication in Web API. (using password hash and unique password salt for each user)
-
Built the user registration and the user login using a specific cryptography algorithm to hash and verify the entered passwords
-
Securing the Web API with the [Authorize] attribute.
-
Implemented all types of relationships between entities: one-to-one, one-to-many and many-to-many.
-
Define custom mappings with AutoMapper for mapping entities to DTOs and vice versa.