Some Useful TFS Links

I’ve compiled a list of some current (& some oldies but goodies) links to good reference spots for VS and TFS. A lot of these are well known, but if you are new to VSTS/TFS these are some you should take a look at. Thanks, Mike Learned Installation TFS 2008 Installation Guide : http://www.microsoft.com/downloads/details.aspx?familyid=FF12844F-398C-4FE9-8B0D-9E84181D9923&displaylang=en Troubleshooting…

0

Creating non-user specific printer mappings

I was delivering a PowerShell class, and the question of how to create a remote printer mapping came up. Turns out that enterprise administrators may have the need to help users with their printer connections, setting them up for them. As I started thinking about the problem, it dawned on me that drive and printer…

0

Best Practice – Workflow and Anonymous Delegates

Best Practice Recommendation In your Workflow application (more exactly in the host of your workflow application) never use anonymous delegate like that : AutoResetEvent waitHandle = new AutoResetEvent(false); . . . workflowRuntime.WorkflowTerminated += delegate(object sender, WorkflowTerminatedEventArgs e) { waitHandle.Set(); }; Details The code above is very common and works correctly at least most of the…

2

Memory Based Recycling in IIS 6.0

Customers frequently ask questions regarding the recycling options for Application Pools in IIS. Several of those options are self explanatory, whereas others need a bit of analysis. I’m going to focus on the Memory Recycling options, which allow IIS to monitor worker processes and recycle them based on configured memory limits. Recycling application pools is…

3

Best Practice – WCF and Exceptions

Best Practice Recommendation In your WCF service, never let an exception propagate outside the service boundary without managing it. 2 Alternatives then : Either you manage the exception inside the service boundary and never propagate it outside Or you convert the .Net typed exception in your exception manager as a FaultException before propagating it. Details…

1

A Few TFS 2008 Pre & Post Installation things you need to know

The PFE Dev team would like to welcome Micheal Learned to the blog.  Here is a bit about Mike: My name Is Micheal Learned, and I’ve been working for Microsoft for over a year now with some of our Premier customers across the US, and helping them support a variety of .NET related systems and…

1

Debugging Internet Explorer Security Warnings

My name is Norman and I’ve been working with customers the past few years debugging a variety of problems, but maintaining a focus on Internet Explorer. This was an interesting issue I ran into with a customer the other day. =================== I know no one has ever been in a situation where you typed credit…

2

WinDBG and Hangs When Debugging Managed Dumps

Because this is my first post on this blog, let me introduce myself.  My name is John Allen.  I’ve been on the PFE team for 5 years and been with Microsoft for 9 years.  All of those years I’ve been debugging and troubleshooting all kinds of customer applications.   I focus on all developer technologies and…

0

AssemblyResolve Event and VJSharpCodeProvider

This one kept me up late the other night.  We had an issue where ASP.NET was recompiling a page and we were getting an exception: System.Exception: Error loading VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a This was interesting for two reasons: The application does not use J#. This is more subtle but nagged the back of my mind -…

10

ASP.NET and Unit Tests

I was onsite the other day and the customer wanted to use Visual Studio 2005 to auto generate the Unit Test stubs for their ASP.NET application.  They have a lot of rules tied up in the ASP.NET application project.  When we tried to generate the Unit tests we kept getting the following error: Source Code…

1