Category - MVC
Results 21 - 25 of 688
11 Feb 2021 11 Feb 2021 0 Comments  1076 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use WebClient in ASP.Net Core MVC.

This article will illustrate how to call an API using the DownloadString method of the WebClient class in ASP.Net Core MVC.
29 Jan 2021 29 Jan 2021 0 Comments  1229 Views
Here Mudassar Ahmed Khan has explained with an example, how to use AntiForgeryToken with jQuery Unobtrusive AJAX in ASP.Net Core Razor Pages.

The jQuery Unobtrusive AJAX library does not support adding headers to the request and hence it is not possible to send AntiForgeryToken.

Thus, the possible way is to make use of normal jQuery AJAX function and then send the AntiForgeryToken by adding it to the request headers.
29 Jan 2021 29 Jan 2021 0 Comments  1713 Views
Here Mudassar Ahmed Khan has explained with an example, how to use jQuery Unobtrusive AJAX in ASP.Net Core Razor Pages.

The POST method of the Razor Page will be called using jQuery AJAX Unobtrusive library and JSON from HTML in ASP.Net Core.
22 Jan 2021 20 Apr 2021 0 Comments  2747 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Hidden Fields with Razor Pages in ASP.Net Core.

This article will explain how to create Hidden Fields using Model class, set its value and then retrieve data from Razor Page inside POST Handler method in ASP.Net Core.
22 Jan 2021 22 Jan 2021 0 Comments  1099 Views
Here Mudassar Ahmed Khan has explained with an example, how to capture still image / photo / picture from Web Camera (Webcam) without using Flash in ASP.Net MVC Razor.

jQuery Webcam plugin is used to capture images (photos) from Web Camera (Webcam) using HTML5.
The images (photos) captured using Web Camera (Webcam) will be saved in folder and displayed in View in ASP.Net MVC Razor.
Results 21 - 25 of 688