Human-Debugger.net - Blogging about Cultivating a Culture, Agile Training, Continuous Delivery, Performance Optimization and Get Things Done

TechEd Eilat 2008 – Day 2

This is the main day of TechEd were we had lectures from 8:00 till 19:00 Here are my list of lectures for that day:

Optimizing and Extending ASP.NET Ajax – for going beyond the update panel  – (by Assaf Shely)
This was a lecture of 400, at least that is what they wrote. in reality that was an introduction for Ajax, he explain about the update panel and about JSON. The only thing I want to add from this lecture is all he says about ASP.NET Ajax 3.6 – which can support browser history capabilities.
My grade to Assaf’s lecture: 6/10 (a big disappointment)

DDC & ASP.NET MVC (by Noam King)
DDC – dynamic data controls (you can read here), MVC – Model View Controller (you can read more in my last post about ASP.NET MVC).
Noam showed a simple usage of the MVC API, and a simple creation of a web site from the DDC API, those both samples are the simple web casts you can find and learn in 15 minutes. a big waste of time (again)
My grade to Noam’s lecture: 8/10 (Noam is a great lecturer, the problem was the level of the lecture – All they should do is to write: Intro at the beginning of the lecture description)

Service Host Customization (by Eyal Vardi)
Finally a great lecture for the second day. It was a great one. you can download the lecture here.
Eyal showed a great sample for Config manager – which helps you manage your configurations details (addresses for example) – and in such way you can manage it inside your DB or something else – better than a configuration file (it gave me some great ideas for my next posts).
He also used the ServiceHost VIsualizer – I even started to use it at my place.
Next we dive into the Service Model Layer and its behaviors.

I’ll probably write about each of them in the near future.
For now, there were 4 demos:

Demo 1: CD – Channel dispatcher – writing you own Error Handler, we also talk about the throttling.
Demo 2: Saving persistence of the Service inside a given Service Host.
Demo 3: DR – Object Pooling using the Dispatcher Runtime, it is a great sample.
Demo 4: Serialization Issues – Eyal wrote a sample-infrastructure for handling Serialization and DeSerialization without using the known-types.

Go Gold with Silverlight (by Laurence Moroney)

This was an Introduction to Silverlight (of course), the only thing I liked about the lecture is the way he explained the differences between Silverlight 1.0 to Silverlight 2, while Silverlight 1.0 – is web friendly UI the Silverlight 2 – is .net based programming model with improve productivity. Laurence showed some cool samples (most of them you can find here, here, here and here), the one I liked the most is a Server servlet (written using J2EE) but the client that consume it is a .net web client (Silverlight) – at my place, one of our teamd, has some Java assets and they want to use it, so they start develop their own UI like in Java for movies\Audio\Web-Parts\Ajax capabilities – this sample could help them a lot.

My grade to the Laurence lecture is 7/10 – Laurence was great the problem was the lecture agenda – I really had enough from the Silverlight previews (so either call it preview\intro or show some code in it)

Restfulness (by Ron Jacobs)
First you should read this book (as they said – this is all you need to know about REST)
After David Chappell’s lecture about REST for the first day people told me not to take another REST-lecture, but I did – and – IT WAS GREAT!.
you can read more on Avi’s post. Ron gave more details about the implementation of REST using the WCF. for example:
How do you notify the sender about error in REST, you can’t send XML back to the client… The answer is simple: for example for deleting non-existing row you will get 404 (HTTP Error code) – I might admit I like this one, the problem is that you should write your own fault architecture to return those codes back, _still_ not implemented at the REST attributes of the WCF. (one more sample: an internal error in your code will probably should return 500 – un-handled exception)
Here is another thing that is still not so easy to do in your WCF implementation – how you can ask for a response? for example you would like to get the JSON return value and not the simple xml… in REST – all you need to do is to add the extension to your request, but you still need to implement it in the WebMethodAttribute by yourself.
And there were more samples, you can download them here… (Ron’s website). {you can also read  more in Wortzel’s post}
My grade to Ron’s lecture is: 9/10.