If you develop on ASP.NET MVC and have a need to return the ViewData as JSON and XML as well as HTML, take a look at the article I posted over at InformIT.com today (2/10/10): http://www.informit.com/articles/article.aspx?p=1554970. This is a shortcut to providing REST endpoints without doing a whole lot of extra work. This article doesn’t worry about versioning but does tackle the whole “how do I avoid screen scraping and extra coding” problem. Enjoy!
Article on JSON/XML Went up at InformIT.com
Top Rated
Archives
- January 2023
- July 2022
- July 2021
- March 2021
- February 2021
- August 2020
- October 2019
- December 2018
- July 2018
- June 2018
- December 2017
- July 2017
- January 2017
- February 2013
- January 2013
- December 2012
- November 2012
- September 2012
- August 2012
- July 2012
- January 2012
- November 2011
- July 2011
- May 2011
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- September 2008
- August 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
#1 by Scott Davis on April 19, 2018 - 12:27 pm
Hi, Scott. I’m looking for the resource files for your article. http://www.scottseely.com/downloads/InformIT.JsonXmlSupport.zip. Are they posted somewhere still?
#2 by sseely on July 19, 2018 - 12:14 pm
Alas, those resources are long gone.