Pages

Wednesday 6 June 2007

Tuesday: Linq and ASP.NET

Saw one breakout session about Linq and two about ASP.NET.


DEV324 - The .NET Language Integrated Query (LINQ) Framework
Tuesday, June 5 8:30 AM - 9:45 AM, N320 A
Speaker(s): Luca Bolognese

Luca delivered a lively talk where he demonstrated the elegance of writing queries in LINQ. From C# you can now write code that looks very similar to a SQL query where the 'FROM table' is an object implementing IEnumerable and the resultset goes into a variable.

It works with SQL Server for the moment and could work with Oracle whenever Oracle releases a provider for it.

If LINQ worked with Oracle, this could be a nice way to code business rules in C# instead of PL/SQL stored procedures (IDE support for PL/SQL is very crude) or nHibernate (I'm afraid of ORM complexity from a debugging perspective).

Luca's blog: http://blogs.msdn.com/lucabol/

WEB305 - Building a Complete Web Application Using ASP.NET "Orcas" and Microsoft Visual Studio Code Name "Orcas" (Part 1 of 2)
Tuesday, June 5 10:15 AM - 11:30 AM, S230 E
Speaker(s): Scott Guthrie


Attended both sessions by Scott. What I'll remember:


  • Visual Studio 2008 will support multi-targeting. That means when you create a project you can say whether you want to use .NET Framework 2.0, 3.0 or 3.5.
  • The HTML designer in Visual Studio is getting serious (same engine as Expression), although not as powerful as Dreamweaver, it's getting there: fast source switching, split design/code views...
  • CSS support: you select an HTML element and see what CSS rules apply to it or select a CSS rule and see all HTML elements it applies to. You can also change the CSS properties in one window and immediately see the results in the other window.
  • LINQ: when running a link query the VS debugger shows the SQL query that was generated by LINQ. It also shows the data retured by the query. Very cool, lots of clapping in the audience when Scott demonstrated that.
  • VS2008 supports Javascript debugging (breakpoints, step by step) as well as intellisense. Again the audience loved it.

No comments: