Category - MVC
Results 1 - 5 of 754
20 Oct 2021 20 Oct 2021 0 Comments  59 Views
Here Mudassar Ahmed Khan has explained with an example, how to get Session value inside Controller in ASP.Net MVC Razor.
10 Oct 2021 10 Oct 2021 0 Comments  419 Views
ASP.Net  Cookies  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use Browser Cookies in ASP.Net Core MVC.

This article will illustrate how to perform following operations on Cookies i.e. reading values stored in Cookies, writing (saving) values in Cookies and also removing (deleting) Cookies in ASP.Net Core MVC.
07 Oct 2021 07 Oct 2021 0 Comments  447 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Browser Cookies in ASP.Net MVC Razor.

This article will also explain how to perform operations on Cookies i.e. reading values stored in Cookies, writing (saving) values in Cookies and also removing (deleting) Cookies in ASP.Net MVC Razor.
06 Oct 2021 06 Oct 2021 0 Comments  487 Views
ASP.Net  MVC  Core
Here Mudassar Ahmed Khan has explained why HttpContext.Current not working in ASP.Net Core and what is the alternative solution for using the functionality in ASP.Net Core.

Microsoft has permanently removed HttpContext.Current property from .Net Core and introduced a new interface IHttpContextAccessor for .Net Core.
21 Aug 2021 21 Aug 2021 0 Comments  1399 Views
ASP.Net  AJAX  AngularJS  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to send AntiForgeryToken with AngularJS AJAX request in ASP.Net CoreMVC.

The AntiForgeryToken is used to prevent cross-site request forgery (CSRF) attacks and this article will illustrate how to configure and use the AntiForgeryToken during AngularJS AJAX request in ASP.Net Core MVC.
Results 1 - 5 of 754