.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

KB2650605 QFE : VS2010 sp1 VB web form editor may not become editable during debugging

We recently released a VS2010 sp1 QFE KB2650605 to solve a VB editor debugging problem.  During VB web form debugging, VB web form may become un-editable if there are server tags inside.  If you develop and debug VB web forms, you might be interested to download this QFE. http://connect.microsoft.com/VisualStudio/Downloads/...

What to do when VWD crashes or hangs on you

It is surely frustrating when VS or VWD crashes on you or hangs with "Not Responsing" message. If you do not have reliable repro steps, the best piece of information you can provide to us is a debug dump. He is how you can obtain it.If you are using Visual Studio1. Start Visual Studio. 2. Start another instance of VS. 3. In the second instance...

Using IIS7 with Visual Studio 2005 & Visual Studio 2008

Mike Volodarsky on the IIS team just published some very useful articles describing how to setup and configure IIS7 to properly work with Visual Studio 2008 and Visual Studio 2005.The article covers necessary components needing to be installed, and the required configuration needed to create, edit and debug web applications using IIS7 and ...

JScript Debugging: Made easy with IE8

The feature I'm most excited about in Internet Explorer 8 Beta 1 is ironically one you might not notice at all. Problem If you're reading this, you probably know (and are still untangling the double-negative logic of) the "Disable script debugging" option in IE.  Say you just spent 10 hours debugging script.  It's time for a break.&...

Webcast: New Enhancements for Web Developers in VS 2008

To View On Demand Webcast : Visual Studio 2008 for Web Developers: CLICK HEREWanted to update you on a upcoming web cast that I am doing in support of Visual Studio 2008 launch event...Title: New Enhancements for Web Developers in VS 2008Date/Day: Tuesday, February 26th 2008 Time: 11am to 12:30pm Pacific Standard Time (PST)Description :Get an ...

Tips & Tricks: Web Server Settings for Web Application Projects now can be stored per user as well as per project

Web server settings, which are accessible inside Web Application Projects (WAPs) property pages (Web section)  allow you to specify settings associated to to Visual Studio Development Server or IIS.  Many a times in a team development environment it is preferred that these settings are shared across the teams providing consistency; ...

Tips & Tricks: Start-Up Options and Instances of ASP.Net Development Server in a Multi-project Solution

If you have more than one project in your solution you can use following options of solution properties to set your start up actions...  You can get the below dialog by right clicking your solution and going to its properties: (image)   If you have more than one Web project (either Web Site, WAPs or both) in your solution and choose...

Workaround: Debugging Global.aspx.cs Application_Start() with ASP.Net Web Server within Visual Studio

When you add a global.asax file to your "Web Application Projects (WAPs) like below: (image) and then write code in Application_Start event and try to debug it like below using Visual Studio inbuilt Development Web Server (image)   Then during your first debug the breakpoint is hit but during your subsequent debug runs the breakpoint is...

Difference Between Perf Data Reported by Different Tools – 4

.NET CLR Memory\% Time in GC counter and !runaway on thread(s) doing GC. The 2 common ways people use to look at the time spent in GC are the % Time in GC performance counter under .NET CLR Memory, and the CPU time displayed by the !runaway debugger command in cdb/windbg. What do they mean exactly? % Time in GC is calculated like this: When ...