Tip/Trick: Building a ToJSON() Extension Method using .NET 3.5(weblogs.asp.net)

submitted by sdormansdorman(1415) 4 years, 7 months ago

Scott Guthrie shows a practical example of extension methods by creating some easy methods to automate generating JSON or XML serialized strings for any .NET object.

1 comment |category: |Views: 33

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:

posted by JudahGabrielJudahGabriel(814) 4 years, 7 months ago 0

Someone should start a CodePlex project containing handy extension methods.

Reply

information Login or create an account to comment on this story