Category - Web API
Results 21 - 40 of 81
05 May 2021 05 May 2021 0 Comments  3968 Views
ASP.Net  JSON  MVC  Web API
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) an external REST API inside Controller in ASP.Net MVC Razor.

The external REST API will be called using WebClient class in ASP.Net MVC Razor.
05 May 2021 05 May 2021 0 Comments  4401 Views
Here Mudassar Ahmed Khan has explained with an example, how to call a JSON API in ASP.Net using C# and VB.Net.

The JSON API will be called using WebClient class in ASP.Net using C# and VB.Net.
28 Apr 2021 28 Apr 2021 0 Comments  7085 Views
ASP.Net  JSON  MVC  Web API  Core
Here Mudassar Ahmed Khan has explained with an example, how to get JSON data from URL inside Controller’s Action method in ASP.Net Core MVC.

The JSON data will be read from the remote URL using WebClient class in ASP.Net Core MVC.
07 Dec 2020 07 Dec 2020 0 Comments  8382 Views
ASP.Net  AJAX  jQuery  MVC  Web API  Image
Here Mudassar Ahmed Khan has explained with an example, how return multiple Images from Server using Web API in ASP.Net MVC Razor.

The Web API will be called using jQuery AJAX and the Web API will read the Image files from a Folder (Directory) on the Server’s Disk and will return the List of Image files to the calling jQuery AJAX function.

Finally, the returned Image files will be displayed on page using jQuery in ASP.Net MVC Razor.
28 Nov 2020 28 Nov 2020 1 Comments  14094 Views
Here Mudassar Ahmed Khan has explained with an example, how to save (upload) Image files to Database using Web API in ASP.Net MVC Razor.

The Web API will insert and retrieve Image files from SQL Server database using Entity Framework in ASP.Net MVC Razor.
28 Nov 2020 28 Nov 2020 0 Comments  18457 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  4354 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  22022 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  4569 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  6658 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  4425 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 2 Comments  12403 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  17412 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  3615 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  5104 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.
24 Nov 2020 24 Nov 2020 0 Comments  10702 Views
Here Mudassar Ahmed Khan has explained with an example, how to insert data into Database using Web API and Entity Framework in ASP.Net MVC Razor.

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

Finally, after insertion the ID of the inserted Customer record is returned back to the View in ASP.Net MVC Razor.
20 Nov 2020 20 Nov 2020 0 Comments  10317 Views
Here Mudassar Ahmed Khan has explained with an example, how to call Web API from another Project in ASP.Net MVC Razor.

The Web API 2 Controller’s Action method will fetch records from the SQL Server Database using Entity Framework in ASP.Net MVC Razor.

The Web API 2 Controller’s Action method will be called using WebClient class from another MVC Project using the Web API URL.
19 Nov 2020 19 Nov 2020 0 Comments  17023 Views
Here Mudassar Ahmed Khan has explained with an example, how to create Web API in ASP.Net C# with SQL server database in ASP.Net MVC Razor.

The Web API Controller method will fetch records from SQL server database using Entity Framework in ASP.Net MVC Razor.
19 Nov 2020 19 Nov 2020 0 Comments  7649 Views
Here Mudassar Ahmed Khan has explained a tutorial with example, how to perform Web API CRUD with Entity Framework Database First approach in ASP.Net MVC Razor.

The Entity Framework will be used to connect to the SQL Server Database with existing Tables i.e. Database First Approach.
19 Nov 2020 19 Nov 2020 0 Comments  5637 Views
Here Mudassar Ahmed Khan has explained a tutorial with example, how to perform Web API CRUD Operations using Entity Framework in ASP.Net MVC Razor.

The Web API will contain Action methods for performing the CRUD operations i.e. Create (Insert), Read (Select), Update and Delete and the CRUD operations will be performed in SQL Server Database using Entity Framework in ASP.Net MVC Razor.
Results 21 - 40 of 81