title: Using jQuery Serialize in ASP.NET
body: <p>what is the usage of <a href="http://api.jquery.com/serialize/" rel="nofollow">jQuery Serialize</a> API in ASP.NET ?
  how can we use it ?
  Is it possible to convert  serialized object to .NET strong type object?
  Or map the serialized object to into .NET equivalent  object?
  for example we have two field in a 'member' table.
  Name , Age.
  so we have these properties in Member Entity ;</p>
  
  <pre><code>    public string Name { get; set; }
  public string Age { get; set; }
  </code></pre>
  
  <p>And we have these codes in our presentation layer :</p>
  
  <pre><code>       &lt;asp:TextBox ID="txtName" runat="server"&gt;&lt;/asp:TextBox&gt;
          &lt;asp:TextBox ID="txtAge" runat="server"&gt;&lt;/asp:TextBox&gt;
          &lt;asp:Button ID="btnSave" runat="server" Text="Button" /&gt;
  </code></pre>
  
  <p>When I serializing form using this code :</p>
  
  <pre><code>$.fn.serializeNoViewState = function()
  {
      return this.find("input,textarea,select,hidden")
                 .not("[type=hidden][name^=__]")
                 .serialize();    
  }
  </code></pre>
  
  <p>the Serialized object will be like this :</p>
  
  <blockquote>
  <pre><code>ctl00%24MainContent%24txtName=Pitter&amp;ctl00%24MainContent%24txtAge=20
  </code></pre>
    
    <p>so is this string or JSON object? I think its string.
    and now what are the benefits of this Serialized output for us?
    I know that we are able to pas this output to server using jQuery AJAX. but how can we use it Server Side?</p>
  </blockquote>