Submitting my first bug after ASP.NET MVC 1.0 RTM Release - Kazi Manzu(weblogs.asp.net)

submitted by mithumithu(570) 2 years, 10 months ago

The Controller class of ASP.NET MVC Framework has few overloaded methods to return json result from the controller actions. Internally it uses the JavaScriptSerializer which was introduced in ASP.NET AJAX Framework. But unlike the DataContractJsonSerializer which works on attributes, the only way you can control the json output in JavaScriptSerializer class is by registering the JavaScriptConverter classes. In most of the cases you don’t have to control the way the json data is shaping, but in some situation you might need to step in. If you check the overloaded Json methods, none of it takes the JavaScriptConverters as argument.

add a comment |category: |Views: 22

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