New features in ASP.NET AJAX 4.0

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 discussed below.

Live data binding
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.

Observer pattern
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

Client templates
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.

	<table id="resultTable" class="sys-template">
		<tr>
			<td>{{Name}}</td>
			<td>{{Id}}</td>
		</tr>
	</table>
	

This type of databinding notation is similar to Silverlight/WPF.

Inclusion of and support for jQuery library
The development team at Microsoft has acknowledged the use of the jQuery library and it will be included in the next release

Web service invocation
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.

Some nice new features the development team is working on are:

  • Client sided sorting, pagination and filtering
  • Sending changes to the server
  • AJAX Control Toolkit will get rolled into the core release (previously this was a separate download)

Today is the D(ev)-days

Today we’re going to the deydays in the hague.

Here we will be attending seminars about:

  • Azure Services Platform, Microsoft in the cloud.
  • C# 4.0, the future of the C# language.
  • Silverlight 3.0, the new version of the Silverlight framework
  • ASP.NET AJAX 4.0, the new AJAX framework by microsoft.
  • Parallel programming, the new way for using multiple cores in .NET 4.0.

We will keep you informed about these and other subjects of the devdays.

QNH at Microsoft DevDays09

On the 28st and 29nd of May 2009 (upcomming thursday and friday), Laurens ‘t Hardt and me (Jeffrey Tummers) are going to the Microsoft DevDays ’09.

QNH @ DevDay09

The trip is sponsored by our employee QNH, on the days of the event we will be posting several blogposts on this site. Be sure to check the new posts here.

REST-like webservice/api for imdb.com with XML or JSON output

New version available!
Read my update post.

The site imdb.thumnet.com is a personal project that I recently released on the web.

This webservice/api supplies an interface for the Internet Movie DataBase (in short IMDB). It gives you the abbillity to search for, or view details of,  a movie with a REST like request.

Some examples are:

The output for the result of the request can be as XML or JSON. This makes it fairly easy to integrate movie information on you’re personal site.

For more information check out the site yourself.

If you encounter any problems please report them as a comment below.

Welcome to the ThumNet blog!

Welcome to the ThumNet blog.

This is actually my first blog post ever, and I hope there are many more to follow!

As most of you already concluded this blog is build with WordPress

After the WordPress installation, which was very easy thanks to InstallaTron, I went looking for a theme. On the WordPress Themes page there was the blue Pixeled theme (version 1.9.2) which I really like, but there is one small problem. The developer (Sam) also created an earlier version of the pixeled theme (version 1.0) which was in green, but this wasn’t really up to date anymore. For this blog I wanted to give visitors the ability to choose between these two colors.

So I took the latest version of Sam’s theme and changed the following:

  • copied both bgbody.png files into the images directory and renamed them accordingly
  • created two partial StyleSheets with specific color settings, which will be loading on top of to the default StyleSheet
  • picked up the styleswitcher.js file from A List Apart, which had to be updated because the attachEvent function isn’t cross browser compatible
  • finally added the links to change the theme’s color in the header.php file

The links to change the color are located at the top right of the page, next to the text “color”.

Sources for the multicolor pixeled theme will be available through Sam’s or this site, but I first have to contact Sam to show him the modifications and ask him what he likes to do with them.

» Newer posts