Category - Web API
Results 6 - 10 of 61
28 Nov 2020 28 Nov 2020 0 Comments  3537 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload files using Web API and C# in ASP.Net MVC Razor.

This article will illustrate how to send (upload) files by calling the Web API using jQuery AJAX in ASP.Net MVC Razor.
28 Nov 2020 28 Nov 2020 0 Comments  1416 Views
Here Mudassar Ahmed Khan has explained with an example, how to create and consume a Web API that gets data from SQL Server Database in ASP.Net MVC Razor.

This article will illustrate how to connect a Web API to Database using Entity Framework in ASP.Net MVC Razor.
28 Nov 2020 28 Nov 2020 0 Comments  5311 Views
Here Mudassar Ahmed Khan has explained with an example, how to save (upload) Image files to Server using Web API in ASP.Net MVC Razor.

The Image files will be uploaded to Web API and then inside the Web API, the Image files will be saved in Folder (Directory) on the Server’s Disk in ASP.Net MVC Razor.
27 Nov 2020 27 Nov 2020 0 Comments  1443 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  1850 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.
Results 6 - 10 of 61