Articles : Page 1 of 1

  • Sending JSON to an ASP.NET MVC Action Method Argument

    Sending JSON to an ASP.NET MVC Action Method Argument

    Apr 10
    15

    Javier “G Money” Lozano, one of the good folks involved with C4MVC, recently wrote a blog post on posting JSON (JavaScript Object Notation) encoded data to an MVC controller action. In his post, he describes an interesting approach of using a custom model binder to bind sent JSON data to an argument of an action method. Unfortunately, his sample left out the custom model binder and only demonstrates how to retrieve JSON data sent from a controller action, not how to send the JSON to the action...



  • 1