Category - ASP.Net
Results 1 - 5 of 2325
24 Nov 2020 24 Nov 2020 0 Comments  48 Views
Here Mudassar Ahmed Khan has explained with an example, how to create and consume a Web API PUT Action method in ASP.Net MVC Razor.

HTTP PUT method is used to update an existing record in the data in the RESTful API.

This article will illustrate how to create a PUT Action method in Web API and use it for updating records in Database using Entity Framework in ASP.Net MVC Razor.
24 Nov 2020 24 Nov 2020 0 Comments  42 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web API from MVC Controller using HttpClient class in ASP.Net MVC Razor.

This article will illustrate how to call a Web API GET method with its URL using HttpClient class in ASP.Net MVC Razor.
24 Nov 2020 24 Nov 2020 0 Comments  41 Views
Here Mudassar Ahmed Khan has explained with an example, how to call Web API from MVC Controller in same Solution (Project) in ASP.Net MVC Razor.

This article will illustrate how to call a Web API method using its URL from another project in same Project or same Solution in ASP.Net MVC Razor.
24 Nov 2020 24 Nov 2020 0 Comments  38 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  41 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.
Results 1 - 5 of 2325