Thursday, December 02, 2010

We recently had an interesting thread within our Web Platform & Tools team on a blog comment which I thought I would share verbatim so that it would resolve similar confusion that might exist in the community… :

To gain more context please read the following tiny blog post otherwise it is quite likely that you will not follow anything discussed on the email thread here J

The below email thread is to shed light on behind the scene activities that happen within MSFT on many comments that are posted on many blogs. It is demonstrate that many of the responses on my blog are only feasible due to team effort across the board… J.

The thread is displayed in FIFO model (unlike standard outlook view) to help easy blog readability…

Anonymous has left a new comment on your post "Tips & Tricks: Start-Up Options and Instances of A...": I really wish this default were "false". I have never had a case where I want all 10 web projects in our solution to start at once ... and every time I have to do a new checkout I have to go turn all of these settings off. Sadly, VS2010 did not fix this ... we are still saddled with this unfortunate behavior.

I don’t think that we are using those settings. For instance I just created a solution with 2 WAP, when I F5 both startup, which I think is good because many times people have a services that are consumed by other projects, and that UI is little known.

The issue that I’m seeing here is that if I explicitly go in and configure the startup projects in the UI the settings are not used. I would say this is a bug.

No. This is by design. This dialog indicates which projects are going to be debugged. The web property in WAP governs whether to start the web server on F5 for projects which are NOT being debugged, is independent of the settings on this dialog. So with this configuration, WebApplication5 will attach a debugger to cassini, WebApplication6 will start its cassini but a debugger will not be attached to it.

The customer is complaining that the web property should be initialized to false so that only the startup project will launch its web server.

That is what he is asking for, but I don’t necessarily agree. Assuming a typical solution only has a couple of webs in it, it probably makes sense that all the web servers are started on Debug\Ctrl-F5. Sounds like your blog post is misleading.