TFS build Notes

There are a few links related to TFS build and Source control 

Customizing Team Foundation Build 

Add Continuous Integration Capabilities to Team Foundation Server

I've got  a few useful tips from  Mitch Denny:

To remove incorrect subsctiptions:

TFS has a table (tbl_subscriptions) in the TfsIntegration database which lists all these endpoints. Don’t ever edit this table directly. You can  look at the subscription ID and then use the bissubscribe.exe tool to unsubscribe those event registrations.

Make sure that the files that TFS Integrator is replicating are no checked out – this will cause it to fall over.
Use the TFS Sidekick tool to remove the locks/checkouts.

TFS Source Control Tools

Team Foundation Server Power Tool has History  with /followbranches option
More power: New power toy release (tfpt) includes VSS-style project difference

Other TFS links:
Changing the Local Path in Team Foundation Server Source Control

renaming files in TFS

ASP.Net Ajax UpdatePanel links.

I've tried to investigate slow load of UpdatePanel. It works quick enough in FireFox, slow in IE 7 and even more slower in IE6.

I found a few related links:

In production make sure that <compilation debug="false"> is in your web.config(tip from http://forums.asp.net/thread/1635011.aspx).

Delayed load with an UpdatePanel and similar post.

The top 10 mistakes when using AJAX recommends do not  put everything in a UpdatePanel.
"Are you making these 3 common ASP.NET AJAX mistakes?" suggest to use  IsPostBack, IsInAsyncPostBack and __EVENTTARGET to avoid redundant execution of code during partial postbacks.

The article "Build Google IG like Ajax Start Page in 7 days using ASP.NET Ajax and .NET 3.0" shows(among other intersting things) how to consider what to include into UpdatePanes.

Dynamic User Control, Ajaxify your controls suggests an alternative to UpdatePanel without instantiation the full page ,but the user control CANNOT depend on the page it lives in.

Loading UserControl Dynamically in UpdatePanel

Post "How to solve slow reponse with ASP.NET AJAX in IE 6?" suggests(among others)  to apply IIS compression to imporove the loading time.(NOT SURE HOW?) 

 UpdatePanel: having fun with errors describes 3 techniques to handle errors. I prefer server logging using OnAsyncPostBackError="HandleError" . The ideas are detailed in Customizing Error Handling for ASP.NET UpdatePanel Controls. See also Asp.net Ajax Exception Logging and How to improve ASP.NET AJAX error handling

 

Avoid calling unneseccary procedures during partial Update:

            ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);
            if ((scriptManager != null) && (scriptManager.IsInAsyncPostBack))
            { //ASSUMPTION: the control is not included in AJAX UpdatePanel
                return;
            }

Update after Damian Edwards's presentation "ASP.NET AJAX Tips and Tricks"
1. Always specify <UpdatePanel UpdateMode="conditional">
2. If there is no UpdatePanel on the page, specify ScriptManager.EnablePartialRendering="false".
3. Specify ChildrenAsTriggers=false, if you want to specify triggers explicitely
3. JavaScript calls _doPostBack('<%=btnTrigger.UniqueID %>
$get("ID")
«May»
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789