Overview
In this Article I Will explaining you How to Implement CRUD (Create ,Retrieve, Update ,Delete) operation in ASP.NET Core WebAPI using EntityFrameworkCore and also explaining the Which Package is necessary for this type of application.
So as you know any kind of application build with new generation(This time) From API. API is stand for Application Programming Interface. API is nothing but its only a application that acquire the proper information behalf of operation in database and all other types functionality. So How to know about the API is working properly or not.
API is produce the result or Response set with status code. this code is provide properly manner API execution. API always return the response is JSON ,XML etc.
JSON:- its Stand for for Java Script object Notation. It is key value pair and separate by (:) Colon.
Example :-
{
"id": 2,
"courseName": "Btech",
"descriptions": "4 Years Program"
}
in this Example you can see id separate with Colon(:) and as you seen Id is key and value is 2 and same it's format courseName and as well as description.
XML:- XML stands for extensible markup language. A markup language is a set of codes, or tags, that describes the text in a digital document.
Example :-
API Response or Result set Return :-
- Response Message
- Response Status Code
- Response data
{
"statusCode": 200,
"message": "Student inserted successfully",
"data": null
}
- EntityFrameworkCore
- EntityFrameworkCore.SqlServer
- EntityFrameworkCore.Design
- EntityFrameworkCore.Tool
1 Comments
Club of Developers Blog
ReplyDeletethanks for your suggestion and improving quality of the content