The Autodiscover Song

Published Aug 08 2008 02:31 AM 7,665 Views

 

Update! The actual song is now available for download as the attachment to this post. Enjoy!

So, how exactly do you encourage developers to adopt good development practices when such practices are not explicitly enforced?  We thought about embroidered socks and matching hats, but that was universally frowned upon.  Whitepapers and technical articles are good options, but in the end it was decided that Autodiscover was too important of a development practice to treat like any other feature in Exchange.  It needed something different and unique.  It needed.. a song.  Yes, a song - to immortalize the virtues of Autodiscover in verse, hoping that in the end, everyone would use Autodiscover in their applications and would rise up in chorus and sing this song together as a unified front.

Ok, maybe all developers singing in unison is a stretch. But one day while working on some changes in Autodiscover for the next version of Exchange, the chorus melody and words came to me and wouldn't leave me alone. I started to tinker on the piano and the rest of the song took shape. I didn't think much of it, but after discussing the idea with some other team members, it was decided that I should record and master it and make it available to the Exchange development community.

So here it is:

Chorus:

>>Autodiscover
>>There is no other
>>Way to decide
>>Where your mailbox is stored

>>Autodiscover
>>Your sister and brother
>>Exchange Admin and mother
>>Will be proud if you do

You may be tempted to wing it
Use a hardcoded link submit it
But performance will suffer
When you're left to your druthers
Should have Autodiscovered
Then all would be well

>>Chorus

Call it once for each mailbox of interest
Pair the link and mailbox for each request
If you encounter errors
Refresh once again
For more information search M-S-D-N for

>>Chorus

Exchange won't exist in a bubble
If you think that it will you're in trouble
Add a site, one or two
And your perf will be through
Unless you step up and decide that your app will just...

>>Chorus

Autodiscover,
Autodiscover,
Just AutoDiscover for me.
It's just plain XML

David Sterling 
Senior Software Development Engineer - EWS

