<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ThumNet &#187; aspnet</title>
	<atom:link href="http://blog.thumnet.com/tag/aspnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thumnet.com</link>
	<description>Just a ThumNet blog</description>
	<lastBuildDate>Fri, 06 Aug 2010 09:34:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>New features in ASP.NET AJAX 4.0</title>
		<link>http://blog.thumnet.com/new-features-aspnet-ajax-4/44/</link>
		<comments>http://blog.thumnet.com/new-features-aspnet-ajax-4/44/#comments</comments>
		<pubDate>Thu, 28 May 2009 21:21:43 +0000</pubDate>
		<dc:creator>Jeffrey Tummers</dc:creator>
				<category><![CDATA[DevDays09]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[aspnet]]></category>
		<category><![CDATA[qnh]]></category>

		<guid isPermaLink="false">http://blog.thumnet.com/?p=44</guid>
		<description><![CDATA[This post is about the session called ASP.NET AJAX 4.0 given by Fritz Onion A preview of the new version of ASP.NET AJAX is avaible on codeplex since the 28th of May. And it can be used within Visual Studio 2008. This version mainly focuses on new client side features, some of these are be [...]]]></description>
			<content:encoded><![CDATA[<p>This post is about the session called <strong>ASP.NET AJAX 4.0</strong> given by Fritz Onion</p>
<p>A preview of the new version of ASP.NET AJAX is avaible on <a href="http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=24645" title="download link">codeplex</a> since the 28th of May. And it can be used within Visual Studio 2008.
<p>This version mainly focuses on new client side features, some of these are be discussed below.</p>
<p>
	<strong>Live data binding</strong><br />
	Gives the developer an easy way to bind multiple controls to a single datasource, if a value changes all controls are automatically updated client side.
</p>
<p>
	<strong>Observer pattern</strong><br />
	This provides observer functionality to ordinary JavaScript objects, when a change occurs for an  observed object a notification is caused, which can be handled accordingly
</p>
<p>
	<strong>Client templates</strong><br />
	In an asp.net web application a list of data can be shown using a Repeater control, which is server sided. In 4.0 this can be done client sided as well. The way to define this is by using a XHTML compliant template, as shown below.</p>
<pre class="brush: xml;">
	&lt;table id=&quot;resultTable&quot; class=&quot;sys-template&quot;&gt;
		&lt;tr&gt;
			&lt;td&gt;{{Name}}&lt;/td&gt;
			&lt;td&gt;{{Id}}&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/table&gt;
	</pre>
<p>
	This type of databinding notation is similar to Silverlight/WPF.
	</p>
<p>
	<strong>Inclusion of and support for jQuery library</strong><br />
	The development team at Microsoft has acknowledged the use of the jQuery library and it will be included in the next release
</p>
<p>
	<strong>Web service invocation</strong><br />
	It is now easy to invoke a method of a WCF service. A downside is that the service must support JSON serialization and AJAX proxy generation, by default this is possible with WCF services.
</p>
<p>Some nice new features the development team is working on are:</p>
<ul>
<li>Client sided sorting, pagination and filtering</li>
<li>Sending changes to the server</li>
<li>AJAX Control Toolkit will get rolled into the core release (previously this was a separate download)</li>
</ul>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thumnet.com/new-features-aspnet-ajax-4/44/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
