Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

We're having a problem here at work when we have 2 developers using the same server. When one developer is stepping through their ASP.NET project with breakpoints, it seems that NO other ASP.NET pages will load while paused.

 

We think we understand why this is happening, but we don't understand WHY MS has implemented it like this, if there are any workarounds, and I can't seem to find any articles about this anywhere on the internet...

 

Surely someone else has come across this before...

  • *Experts*
Posted

ASP.NET is setup this way. To step through code on webserver will look everyone else out.

 

Microsoft's suggestion and, in fact, their recommended approach, is to have each developer run the website on their local machines and only push up to a common server when they're done testing or want to share their code changes.

 

My company decided not to have each developer run the website as the projects were changing so often that trying to keep everyone in sync with the latest changes wasn't deemed worthwhile. So for now, if we need to "step through" the ASP.NET code, we don't (in general). Instead, we write to the event log and check the results. It's a pain unless you have a general feeling as to where the problem might be.

 

Occasionally, when time becomes an issue, we can let all developers know we're stepping through and then try to get in/out quickly. We have around 15-20 developers/QA people using one webserver at a time so it can't stay locked for too long. It hasn't caused too many issues unless you come across a really hard-to-find bug - about 30 minutes into writing event log entries and you start looking to strangle someone for pretty much any reason.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

The projects conflicting and all completely seperate projects. We have them on web servers because we use SQL Servers, Active Directory, etc, etc. That and the servers are backed up EVERY night, where as we can't say the same for our laptops (or that the developer will remember to check in their changes).

 

But if that is the way things are, then that is the way things are.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...