Category - Core
Results 16 - 20 of 137
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.
19 Jan 2021 19 Jan 2021 0 Comments  2242 Views
Here Mudassar Ahmed Khan has provided a small tutorial on how to create a Sample Web Application program in ASP.Net Core.

This article makes use of Visual Studio for developing the ASP.Net Core Razor Pages Sample Web Application program.
Results 16 - 20 of 137