Category - JSON
Results 1 - 20 of 103
02 Jun 2022 02 Jun 2022 0 Comments  652 Views
ASP.Net  JSON  MVC  ReactJS
Here Mudassar Khan has explained with an example, how to create a dynamic Table from JSON in ReactJS.
10 May 2022 10 May 2022 0 Comments  861 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  1763 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  1346 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.
26 Feb 2022 26 Feb 2022 0 Comments  3604 Views
Here Mudassar Khan has explained with an example, how to call Controller’s Action method with Parameters using JavaScript in ASP.Net MVC.

The Controller’s Action method will be called with Parameters using JavaScript XmlHttpRequest (XHR) and JSON from View in ASP.Net MVC Razor.
26 Feb 2022 26 Feb 2022 0 Comments  2911 Views
Here Mudassar Khan has explained with an example, how to call Controller using JavaScript and AJAX in ASP.Net MVC Razor.

The Controller’s Action method will be called using JavaScript XmlHttpRequest (XHR) and JSON from View in ASP.Net MVC Razor.
02 Feb 2022 02 Feb 2022 0 Comments  4368 Views
Here Mudassar Khan has explained how to solve the problem: This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior to AllowGet in ASP.Net MVC Razor.
01 Feb 2022 01 Feb 2022 0 Comments  4227 Views
ASP.Net  AJAX  jQuery  JSON  MVC
Here Mudassar Khan has explained with an example, how to call Controller with GET call using jQuery AJAX in ASP.Net MVC.
14 Jan 2022 14 Jan 2022 0 Comments  5537 Views
ASP.Net  AJAX  jQuery  JSON  MVC  Core
Here Mudassar Khan has explained how to solve the problem: jQuery AJAX call parameters passed NULL to Controller in ASP.Net Core.

This article will explain the possible causes of parameters being passed as NULL and also explain the correct approach to perform jQuery AJAX call in ASP.Net Core MVC.
31 Jul 2021 31 Jul 2021 0 Comments  7902 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement and populate charts from database using jQuery AJAX in ASP.Net Core MVC.

The HTML 5 Canvas charts have been implemented in ASP.Net Core MVC using Chart.js library.

This article will illustrate how to display the animated HTML5 chart in browsers that do not support CSS3 like IE 8.
29 Jul 2021 29 Jul 2021 0 Comments  2977 Views
ASP.Net  AJAX  JSON  AngularJS  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use AngularJS, AJAX and JSON in ASP.Net Core MVC.

This article will illustrate how to call Controller’s Action method using AngularJS $http service from View in ASP.Net Core MVC.
26 Jul 2021 26 Jul 2021 0 Comments  2871 Views
ASP.Net  JSON  MVC  Core  .Net  REST API
Here Mudassar Ahmed Khan has explained with an example, how to use HttpClient in ASP.Net Core MVC.

This article will illustrate how to call a JSON REST API using HttpClient and also how to deserialize JSON data to object in ASP.Net Core MVC.
05 May 2021 05 May 2021 0 Comments  4713 Views
ASP.Net  JSON  MVC  Web API
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) an external REST API inside Controller in ASP.Net MVC Razor.

The external REST API will be called using WebClient class in ASP.Net MVC Razor.
05 May 2021 05 May 2021 0 Comments  18874 Views
Here Mudassar Ahmed Khan has explained with an example, how to get JSON response from REST API in ASP.Net using C# and VB.Net.

The JSON response from the REST API will be read using WebClient class in ASP.Net using C# and VB.Net.
05 May 2021 05 May 2021 0 Comments  5482 Views
Here Mudassar Ahmed Khan has explained with an example, how to call a JSON API in ASP.Net using C# and VB.Net.

The JSON API will be called using WebClient class in ASP.Net using C# and VB.Net.
03 May 2021 03 May 2021 0 Comments  2550 Views
ASP.Net  JSON  MVC
Here Mudassar Ahmed Khan has explained with an example, how to use WebClient in ASP.Net MVC Razor.

This article will illustrate how to call an API using the DownloadString method of the WebClient class in ASP.Net MVC Razor.
28 Apr 2021 28 Apr 2021 0 Comments  8847 Views
ASP.Net  JSON  MVC  Web API  Core
Here Mudassar Ahmed Khan has explained with an example, how to get JSON data from URL inside Controller’s Action method in ASP.Net Core MVC.

The JSON data will be read from the remote URL using WebClient class in ASP.Net Core MVC.
02 Feb 2021 02 Feb 2021 0 Comments  35474 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the Newtonsoft.Json.JsonConvert library for Serializing and Deserializing JSON using C# and VB.Net.

The JSON string will be first downloaded from an API using WebClient class and then will be deserialized to JSON object using the Deserialize function of the JSON.Net library.

Finally, the JSON object will be again serialized to JSON string using the Serialize function of the JSON.Net library in ASP.Net using C# and VB.Net.
15 Jan 2021 15 Jan 2021 0 Comments  7904 Views
Here Mudassar Ahmed Khan has explained with an example, how to change the default Camel Case JSON Output in ASP.Net Core.

The default Camel Case JSON property names tend to break the Client Side JavaScript and hence in order to remove it, the default JSON Serialization needs to be replaced with Newtonsoft.Json Serialization in ASP.Net Core.
15 Jul 2020 15 Jul 2020 0 Comments  60081 Views
ASP.Net  AJAX  jQuery  JSON  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to return JSON from Controller in ASP.Net Core MVC.

The Controller’s Action method will be called using jQuery AJAX function and JSON data will be returned back to the View using JsonResult class in ASP.Net Core MVC.
Results 1 - 20 of 103