Using JsonResult in ASP.NET MVC AJAX (nayyeri.net)

published 1 year, 1 month ago, submitted by mosessaurmosessaur(5050) 1 year, 1 month ago

In ASP.NET MVC you can write action methods that return a variety of types to be used in your views to obtain data for AJAX interactions. Most common types are string and ActionResult, but there is also an option called JsonResult which returns its values as JSON serialized data. The returned data can be used easily in client-side as appropriate.

add a comment | category: | Views: 397

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:

No comments so far

information Login or create an account to comment on this story