<?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: Using jQuery to Consume ASP.NET JSON Web Services</title>
	<atom:link href="http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/</link>
	<description>ASP.NET and AJAX code, ideas, and examples.</description>
	<lastBuildDate>Fri, 12 Mar 2010 17:47:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Goran</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37995</link>
		<dc:creator>Goran</dc:creator>
		<pubDate>Tue, 09 Feb 2010 14:33:38 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37995</guid>
		<description>Just didi webservice method request, return simple string &quot;Hello World&quot; (JSON response &quot;{&quot;d&quot; : &quot;Hello World&quot;}&quot;).
When i use JQ 1.3.2 it works ok, but in 1.4.1 throw error:
- afeter POST is succes i get to line:
  * httpData: function( xhr, type, s ) { *
and then to line:
  * data = jQuery.parseJSON( data ); * from where we go to function parseJSON, where type variable is &#039;undefined&#039; and there after some RegEx we get to line:
  * jQuery.error( &quot;Invalid JSON: &quot; + data ); *

Where data=Hello World&quot;, because i use dataFilter in $.ajaxSetup:
 * if (msg.hasOwnProperty(&#039;d&#039;))
      return msg.d;
    else
      return msg; *
I did some fix in JQ 1.4.1 and it is ok
Best Regards, 
Goran Milosavljevic.
Thnx for response.</description>
		<content:encoded><![CDATA[<p>Just didi webservice method request, return simple string &#8220;Hello World&#8221; (JSON response &#8220;{&#8220;d&#8221; : &#8220;Hello World&#8221;}&#8221;).<br />
When i use JQ 1.3.2 it works ok, but in 1.4.1 throw error:<br />
- afeter POST is succes i get to line:<br />
  * httpData: function( xhr, type, s ) { *<br />
and then to line:<br />
  * data = jQuery.parseJSON( data ); * from where we go to function parseJSON, where type variable is &#8216;undefined&#8217; and there after some RegEx we get to line:<br />
  * jQuery.error( &#8220;Invalid JSON: &#8221; + data ); *</p>
<p>Where data=Hello World&#8221;, because i use dataFilter in $.ajaxSetup:<br />
 * if (msg.hasOwnProperty(&#8216;d&#8217;))<br />
      return msg.d;<br />
    else<br />
      return msg; *<br />
I did some fix in JQ 1.4.1 and it is ok<br />
Best Regards,<br />
Goran Milosavljevic.<br />
Thnx for response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Goran</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37994</link>
		<dc:creator>Goran</dc:creator>
		<pubDate>Tue, 09 Feb 2010 14:20:39 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37994</guid>
		<description>I just found bug in jquery 1.4.1 when i get from web service string &quot;{&quot;d&quot; : &quot;hello world&quot;}&quot;.
I did debug in firebug and found when it came to
* httpData: function( xhr, type, s ) {.. *
it goes to line:
* data = jQuery.parseJSON( data ); *
and then in parseJSON we get error from line:
* jQuery.error( &quot;Invalid JSON: &quot; + data ); *  

My request was set as you suggest:
$.ajaxSetup({
  type: &quot;POST&quot;,
  contentType: &quot;application/json; charset=utf-8&quot;,
  data: &quot;{}&quot;,
  dataFilter: function(data) {
    var msg;       
    if (typeof (JSON) !== &#039;undefined&#039; &amp;&amp; 
        typeof (JSON.parse) === &#039;function&#039;)
      msg = JSON.parse(data);
    else //less secure but necessary
      msg = eval(&#039;(&#039; + data + &#039;)&#039;);
    if (msg.hasOwnProperty(&#039;d&#039;))
      return msg.d;
    else
      return msg;
  }
});
     $.ajax({
              url: wsUrl+&quot;/HelloWorld&quot;,
              success: function(msg) {
                console.log(msg);
                $(&#039;div #content&#039;).removeClass(&#039;loading&#039;).html(msg);
              }
            });
I then replace jq with 1.3.2 version, and it is fine, also debug and see that code in line:
* httpData: function( xhr, type, s ) { * is different.
Thanx, Goran from Belgrade</description>
		<content:encoded><![CDATA[<p>I just found bug in jquery 1.4.1 when i get from web service string &#8220;{&#8220;d&#8221; : &#8220;hello world&#8221;}&#8221;.<br />
I did debug in firebug and found when it came to<br />
* httpData: function( xhr, type, s ) {.. *<br />
it goes to line:<br />
* data = jQuery.parseJSON( data ); *<br />
and then in parseJSON we get error from line:<br />
* jQuery.error( &#8220;Invalid JSON: &#8221; + data ); *  </p>
<p>My request was set as you suggest:<br />
$.ajaxSetup({<br />
  type: &#8220;POST&#8221;,<br />
  contentType: &#8220;application/json; charset=utf-8&#8243;,<br />
  data: &#8220;{}&#8221;,<br />
  dataFilter: function(data) {<br />
    var msg;<br />
    if (typeof (JSON) !== &#8216;undefined&#8217; &amp;&amp;<br />
        typeof (JSON.parse) === &#8216;function&#8217;)<br />
      msg = JSON.parse(data);<br />
    else //less secure but necessary<br />
      msg = eval(&#8216;(&#8216; + data + &#8216;)&#8217;);<br />
    if (msg.hasOwnProperty(&#8216;d&#8217;))<br />
      return msg.d;<br />
    else<br />
      return msg;<br />
  }<br />
});<br />
     $.ajax({<br />
              url: wsUrl+&#8221;/HelloWorld&#8221;,<br />
              success: function(msg) {<br />
                console.log(msg);<br />
                $(&#8216;div #content&#8217;).removeClass(&#8216;loading&#8217;).html(msg);<br />
              }<br />
            });<br />
I then replace jq with 1.3.2 version, and it is fine, also debug and see that code in line:<br />
* httpData: function( xhr, type, s ) { * is different.<br />
Thanx, Goran from Belgrade</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37919</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Sun, 31 Jan 2010 07:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37919</guid>
		<description>The cross-domain restriction isn&#039;t a jQuery issue, but a restriction of the browsers&#039; XMLHttpRequest objects.  Imagine if you visited ModeratelyTrustedSite.com and it could immediately fire off asynchronous background requests to YourBank.com, sending the cookies and/or authentication information your browser had stored for that domain.

Either look into JSONP (which jQuery does support) for a way to bridge the cross-domain gap, or consider using a service on the consuming domain to act as a proxy (which is what the RSS requesting service effectively does in this example) since server-side code doesn&#039;t have the cross-domain restriction.</description>
		<content:encoded><![CDATA[<p>The cross-domain restriction isn&#8217;t a jQuery issue, but a restriction of the browsers&#8217; XMLHttpRequest objects.  Imagine if you visited ModeratelyTrustedSite.com and it could immediately fire off asynchronous background requests to YourBank.com, sending the cookies and/or authentication information your browser had stored for that domain.</p>
<p>Either look into JSONP (which jQuery does support) for a way to bridge the cross-domain gap, or consider using a service on the consuming domain to act as a proxy (which is what the RSS requesting service effectively does in this example) since server-side code doesn&#8217;t have the cross-domain restriction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imperialx</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37911</link>
		<dc:creator>imperialx</dc:creator>
		<pubDate>Sat, 30 Jan 2010 01:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37911</guid>
		<description>No, it will not. Both will be hosted on separate domain and hosting accounts, one will be hosted at GoDaddy while the other at SoftSys.

Can I still use jQuery with cross-domain?</description>
		<content:encoded><![CDATA[<p>No, it will not. Both will be hosted on separate domain and hosting accounts, one will be hosted at GoDaddy while the other at SoftSys.</p>
<p>Can I still use jQuery with cross-domain?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37907</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Sat, 30 Jan 2010 00:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37907</guid>
		<description>When you specify a cross-domain URL to $.getJSON, it switches to JSONP.  That&#039;s why it&#039;s appearing to work.  JSONP is totally different though.

Will these projects eventually be hosted on the same domain and same port, in separate virtual directories?</description>
		<content:encoded><![CDATA[<p>When you specify a cross-domain URL to $.getJSON, it switches to JSONP.  That&#8217;s why it&#8217;s appearing to work.  JSONP is totally different though.</p>
<p>Will these projects eventually be hosted on the same domain and same port, in separate virtual directories?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imperialx</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37897</link>
		<dc:creator>imperialx</dc:creator>
		<pubDate>Fri, 29 Jan 2010 04:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37897</guid>
		<description>Hello Dave,

I can get the response/html viewable from Firebug when I don&#039;t directly call the webservice (.asmx) but calling the page  instead (.ASPX) using jQuery.getJSON, however, I couldn&#039;t pass the result to a page element (e.g. div).

This is what i mean,

Below is PRJ_2 jQuery that calls PRJ_1 homepage (PRJ_1_Index.aspx). 

    &lt;pre lang=&quot;html&quot;&gt;
        $(document).ready(function() {
            $.getJSON(&quot;http://localhost:8008/PRJ_1/PRJ_1_Index.aspx/&amp;callback=?&quot;, function(data) {
	            jQuery(&#039;#resultDIV&#039;).html(data);
            });
        }); 
     
    &lt;/pre&gt;

Using Firebug, and looking at RESPONSE and HTML tab, I can see my desired output but I couldn&#039;t pass the output to my page element &#039;resultDIV&#039;. The elemnent remains blank. I&#039;m not getting any error cause the status is &#039;200 OK&#039;.

This is PRJ_1 page and code-behind. PRJ_1 code-behind calls the webservice directly and pass the result to its page. I use the default HelloWorld method when creating the webservice file.

    &lt;pre lang=&quot;html&quot;&gt;
    
        
    &lt;/pre&gt;
&lt;pre lang=&quot;asp&quot;&gt;
    Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
        Dim callHelloWord As New localhost.WebService_LocalHost()

        Label1.Text = callHelloWord.HelloWorld() 
    End Sub&lt;/pre&gt;
    
I hope you can help me Dave. 


-imperialx</description>
		<content:encoded><![CDATA[<p>Hello Dave,</p>
<p>I can get the response/html viewable from Firebug when I don&#8217;t directly call the webservice (.asmx) but calling the page  instead (.ASPX) using jQuery.getJSON, however, I couldn&#8217;t pass the result to a page element (e.g. div).</p>
<p>This is what i mean,</p>
<p>Below is PRJ_2 jQuery that calls PRJ_1 homepage (PRJ_1_Index.aspx).</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">        $(document).ready(function() {
            $.getJSON(&quot;http://localhost:8008/PRJ_1/PRJ_1_Index.aspx/<span style="color: #ddbb00;">&amp;amp;</span>callback=?&quot;, function(data) {
	            jQuery('#resultDIV').html(data);
            });
        });</pre></div></div>

<p>Using Firebug, and looking at RESPONSE and HTML tab, I can see my desired output but I couldn&#8217;t pass the output to my page element &#8216;resultDIV&#8217;. The elemnent remains blank. I&#8217;m not getting any error cause the status is &#8216;200 OK&#8217;.</p>
<p>This is PRJ_1 page and code-behind. PRJ_1 code-behind calls the webservice directly and pass the result to its page. I use the default HelloWorld method when creating the webservice file.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&nbsp;</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;">    Protected <span style="color: #00f; font-weight: bold;">Sub</span> Page_PreRender<span style="color: #060; font-weight:bold;">&#40;</span><span style="color: #909; font-weight: bold;">ByVal</span> sender <span style="color: #306;">As</span> Object, <span style="color: #909; font-weight: bold;">ByVal</span> e <span style="color: #306;">As</span> System.<span style="color: #90c;">EventArgs</span><span style="color: #060; font-weight:bold;">&#41;</span> Handles <span style="color: #909; font-weight: bold;">Me</span>.<span style="color: #90c;">PreRender</span>
        <span style="color: #909; font-weight: bold;">Dim</span> callHelloWord <span style="color: #306;">As</span> <span style="color: #00f; font-weight: bold;">New</span> localhost.<span style="color: #90c;">WebService_LocalHost</span><span style="color: #060; font-weight:bold;">&#40;</span><span style="color: #060; font-weight:bold;">&#41;</span>
&nbsp;
        Label1.<span style="color: #90c;">Text</span> <span style="color: #060; font-weight: bold;">=</span> callHelloWord.<span style="color: #90c;">HelloWorld</span><span style="color: #060; font-weight:bold;">&#40;</span><span style="color: #060; font-weight:bold;">&#41;</span> 
    <span style="color: #909; font-weight: bold;">End</span> <span style="color: #00f; font-weight: bold;">Sub</span></pre></div></div>

<p>I hope you can help me Dave. </p>
<p>-imperialx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imperialx</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37895</link>
		<dc:creator>imperialx</dc:creator>
		<pubDate>Fri, 29 Jan 2010 01:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37895</guid>
		<description>Hello Dave,

Project 2 has different port. So this is cross-domain restriction, but how could I use my webservice on a different port/domain? Will jQuery helps prevent cross-domain issue?</description>
		<content:encoded><![CDATA[<p>Hello Dave,</p>
<p>Project 2 has different port. So this is cross-domain restriction, but how could I use my webservice on a different port/domain? Will jQuery helps prevent cross-domain issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37894</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Thu, 28 Jan 2010 22:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37894</guid>
		<description>Is project 2&#039;s address also localhost:8008 or is it using a different port?  Changing the port does run afoul of the cross domain restriction.</description>
		<content:encoded><![CDATA[<p>Is project 2&#8217;s address also localhost:8008 or is it using a different port?  Changing the port does run afoul of the cross domain restriction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imperialx</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37877</link>
		<dc:creator>imperialx</dc:creator>
		<pubDate>Thu, 28 Jan 2010 06:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37877</guid>
		<description>Hello Dave,

I hope you can help me.

I think I&#039;m having this cross-domain issue (although I haven&#039;t tried it yet on production, the issue persist in development).

I have two projects running on the same machine, one project (PRJ_1) has the webservice, which uses the default HelloWord method, and the other project (PROJ_2) needs to access PRJ_1&#039;s webservice, but I&#039;m getting this error,  &quot;Request format is unrecognized for URL unexpectedly ending in &#039;/HelloWorld/&#039;. &quot;
PRJ_2 uses jQuery to fetch PRJ_1&#039;s webservice.

This is PRJ_2 page that uses jQuery.

&lt;pre lang=&quot;javascript&quot;&gt;        $(document).ready(function() {
                 
              $.ajax({  
              type: &quot;POST&quot;,  
              contentType: &quot;application/json; charset=utf-8&quot;,
              url: &quot;http://localhost:8008/PRJ_2/WebService_LocalHost.asmx/HelloWorld&quot;,  
              data: &quot;{}&quot;,  
              dataType: &quot;json&quot;,
              success: function(data) {  
                             $(&quot;#result&quot;).html(data);  
                          }      
              }); 
                 
        });&lt;/pre&gt;
     

    Result from webservice must reside here.

----

This is PRJ_1 webservice.

&lt;pre lang=&quot;javascript&quot;&gt;Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols

 _
 _
 _
 _
Public Class WebService_LocalHost
    Inherits System.Web.Services.WebService

     _
    Public Function HelloWorld() As String

        Return &quot;Hello my beautiful World!&quot;
    End Function
End Class&lt;/pre&gt;

As you can see, PRJ_1 webservice data information isn&#039;t sensitive (no need for authentication), this is just like how I wanted it, anyone can access real data through a webservice.

How can I go on with this? Thank You for your help Dave!


-imperialx</description>
		<content:encoded><![CDATA[<p>Hello Dave,</p>
<p>I hope you can help me.</p>
<p>I think I&#8217;m having this cross-domain issue (although I haven&#8217;t tried it yet on production, the issue persist in development).</p>
<p>I have two projects running on the same machine, one project (PRJ_1) has the webservice, which uses the default HelloWord method, and the other project (PROJ_2) needs to access PRJ_1&#8217;s webservice, but I&#8217;m getting this error,  &#8220;Request format is unrecognized for URL unexpectedly ending in &#8216;/HelloWorld/&#8217;. &#8221;<br />
PRJ_2 uses jQuery to fetch PRJ_1&#8217;s webservice.</p>
<p>This is PRJ_2 page that uses jQuery.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">        $<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
              $.<span style="color: #660066;">ajax</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>  
              type<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;POST&quot;</span><span style="color: #339933;">,</span>  
              contentType<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;application/json; charset=utf-8&quot;</span><span style="color: #339933;">,</span>
              url<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;http://localhost:8008/PRJ_2/WebService_LocalHost.asmx/HelloWorld&quot;</span><span style="color: #339933;">,</span>  
              data<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;{}&quot;</span><span style="color: #339933;">,</span>  
              dataType<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;json&quot;</span><span style="color: #339933;">,</span>
              success<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>  
                             $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#result&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
                          <span style="color: #009900;">&#125;</span>      
              <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
        <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>    Result from webservice must reside here.</p>
<p>&#8212;-</p>
<p>This is PRJ_1 webservice.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">Imports System.<span style="color: #660066;">Web</span>
Imports System.<span style="color: #660066;">Web</span>.<span style="color: #660066;">Services</span>
Imports System.<span style="color: #660066;">Web</span>.<span style="color: #660066;">Services</span>.<span style="color: #660066;">Protocols</span>
&nbsp;
 _
 _
 _
 _
<span style="color: #003366; font-weight: bold;">Public</span> <span style="color: #003366; font-weight: bold;">Class</span> WebService_LocalHost
    Inherits System.<span style="color: #660066;">Web</span>.<span style="color: #660066;">Services</span>.<span style="color: #660066;">WebService</span>
&nbsp;
     _
    <span style="color: #003366; font-weight: bold;">Public</span> <span style="color: #003366; font-weight: bold;">Function</span> HelloWorld<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">As</span> String
&nbsp;
        <span style="color: #000066; font-weight: bold;">Return</span> <span style="color: #3366CC;">&quot;Hello my beautiful World!&quot;</span>
    End <span style="color: #003366; font-weight: bold;">Function</span>
End <span style="color: #003366; font-weight: bold;">Class</span></pre></div></div>

<p>As you can see, PRJ_1 webservice data information isn&#8217;t sensitive (no need for authentication), this is just like how I wanted it, anyone can access real data through a webservice.</p>
<p>How can I go on with this? Thank You for your help Dave!</p>
<p>-imperialx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Building an AJAX web part with jQuery (Part 2)</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37822</link>
		<dc:creator>Building an AJAX web part with jQuery (Part 2)</dc:creator>
		<pubDate>Wed, 20 Jan 2010 16:52:01 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37822</guid>
		<description>[...] a HTTP POST request as well as specify some other options for the request. For more information see this post by Dave Ward. To initially load the shopping cart we use the following [...]</description>
		<content:encoded><![CDATA[<p>[...] a HTTP POST request as well as specify some other options for the request. For more information see this post by Dave Ward. To initially load the shopping cart we use the following [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37802</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Sun, 17 Jan 2010 18:13:17 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37802</guid>
		<description>That is primarily how I&#039;ve been using ASP.NET for the past year or more.  I&#039;ve been very happy with the results, and would definitely recommend it.

At the same time, I do still use TextBoxes and Buttons for posting forms to the server traditionally, and a Repeater or ListView is often useful.  I completely avoid the heavy controls like the GridView though.</description>
		<content:encoded><![CDATA[<p>That is primarily how I&#8217;ve been using ASP.NET for the past year or more.  I&#8217;ve been very happy with the results, and would definitely recommend it.</p>
<p>At the same time, I do still use TextBoxes and Buttons for posting forms to the server traditionally, and a Repeater or ListView is often useful.  I completely avoid the heavy controls like the GridView though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Daud</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37796</link>
		<dc:creator>Sam Daud</dc:creator>
		<pubDate>Sun, 17 Jan 2010 05:54:53 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37796</guid>
		<description>Hi Dave,

Would you recommend  asp.net development with  html server controls and jquery without using any server controls of asp.net . so that there are no viewstates and asp.net is used mostly for its infrastructure such as security, .net framework , role provider etc.</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>Would you recommend  asp.net development with  html server controls and jquery without using any server controls of asp.net . so that there are no viewstates and asp.net is used mostly for its infrastructure such as security, .net framework , role provider etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ranacseruet</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37705</link>
		<dc:creator>ranacseruet</dc:creator>
		<pubDate>Mon, 28 Dec 2009 14:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37705</guid>
		<description>Nice tutorial, very helpful. Thanks</description>
		<content:encoded><![CDATA[<p>Nice tutorial, very helpful. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-12-23 &#171; 2LeggedSpider</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37680</link>
		<dc:creator>links for 2009-12-23 &#171; 2LeggedSpider</dc:creator>
		<pubDate>Wed, 23 Dec 2009 12:03:51 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-37680</guid>
		<description>[...] Using jQuery to Consume ASP.NET JSON Web Services &#124; Encosia [...]</description>
		<content:encoded><![CDATA[<p>[...] Using jQuery to Consume ASP.NET JSON Web Services | Encosia [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-36997</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Mon, 09 Nov 2009 23:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/#comment-36997</guid>
		<description>I don&#039;t immediately see anything wrong with that.  I&#039;d suggest watching it in Firebug&#039;s &quot;net&quot; tab and look for anything obviously wrong with the URL that&#039;s being requested.  Try copying it from Firebug and accessing it directly in the browser too.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t immediately see anything wrong with that.  I&#8217;d suggest watching it in Firebug&#8217;s &#8220;net&#8221; tab and look for anything obviously wrong with the URL that&#8217;s being requested.  Try copying it from Firebug and accessing it directly in the browser too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
