Blog du Tristank

So terrific that 3 of 4 readers rated it "soporific"

Jump to closing Curly Brace!

I maintain a few projects with a few spaghetti functions. It’s really common to see something like: try{ //And then sixteen pages of text before the closing brace } If you click either brace, it highlights its counterpart, which is great when they’re on the same page, but not when they’re many scrolly pages and… Read more

Windows 8 UX Fundamentals–free virtual training

I’ve been working on the Windows 8 Application Excellence Lab circuit recently, helping push Metro-style apps from good to great! Metro apps look visually simple, but conveying your app’s information in a simple and visually appealing manner isn’t just a matter of “removing stuff”. The best apps look simple, present information appealingly and effectively, and… Read more

A weekend’s worth of tips in the Windows 8 Consumer Preview

Just some notes recording what I’ve picked up from a couple of days using the Windows 8 Consumer Preview on my main desktops:   The hit target for the Start button is the very bottom left corner – like, the four pixels in that region. Just slam the mouse there and click – when you… Read more

Important Kerberos-related hotfix for IIS 7.5

Users cannot access an IIS-hosted website after the computer password for the server is changed in Windows 7 or in Windows Server 2008 R2http://support.microsoft.com/default.aspx?scid=kb;en-US;2545850 Essentially, if the computer acount password changes, AppPoolIdentities might be unable to perform Kerberos authentication thereafter (if IIS is restarted as well).  … Read more

IE10 Compat Inspector

There’s an very handy-looking new tool that can be used to quickly determine a site’s compatibility with IE10. I set it up with Fiddler on one of my machines, and can now enable a pop-up item in Fiddler under the Rules menu. I wasn’t familiar with Fiddler’s rules engine before… more investigation is needed!… Read more

IUSR vs Application Pool Identity – Why use either?

(pasted from my email clippings. I’m on holiday right now, catching up on paperwork!) The TLDR version is: using AppPoolIdentity as both the App Pool Account and Anonymous user account lets you have multiple isolated anonymous websites on one box. IIS 7.x and upwards (as of Win2008 R2 and Windows 2008 SP2, also in IIS 8.x in Windows Server… Read more

Ooh! The Web Farm Framework for IIS 7.x!

ScottGu has the detail of (and a walkthrough for) the Web Farm Framework, which looks to make high-uptime application publishing, deployment and maintentance a snap. Last month we released a beta of the Microsoft Web Farm Framework. The Microsoft Web Farm Framework is a free product we are shipping that enables you to easily provision and… Read more

Don’t Use Office Applications (or GDI+, or System.Drawing, or WinInet) in a Server Application (or ASP.Net)

Johan posted a timely reminder of a long-standing perennial support call generator in his post Office Automation . Adding one more option to the list of possible workarounds – direct XML-based production/manipulation of an OOXML (or ODF, for that matter) document (Word, Excel, Powerpoint?) might get you where you need to go. Now, to get… Read more

.HDMP and .MDMP files

Just a quickie – the rule is blog what you know, but I figure my speculation might be good enough here. A friend gave me an HDMP file and asked what I could make of it. After the usual “I could make a hat! Or a brooch! Or a dinosaur!” type stuff, I realized it… Read more