Category - Web API
Results 1 - 20 of 70
27 Dec 2021 27 Dec 2021 0 Comments  739 Views
ASP.Net  AJAX  jQuery  MVC  Web API  Email  Gmail
Here Mudassar Khan has explained with an example, how to send email using jQuery AJAX in ASP.Net MVC Razor.

The jQuery AJAX function will call a Web API Action method which will send email using Gmail SMTP Mail Server in ASP.Net MVC Razor.

Once the Email is sent, a Confirmation will be sent back to the jQuery AJAX function which in turn will be display a Success message using JavaScript Alert Message Box.
24 Dec 2021 24 Dec 2021 0 Comments  760 Views
ASP.Net  AJAX  jQuery  MVC  Web API  Email  Gmail
Here Mudassar Khan has explained with an example, how to send Email using Web API and jQuery AJAX in ASP.Net MVC Razor.

When the Send Button is clicked, the SendEmail Action method of the Web API is called using jQuery AJAX and the Email is sent.
13 Aug 2021 13 Aug 2021 0 Comments  3011 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web API 2 using JavaScript XmlHttpRequest (XHR) and AJAX in ASP.Net Core MVC.

This article will explain how to make a POST call to Web API 2 Controller’s method using JavaScript XmlHttpRequest (XHR) and AJAX in ASP.Net Core MVC.
13 Aug 2021 13 Aug 2021 0 Comments  1791 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web API 2 using JavaScript XmlHttpRequest (XHR) and AJAX in ASP.Net MVC Razor.

This article will explain how to make a POST call to Web API 2 Controller’s method using JavaScript XmlHttpRequest (XHR) and AJAX in ASP.Net MVC Razor.
12 Aug 2021 12 Aug 2021 0 Comments  2116 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web API using jQuery AJAX in ASP.Net Core MVC.

This article will explain how to make a jQuery POST call to Web API Controller’s method using jQuery AJAX in ASP.Net Core MVC.
12 Aug 2021 12 Aug 2021 0 Comments  2745 Views
Here Mudassar Ahmed Khan has explained a step by step tutorial with an example for beginners, how to build a simple Web API in ASP.Net Core MVC.

This article will explain how to make a jQuery POST call to Web API using jQuery AJAX in ASP.Net Core MVC.
11 Aug 2021 11 Aug 2021 0 Comments  6838 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform CRUD operation (Create, Read, Update and Delete) using Web API and Stored Procedure in ASP.Net MVC Razor using Entity Framework and jQuery AJAX.

The Stored Procedure will be called using Entity Framework to perform CRUD operations such as Select, Insert, Edit, Update and Delete operations.
29 Jul 2021 29 Jul 2021 0 Comments  3439 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement and use TLS 1.2 Security Protocol in ASP.Net Core MVC.

This article will illustrate how to call a REST API using HttpClient and TLS 1.2 Security Protocol in ASP.Net Core MVC.
29 Jul 2021 29 Jul 2021 0 Comments  4678 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload (insert) and download (retrieve) Files from Folder (Directory) and Path in Database using Web API in ASP.Net MVC Razor.

The Web API will insert the File information into SQL Server database using Entity Framework while the actual File will be saved in Folder (Directory) in ASP.Net MVC Razor.

The Web API will be called using jQuery AJAX and the file will be uploaded to Database using HTML5 Form Data and XmlHttpRequest (XHR).
05 May 2021 05 May 2021 0 Comments  2571 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  2316 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  3899 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  6011 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  9887 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  12174 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  3310 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  16140 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  3371 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  4861 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  3452 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.
Results 1 - 20 of 70