Brought to you by

TechEd 2009

Posted 9 years ago in Platform by Craig Walker
Posted by Craig Walker

Some of the Xero development team have just spent the last few days in Auckland at this years Microsoft TechEd 2009 conference. I’d like to congratulate Scott Wylie and the Microsoft NZ team for a very well run event – it has to be the slickest technology event in New Zealand, and as Chris Liddell said in his keynote speech, it’s the biggest TechEd in the world per capita!

xb_techedboysAuckland obviously knew Xero would be there and lit up the Sky Tower in appropriate colors:


The week started with over 300 people attending Code Camp on Sunday, organized by our very own Kirk Jackson. In fact, Kirk had a big week, presenting at both Code Camp and TechEd itself. Sky Sigal and Owen Evans also gave spirited talks at Code Camp and the feedback I’ve heard suggests that Code Camp was a real highlight – well done to Kirk, the team and everyone involved.

Chris Liddell opened the official event with an interesting look at Microsoft corporate, interspersed with demos from some of the new technologies Microsoft is looking to bring out over the next couple of years. He talked about how we’re entering into a “reset economy” and that set the theme over the 3 day event which was heavily focused around innovation and productivity in the new economy.

Overall I have to say this years event felt a little subdued. I’m not quite sure if it’s the recession or the lack of big name speakers from the US, but there wasn’t quite the buzz of previous years. One of the interesting things from my point of view was the lack of a strong Software+Services stream which had dominated previous TechEd’s. Having said that Techfest on Tuesday night was a great night as always (where is that video of Owen dancing?!) and it was great to catch up and network with all the usual suspects.

Both Kirk and I presented at TechEd – I talked about optimizing client side performance (something I’ve talked about before and am very passionate about), while Kirk looked at Visual Studio Team System 2010 and also did a joint session with Andy Prow from Aura Software Security entitled “Hack-Ed, Teaching the Good-Guys Bad-Tricks”. I don’t think words can quite do their talk justice – so I’ll leave you with some video:


Audit Software
September 18, 2009 at 6.34 am

Sounds like fun, wish we could have attended.

John Harry
September 22, 2009 at 2.48 pm

You mentioned at TechEd (WUX210) that you had batch files for enabling compression in IE6. Any chance you could pass those on?

Craig Walker in reply to John Harry Xero
September 23, 2009 at 12.47 pm

To enable HTTP Compression in IIS6

Simply put the following code into a .bat file and run it.

cd %systemdrive%\Inetpub\AdminScripts

cscript adsutil.vbs set w3svc/filters/compression/parameters/HcDoDynamicCompression true
cscript adsutil.vbs set w3svc/filters/compression/parameters/HcDoStaticCompression true

cscript.exe adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcDynamicCompressionLevel "9"
cscript.exe adsutil.vbs set W3Svc/Filters/Compression/DEFLATE/HcDynamicCompressionLevel "9"

cscript.exe adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcFileExtensions "htm" "html" "js" "css" "xml"
cscript.exe adsutil.vbs set W3Svc/Filters/Compression/DEFLATE/HcFileExtensions "htm" "html" "js" "css" "xml"

cscript.exe adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcScriptFileExtensions "aspx" "ascx" "ashx" "htm" "html" "js" "css" "xml"
cscript.exe adsutil.vbs set W3Svc/Filters/Compression/DEFLATE/HcScriptFileExtensions "aspx" "ascx" "ashx" "htm" "html" "js" "css" "xml"

IISReset.exe /restart

Basically it’s executing the IIS admin scripts to edit the IIS metabase appropriately (note: it has to do an IISReset at the end of the script so be careful when running this on a production environment). As you can see the compression settings in IIS6 work on file extensions (unlike IIS7 which works on the significantly better system of content types). Therefore you’ll need so add to the list of extensions if you have any additional file types you want to support (i.e., .axd).

Let me know if you have any problems. Remember to run Fiddler and/or YSlow before & after running the batch file to make sure compression is working as expected.


September 25, 2009 at 10.27 am

Thanks for this craig.
Just a curious question, Will this work irrespective of the framework used to build website? I have mixture of ASP, .NET1.1 and 2.0 websites on my server with IIS6.0.

Craig Walker in reply to Mohammad Xero
September 25, 2009 at 3.57 pm

Absolutely – these are just IIS settings – nothing to do with .NET (though the file extensions I’ve provided in the script are .NET specific if you wanted to serve php or asp or whatever from IIS then you just add those extensions to the dynamic scripts list).


Gerard van de Ven
September 28, 2009 at 9.59 am

Thanks Craig. After doing this manually a few times, running this script will be sooo much easier.

Leave a reply

Your email address will not be published. Required fields are marked *