Category - SQL Server
Results 16 - 20 of 417
27 Nov 2020 27 Nov 2020 0 Comments  897 Views
Here Mudassar Ahmed Khan has explained with an example, how to create and consume a Web API DELETE Action method in ASP.Net MVC Razor.

This article will illustrate how to create a DELETE Action method in Web API and use it for deleting records in Database using Entity Framework in ASP.Net MVC Razor.
27 Nov 2020 27 Nov 2020 0 Comments  1053 Views
Here Mudassar Ahmed Khan has explained with an example, how to delete data from Database using Web API and Entity Framework in ASP.Net MVC Razor.

When the Delete Button is clicked, the DeleteCustomer Action method of the Web API is called using jQuery AJAX and the details of Customer are sent as JSON object.

Finally, a Customer object is sent to the View which indicates that the record was successfully deleted or not.
24 Nov 2020 24 Nov 2020 0 Comments  781 Views
Here Mudassar Ahmed Khan has explained with an example, how to create and consume a Web API POST Action method in ASP.Net MVC Razor.

This article will illustrate how to create a POST Action method in Web API and use it for inserting records in Database using Entity Framework in ASP.Net MVC Razor.
24 Nov 2020 24 Nov 2020 0 Comments  552 Views
Here Mudassar Ahmed Khan has explained with an example, how to update data into Database using Web API and Entity Framework in ASP.Net MVC Razor.

When the Update Button is clicked, the UpdateCustomer Action method of the Web API is called using jQuery AJAX and the details of Customer are sent as JSON object.

Finally, a Boolean response is sent to the View which indicates that the record was successfully updated or not.
24 Nov 2020 24 Nov 2020 0 Comments  785 Views
Here Mudassar Ahmed Khan has explained with an example, how call (consume) Web API GET method in ASP.Net MVC Razor.

The Web API Action method will be called inside the MVC Controller’s Action method using HttpClient class in ASP.Net MVC Razor.
Results 16 - 20 of 417