DevConnections - ASP.NET & VS Keynote - Scott Guthrie

Scott Guthrie gave a great keynote this morning.  As is turns out VS 2008 is almost complete and we are not getting a copy here at the conference.  We will get one mailed to us however after they release it.  Which means we will not really be one of the first to get it.  :(

 

Visual Studio 2008 - Of course this is going to be able to be used immediately by us due to the fact that you can target .NET Framework 2.0.  That means we can just install and continue developing the same applications with AJAX integration and JavaScript debugging support immediately.  Then we can upgrade the application immediately by changing the target.  I wonder if we can downgrade as well? That is something I will have to try once I get the bits.  I am pretty much going to install this one immediately.  Did I mention the HTML designer is now like Dreamweaver with the split screen?  Oh yeah, and you can just click on a section in the HTML and it takes you to it in the view as well.  How long ago did Dreamweaver have support for that? 'Bout time, Microsoft. :D  Did I mention the new CSS support? You can click on any element and see what is being applied to a particular section.  You can also see what parts of your CSS are being used and where.

 

VS2008 Shell Integration - One of the speakers came up and showed us an integration for building add-ins for World of Warcraft.  The coolest thing about this is the intellisense available in a non-MS language.  WoW uses a scripting language called "LUA."  That was definitely cool.

 

Top Banana - This is not released yet, but there are demos out there.  Google it.  Seriously. :D

 

Microsoft Popfly - This lets you build mashups of different things that are now available and when you are done, you have created a Silverlight application that you can include in your website.  That is pretty cool and allows for hobbyists to immediately be able to do RIA applications.

DevConnections - SOA - Michele Leroux Bustamante

My first session is a pre-conference workshop with Michele Leroux Bustamante.   She is one of the first people that was presenting on WCF back when it was beta, maybe before.  She has been talking about it for a long time and has even written a book on WCF.  Her session was really good and I highly recommend her to anyone because she is a great presenter and really knows her stuff (not to mention will dig into it).  Plus she is personable and you can ask her questions about items through email.

 

Little SOA - This is the idea of everything SOA except that you access across databases at the lowest level instead of having the service talk to another service.  I didn't like the idea of this, although for performance (for reports), this might have some relevancy.  Call me a purist, but I don't like when other applications have their hands into databases where they shouldn't.  I like being able to swap out my persistence layer without having to worry if I broke anything else than my application (which I can easily fix).  Other people's code should not have their hand in my cookie jar (data layer). :D

 

Use WCF Faults - This one has been biting us a bit.  Basically when you have a CLR Exception, you want to catch that and instead throw a FaultException.  CLR exceptions are considered critical and will fault the communications channel, which means you will need to create a new one.  When you throw a fault exception, it doesn't corrupt the communications channel.  So that is nice to know that you can pass back exceptions.

 

WCF communication - Michele recommends to cache the factory, but create a new channel every time.  Also for scalability not to throw everything into the same channel.  That means since we pipe most of our stuff through port 80 (wouldn't you know?), the recommendation is to get out of that model once you start getting a bunch of WCF services.

 

MTOM (Message Transmission Optimization Mechanism) - MessageEncoding in the binding.  The default is Text and it gets encoded in base64. So MTOM Definitely cool when you are passing binary data.  It gets rid of the base64 bloat.

 

There was plenty more that I didn't get to talk about here.  Mostly because it was just so much information in an all day session that my brain filled up, and part of it is that I want you to check out some of Michele's articles.

 

A quote that I really liked from Michele for when you are not allowing reentrancy into your code during a call: "Done. Like dinner."

Twitter