Category - Core
Results 6 - 10 of 130
16 Feb 2021 16 Feb 2021 0 Comments  617 Views
Here Mudassar Ahmed Khan has explained an example, how to use the Select List asp-items Tag Helper in ASP.Net Core Razor Pages.

The the Select List asp-items Tag Helper is used for populating DropDownList in ASP.Net Core Razor Pages.
16 Feb 2021 16 Feb 2021 0 Comments  475 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate Select List from Database in ASP.Net Core Razor Pages.

The records from the Database will be populated into Model class objects and then the Model will be used to populate the DropDownList using the new ASP.Net Tag Helpers in ASP.Net Core Razor Pages.
11 Feb 2021 11 Feb 2021 0 Comments  609 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use Response.Write in ASP.Net Core MVC.

Response.Write function is not available in ASP.Net Core and hence this article will illustrate how to do similar functionality in ASP.Net Core MVC.
11 Feb 2021 11 Feb 2021 0 Comments  580 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  826 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.
Results 6 - 10 of 130