<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ASP.NET AJAX using JSON &#8211; Here&#8217;s how.</title>
	<atom:link href="http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/</link>
	<description>ASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest.</description>
	<lastBuildDate>Mon, 15 Mar 2010 11:52:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave</title>
		<link>http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/comment-page-1/#comment-1933</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 07 Apr 2009 16:15:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/#comment-1933</guid>
		<description>Since neither of us know exactly what he was asking, we&#039;ll just have to wait until he tells us.

I would differ with you re using ASMX or not, especially using it with jQuery.</description>
		<content:encoded><![CDATA[<p>Since neither of us know exactly what he was asking, we&#8217;ll just have to wait until he tells us.</p>
<p>I would differ with you re using ASMX or not, especially using it with jQuery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/comment-page-1/#comment-1932</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Tue, 07 Apr 2009 15:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/#comment-1932</guid>
		<description>@Dave,

He wants to access the json from a non-aspx page; he doesn&#039;t say anything about the json source (though context would indicate that it would be from a Microsoft technology). That is, he can&#039;t use the AJAX.NET script manager because he&#039;s not using ASP.NET generated pages on the client side. I assumed he was using jQuery or some other 3rd-party AJAX framework.

If you&#039;re only using json, why use asmx when there are simpler options? In this situation, asmx and the related framework are more trouble than they&#039;re worth, particularly if you don&#039;t work with them regularly (or in my case, at all).

Silly if you&#039;re trying to do it the One True Way, but not if your time is worth something.</description>
		<content:encoded><![CDATA[<p>@Dave,</p>
<p>He wants to access the json from a non-aspx page; he doesn&#8217;t say anything about the json source (though context would indicate that it would be from a Microsoft technology). That is, he can&#8217;t use the AJAX.NET script manager because he&#8217;s not using ASP.NET generated pages on the client side. I assumed he was using jQuery or some other 3rd-party AJAX framework.</p>
<p>If you&#8217;re only using json, why use asmx when there are simpler options? In this situation, asmx and the related framework are more trouble than they&#8217;re worth, particularly if you don&#8217;t work with them regularly (or in my case, at all).</p>
<p>Silly if you&#8217;re trying to do it the One True Way, but not if your time is worth something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/comment-page-1/#comment-1924</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 06 Apr 2009 22:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/#comment-1924</guid>
		<description>@Will,

He wants to remove the need for ASPX.  Why would you emit json via aspx when you could do it with asmx?  That&#039;s just silly.

What he COULD do is use jQuery instead of ASPX which I&#039;ve also covered on this site.</description>
		<content:encoded><![CDATA[<p>@Will,</p>
<p>He wants to remove the need for ASPX.  Why would you emit json via aspx when you could do it with asmx?  That&#8217;s just silly.</p>
<p>What he COULD do is use jQuery instead of ASPX which I&#8217;ve also covered on this site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/comment-page-1/#comment-1923</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Mon, 06 Apr 2009 22:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/#comment-1923</guid>
		<description>@jigar,

You can create an aspx page and send the json via the Response object.

In your Page_Load() event:

Response.Write( jsonString ); // string containing the json response
Response.End(); // Sends json string to the client, ends the response to avoid trailing asp.net html
Response.Close();</description>
		<content:encoded><![CDATA[<p>@jigar,</p>
<p>You can create an aspx page and send the json via the Response object.</p>
<p>In your Page_Load() event:</p>
<p>Response.Write( jsonString ); // string containing the json response<br />
Response.End(); // Sends json string to the client, ends the response to avoid trailing asp.net html<br />
Response.Close();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/comment-page-1/#comment-1495</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 26 Jan 2009 13:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/#comment-1495</guid>
		<description>Luke,

See my article from this morning, http://blog.dmbcllc.com/2009/01/26/aspnet-json-and-viewstate/ for the complete answer to your question.</description>
		<content:encoded><![CDATA[<p>Luke,</p>
<p>See my article from this morning, <a href="http://blog.dmbcllc.com/2009/01/26/aspnet-json-and-viewstate/" >http://blog.dmbcllc.com/2009/01/26/aspnet-json-and-viewstate/</a> for the complete answer to your question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/comment-page-1/#comment-1493</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Sun, 25 Jan 2009 22:29:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/#comment-1493</guid>
		<description>If we update the value of a textbox or label via a JSON web service call - will the value of that textbox/label be written to the viewstate or whatever so that the server side code can see the new values that came from the JSON request?</description>
		<content:encoded><![CDATA[<p>If we update the value of a textbox or label via a JSON web service call &#8211; will the value of that textbox/label be written to the viewstate or whatever so that the server side code can see the new values that came from the JSON request?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jQuery, JSON, and ASP.NET</title>
		<link>http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/comment-page-1/#comment-1431</link>
		<dc:creator>jQuery, JSON, and ASP.NET</dc:creator>
		<pubDate>Thu, 15 Jan 2009 16:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/#comment-1431</guid>
		<description>[...] 15, 2009 By: Dave       A few months ago, I demonstrated how to use ASP.NET&#8217;s JSON capabilities.&#160; Lately, I&#8217;ve been demonstrating how to use jQuery.&#160; Both use a considerable [...]</description>
		<content:encoded><![CDATA[<p>[...] 15, 2009 By: Dave       A few months ago, I demonstrated how to use ASP.NET&#8217;s JSON capabilities.&#160; Lately, I&#8217;ve been demonstrating how to use jQuery.&#160; Both use a considerable [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/comment-page-1/#comment-791</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 21 Aug 2008 14:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/#comment-791</guid>
		<description>There is no clean way that I know of.  I guess you could write it using ASPX and then copy and paste the result to HTML.  But, it would be just as easy to implement caching on your ASPX page which would also give you better performance.

Why is HTML a requirement?</description>
		<content:encoded><![CDATA[<p>There is no clean way that I know of.  I guess you could write it using ASPX and then copy and paste the result to HTML.  But, it would be just as easy to implement caching on your ASPX page which would also give you better performance.</p>
<p>Why is HTML a requirement?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jigar</title>
		<link>http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/comment-page-1/#comment-790</link>
		<dc:creator>Jigar</dc:creator>
		<pubDate>Thu, 21 Aug 2008 13:45:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/#comment-790</guid>
		<description>This approach requires us to have a aspx page on client side(from where the web service is called). Is there a way in which a plain html page or any other page can call json webservice from javascript?</description>
		<content:encoded><![CDATA[<p>This approach requires us to have a aspx page on client side(from where the web service is called). Is there a way in which a plain html page or any other page can call json webservice from javascript?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pep</title>
		<link>http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/comment-page-1/#comment-658</link>
		<dc:creator>pep</dc:creator>
		<pubDate>Wed, 06 Aug 2008 19:47:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/#comment-658</guid>
		<description>I saw a full in depth article on this at dotnettutorials.com.</description>
		<content:encoded><![CDATA[<p>I saw a full in depth article on this at dotnettutorials.com.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dew Drop - August 4, 2008 &#124; Alvin Ashcraft's Morning Dew</title>
		<link>http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/comment-page-1/#comment-652</link>
		<dc:creator>Dew Drop - August 4, 2008 &#124; Alvin Ashcraft's Morning Dew</dc:creator>
		<pubDate>Mon, 04 Aug 2008 13:28:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/08/04/aspnet-ajax-using-json-heres-how/#comment-652</guid>
		<description>[...] ASP.NET AJAX Using JSON - Here&#8217;s How (Dave M. Bush) [...]</description>
		<content:encoded><![CDATA[<p>[...] ASP.NET AJAX Using JSON &#8211; Here&#8217;s How (Dave M. Bush) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.217 seconds -->