21 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-585066%22%20slang%3D%22en-US%22%3EThe%20Autodiscover%20Song%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-585066%22%20slang%3D%22en-US%22%3E%3CP%3E%3C%2FP%3E%3CP%20class%3D%22alert%22%3E%3CSTRONG%3EUpdate!%3C%2FSTRONG%3E%20The%20actual%20song%20is%20now%20available%20for%20download%20in%20the%20link%20below.%20Enjoy!%3C%2FP%3E%0A%3CP%3ESo%2C%20how%20exactly%20do%20you%20encourage%20developers%20to%20adopt%20good%20development%20practices%20when%20such%20practices%20are%20not%20explicitly%20enforced%3F%26nbsp%3B%20We%20thought%20about%20embroidered%20socks%20and%20matching%20hats%2C%20but%20that%20was%20universally%20frowned%20upon.%26nbsp%3B%20Whitepapers%20and%20technical%20articles%20are%20good%20options%2C%20but%20in%20the%20end%20it%20was%20decided%20that%20Autodiscover%20was%20too%20important%20of%20a%20development%20practice%20to%20treat%20like%20any%20other%20feature%20in%20Exchange.%26nbsp%3B%20It%20needed%20something%20different%20and%20unique.%26nbsp%3B%20It%20needed..%20a%20song.%26nbsp%3B%20Yes%2C%20a%20song%20-%20to%20immortalize%20the%20virtues%20of%20Autodiscover%20in%20verse%2C%20hoping%20that%20in%20the%20end%2C%20everyone%20would%20use%20Autodiscover%20in%20their%20applications%20and%20would%20rise%20up%20in%20chorus%20and%20sing%20this%20song%20together%20as%20a%20unified%20front.%3C%2FP%3E%0A%3CP%3EOk%2C%20maybe%20all%20developers%20singing%20in%20unison%20is%20a%20stretch.%20But%20one%20day%20while%20working%20on%20some%20changes%20in%20Autodiscover%20for%20the%20next%20version%20of%20Exchange%2C%20the%20chorus%20melody%20and%20words%20came%20to%20me%20and%20wouldn't%20leave%20me%20alone.%20I%20started%20to%20tinker%20on%20the%20piano%20and%20the%20rest%20of%20the%20song%20took%20shape.%20I%20didn't%20think%20much%20of%20it%2C%20but%20after%20discussing%20the%20idea%20with%20some%20other%20team%20members%2C%20it%20was%20decided%20that%20I%20should%20record%20and%20master%20it%20and%20make%20it%20available%20to%20the%20Exchange%20development%20community.%3C%2FP%3E%0A%3CP%3ESo%20here%20it%20is%20-%20%3CA%20class%3D%22bold%22%20title%3D%22Download%20The%20AutoDiscover%20Song%20%5BWMA%20format%5D%20from%20TechNet%20Gallery%22%20href%3D%22http%3A%2F%2Fgallery.technet.microsoft.com%2FThe-Autodiscover-Song-a68b9f7c%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ethe%20Autodiscover%20song%3C%2FA%3E.%3C%2FP%3E%0A%3CBLOCKQUOTE%20class%3D%22blockquote2%22%3E%0A%3CP%3E%3CEM%3EChorus%3A%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26gt%3B%26gt%3BAutodiscover%3CBR%20%2F%3E%26gt%3B%26gt%3BThere%20is%20no%20other%3CBR%20%2F%3E%26gt%3B%26gt%3BWay%20to%20decide%3CBR%20%2F%3E%26gt%3B%26gt%3BWhere%20your%20mailbox%20is%20stored%3CBR%20%2F%3E%3CBR%20%2F%3E%26gt%3B%26gt%3BAutodiscover%3CBR%20%2F%3E%26gt%3B%26gt%3BYour%20sister%20and%20brother%3CBR%20%2F%3E%26gt%3B%26gt%3BExchange%20Admin%20and%20mother%3CBR%20%2F%3E%26gt%3B%26gt%3BWill%20be%20proud%20if%20you%20do%3C%2FP%3E%0A%3CP%3EYou%20may%20be%20tempted%20to%20wing%20it%3CBR%20%2F%3EUse%20a%20hardcoded%20link%20submit%20it%3CBR%20%2F%3EBut%20performance%20will%20suffer%3CBR%20%2F%3EWhen%20you're%20left%20to%20your%20druthers%3CBR%20%2F%3EShould%20have%20Autodiscovered%20%3CBR%20%2F%3EThen%20all%20would%20be%20well%3C%2FP%3E%0A%3CP%3E%3CEM%3E%26gt%3B%26gt%3BChorus%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3ECall%20it%20once%20for%20each%20mailbox%20of%20interest%3CBR%20%2F%3EPair%20the%20link%20and%20mailbox%20for%20each%20request%3CBR%20%2F%3EIf%20you%20encounter%20errors%3CBR%20%2F%3ERefresh%20once%20again%3CBR%20%2F%3EFor%20more%20information%20search%20M-S-D-N%20for%3C%2FP%3E%0A%3CP%3E%3CEM%3E%26gt%3B%26gt%3BChorus%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3EExchange%20won't%20exist%20in%20a%20bubble%3CBR%20%2F%3EIf%20you%20think%20that%20it%20will%20you're%20in%20trouble%3CBR%20%2F%3EAdd%20a%20site%2C%20one%20or%20two%20%3CBR%20%2F%3EAnd%20your%20perf%20will%20be%20through%3CBR%20%2F%3EUnless%20you%20step%20up%20and%20decide%20that%20your%20app%20will%20just...%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%26gt%3B%26gt%3BChorus%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3EAutodiscover%2C%20%3CBR%20%2F%3EAutodiscover%2C%20%3CBR%20%2F%3EJust%20AutoDiscover%20for%20me.%3CBR%20%2F%3EIt's%20just%20plain%20XML%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3E%3CSPAN%20class%3D%22author%22%3E%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Farchive%2F2008%2F03%2F24%2F448499.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%3EDavid%20Sterling%3C%2FA%3E%3C%2FSPAN%3E%3CBR%20%2F%3ESenior%20Software%20Development%20Engineer%20-%20%3CACRONYM%20title%3D%22Exchange%20Web%20Services%22%3EEWS%3C%2FACRONYM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Apr 28 2020 01:42 PM
Updated by: