Category - MVC
Results 41 - 60 of 895
13 May 2022 04 Jun 2022 0 Comments  1182 Views
ASP.Net  MVC  Core  ReactJS
Here Mudassar Khan has explained a simple tutorial with an example, how to create a simple ReactJS Hello World example in ASP.Net Core MVC.

This article will cover all the aspects such as Installing Packages, Integrating and Configuring ReactJS and finally creating a simple Hello World example in ASP.Net Core MVC.
12 May 2022 13 May 2022 0 Comments  900 Views
Here Mudassar Khan has explained a simple tutorial with an example, how to create a simple ReactJS Hello World example in ASP.Net MVC.

This article will cover all the aspects such as Installing Packages, Integrating and Configuring ReactJS and finally creating a simple Hello World example in ASP.Net MVC.
10 May 2022 10 May 2022 0 Comments  857 Views
ASP.Net  AJAX  jQuery  JSON  MVC  Core
Here Mudassar Khan has explained with an example, how to use AntiForgery Token with jQuery AJAX and JSON in ASP.Net Core MVC.

The AntiForgery Token will be sent to the Controller’s Action method where it will be validated in ASP.Net Core MVC.
10 May 2022 10 May 2022 0 Comments  1748 Views
Here Mudassar Khan has explained with an example, how to solve the error which occurs when using AntiForgery Token with jQuery AJAX in ASP.Net MVC.

The required anti-forgery form field "__RequestVerificationToken" is not present.

The above error is caused when AntiForgery Token is not correctly passed to the Controller when with jQuery AJAX in ASP.Net MVC.
10 May 2022 10 May 2022 0 Comments  1314 Views
ASP.Net  AJAX  jQuery  JSON  MVC
Here Mudassar Khan has explained with an example, how to use AntiForgery Token with jQuery AJAX and JSON in ASP.Net MVC.

The AntiForgery Token will be sent to the Controller’s Action method where it will be validated in ASP.Net MVC.
06 May 2022 06 May 2022 0 Comments  576 Views
Here Mudassar Khan has explained with an example, how to prevent Cross-Site Request Forgery Attack in ASP.Net MVC.

In ASP.Net MVC, AntiForgery Token is used to prevent Cross-Site Request Forgery Attacks.
06 May 2022 06 May 2022 0 Comments  843 Views
ASP.Net  MVC  Core
Here Mudassar Khan has explained with an example, what is AntiForgery Token and how to use it in ASP.Net Core MVC.
06 May 2022 06 May 2022 0 Comments  701 Views
Here Mudassar Khan has explained with an example, what is AntiForgery Token and how to use it in ASP.Net MVC.
05 May 2022 05 May 2022 0 Comments  460 Views
ASP.Net  MVC  Core
Here Mudassar Khan has explained with an example, how to prevent Cross-Site Request Forgery Attack in ASP.Net Core MVC.

AntiForgery Token is used to prevent Cross-Site Request Forgery Attack in ASP.Net Core MVC.
05 May 2022 05 May 2022 0 Comments  1273 Views
ASP.Net  MVC  Core
Here Mudassar Khan has explained with an example, how to implement AntiForgery Token in ASP.Net Core MVC.
05 May 2022 05 May 2022 0 Comments  1260 Views
ASP.Net  MVC  Form  Core
Here Mudassar Khan has explained with an example, how to submit (post) a Form and send data from View to Controller along with AntiForgery Token in ASP.Net Core MVC.
30 Apr 2022 30 Apr 2022 0 Comments  1301 Views
Here Mudassar Khan has explained explain with an example, how to use ValidateAntiForgeryToken attribute in ASP.Net MVC.

When a method is decorated with ValidateAntiForgeryToken attribute, it then validates all requests using the AntiForgeryToken in ASP.Net MVC.
30 Apr 2022 30 Apr 2022 0 Comments  803 Views
ASP.Net  HTML  MVC
Here Mudassar Khan has explained with an example, how to use Html.AntiForgeryToken Helper method in ASP.Net MVC.

The Html.AntiForgeryToken is used to generate a unique AntiForgery Token in a Hidden Field which is sent to the server for validating requests in ASP.Net MVC.
30 Apr 2022 30 Apr 2022 0 Comments  655 Views
ASP.Net  MVC  Form
Here Mudassar Khan has explained with an example, how to use AntiForgery Token with Form Post (Submit) in ASP.Net MVC.
27 Apr 2022 27 Apr 2022 0 Comments  1836 Views
Here Mudassar Khan has explained how to resolve the following error in ASP.Net MVC.

The required anti-forgery cookie "__RequestVerificationToken" is not present.

The above error occurs when the ValidateAntiForgeryToken attribute is added but the anti-forgery cookie is missing.
27 Apr 2022 27 Apr 2022 0 Comments  1477 Views
Here Mudassar Khan has explained with an example, how to use AntiForgery Token in ASP.Net MVC.
27 Apr 2022 27 Apr 2022 0 Comments  4110 Views
Here Mudassar Khan has explained a simple tutorial with an example on how to create Web API in Visual Studio 2022 step by step in ASP.Net Core MVC.
25 Apr 2022 25 Apr 2022 0 Comments  2120 Views
ASP.Net  AJAX  jQuery  MVC  Web API  Core
Here Mudassar Khan has explained with an example, how to implement AntiForgery Token in 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.
21 Apr 2022 21 Apr 2022 0 Comments  1919 Views
Here Mudassar Khan has explained with an example, how to add Web API to existing Project in ASP.Net Core MVC.
21 Apr 2022 21 Apr 2022 0 Comments  1541 Views
Here Mudassar Khan has explained with an example, how to use MVC Controller and Web API in same Solution (Project) in ASP.Net Core MVC.
Results 41 - 60 of 895