Thursday, November 11, 2010

TechEd Europe 2010: Day 2

In this post you can find information on the sessions I attended at TechEd Europe yesterday. I tried to give a very brief summary per session accompanied with some interesting links you can use to find more information on the subject.

Architecture Discovery with Visual Studio 2010 Ultimate

In the first session of the day Peter Provost demoed the most important architecture discovery features in Visual Studio 2010 Ultimate:
- DGML dependency graphs
- Architecture explorer
- Layer diagram
- UML modeling

I really need to try this out on my own solutions as soon as I get back to Belgium!

Usability, SEO, Security: Common RIA and Ajax mistakes (and fixes)

Christian Wenz composed a list of common RIA and Ajax mistakes. Next to pointing out the mistakes, he also demonstrated how you can fix them.

Problems he talked about are:
- Bookmarks and maintaining state: You could maintain state using cookies, but that is kind of nasty. It's better to use url hashes to get the job done.
- Back and forward buttons: In most AJAX applications the browsers back and forward buttons don't work as they should. The easiest way to make this work is by using the ASP.NET ScriptManager to enable history. The client-side alternative for this comes in the form of a jQuery plug-in (BBQ, hasChange or history).
- Concurrent HTTP requests: Because browsers limit the number of concurrent HTTP requests to the same FQDN, you should avoid this when possible. If necesseray you can use a model called Comet.
- Security: Security is hard. Beware of XSS, CSRF and SQL injection.

What you as an ASP.NET Developer, need to know about jQuery.

This session was hosted by Gill Cleeren. Gill maintained a solid pace, and was able to show us a ton of code examples in only 60 minutes.

You can already download the presentation and samples on his blog. Strongly adviced!

Best practices for building high performance web applications

The host of this session was Pete Lepage. To be honest I expected more from this session. Pete spent 75% of this session advertising IE9..

I found a few useful best practices in this session though:
- Javascript: Try to minimize symbol resolution and remove duplicate scripts.
- Network: Minify your scripts and use sprites for images to reduce network connections.

For more information on the subject, read this article titled "Best Practices for Speeding Up Your Web Site".

Data Development GPS: Guidance for choosing the right data access technology for your application today

Drew Robbins took us around all data access technologies available in .NET today.

The most relevant data access technologies in .NET available today are:
- ADO.NET Core
- Linq To Sql
- ADO.NET Entity Framework
- WCF Data Services and OData

ADO.NET Core isn't going anywhere. This is the foundation of all modern .NET data access technologies. Use the ADO.NET Core when you want full control. Linq To Sql still is fully supported, but little to none new investments are made by Microsoft. You should avoid using Linq To Sql for new projects. The technology you should use is the ADO.NET Entity Framework. Microsoft is making signifcant investments into this framework, and the .NET community seems to be very happy with this. WCF Data Services and OData should be used for services that primarily expose data.

I plan on posting the most interesting stuff here daily this week, so stay tuned!

No comments:

Post a Comment