Some Random Notes

PROFILER
http://blog.maartenballiauw.be/post/2008/02/Code-performance-analysis-in-Visual-Studio-2008.aspx
http://msdn.microsoft.com/en-us/library/dd255366.aspx
http://blogs.msdn.com/ianhu/archive/2005/09/15/467655.aspx

REMOTE DEBUGGING
http://vspug.com/llowevad/2008/04/10/remote-debugging-gac-d-assemblies-in-sharepoint/
http://justindevine.wordpress.com/2008/12/04/remote-development-deployment-and-remote-debugging-your-first-sharepoint-2007-program/

Note on turning off load balancing – simply connect on wfe to network load blaanced and stop the appropriate node

MOSS Quicknote: Updating Profile Property Choices Programmatically

Just a quicknote – there is a glitch in the SharePoint OM, that if you update the choicelist for a profile property programmatically, without altering any other attributes of the profile property, the change is not accepted. To force acceptance of the change, you need to programmatically update another attribute of the profile property at the same time, such as the displayname (ensuring that its changed to a different value). What seems to be going on in behind the scenes is that an IsDirty flag is set when you try to update a profile property, however this is not set when you update the choice list. Note that it is also not set if you update the displayname to the same value as previous.

I would post example code, but i’m too tired! If anyone wants me to post example code, please post a comment below requesting this.