Browse by Tags - ASP.NET Debugging - Site Home - MSDN Blogs

ASP.NET Debugging

Debugging from an ASP.NET and Azure Engineer. Posts are from customer issues and things I feel may be useful.

Browse by Tags

Tagged Content List
  • Blog Post: CannonPI teaser video

    There is a new video up on youtube that is the beginning of many more videos.  You should check it out and look for for more coming soon. Also, see if you recognize any of the people in this, feel free to post here who you think they are.
  • Blog Post: Where do you go to find answers?

    There are more and more sites coming online that allow you to ask questions.  So which site(s) do you use? Traditional These sites are more of the old way of finding out answers, you don’t really interact, just find your answer on the existing documentation that is posted: http://support.microsoft...
  • Blog Post: What do you need to troubleshoot Azure?

    Looking to the future with cloud computing, it is going to become increasingly important to have good information about what is happening with your site in order to properly maintain it. Keeping development type of issues aside, what types of things do you think you will need in order to be able to properly...
  • Blog Post: Insides of Azure

    Want to get more details about Windows Azure ?  There is a really helpful video done by Channel 9 that talks about this upcoming product and how it works. I think this gives great details about the architecture and also how you will use this and what it will be good for.  Check it out: Dharma...
  • Blog Post: Windows Azure and you

    So I have started to look at the new Windows Azure that we just announced, you can download the framework from here .  You can also read more about it at Azure Services Platform Developer Center . As I started looking at this, the main sample I was focused on was the PersonalWebSite Sample . ...
  • Blog Post: IntelliSense for jQuery

    As for reported here , we now have an official IntelliSense documentation file that will allow you to get rich intellisense for jQuery from inside of Visual Studio. When you go to download jQuery, you will see a Documentation link.  Or you can download it directly from here: http://code.jquery.com...
  • Blog Post: Strange callstacks

    How many times have you been troubleshooting a dump or application, you look at the callstack and you see something that just doesn’t quite look right.  Chances are the problem is that you don’t have correct symbols. For example, if you see something like this: Vswebdesign!DllCanUnloadNow+0xb02a0...
  • Blog Post: Web Site Stops Responding for 15-25 seconds

    There are a number of reasons that a web site could have a delay (hang) that could cause problems.  I am going to talk about a common one that we see which is the CRL. What we have seen in the past is the Crypto API’s are trying to update the Certificate Revocation List (CRL) from the internet....
  • Blog Post: XPerf: A CPU Sampler

    Seema just had a great about using XPerf to troubleshoot CPU issues when using Silverlight.  This can also be used in the same way to troubleshoot ASP.NET or IIS. What can XPerf tell you?  Seema answers that question, it can find out: Is my app asking Silverlight to constantly spin on CPU cycles...
  • Blog Post: ASP.NET Tip: When to use which Session Server

    There are 3 different ways you can store session in an ASP.NET application: InProc (default mode) State Server SQL Server InProc means we store the data in the same process (in memory) on the web server, in the worker process.  This has some distinct advantages in that it is faster since everything...
  • Blog Post: ASP.NET Tip: Letting Microsoft know about your problems/requests

    Not sure if everyone knows of the various options that there are for communicating with Microsoft so I wanted to let you know about some of them here. Bugs or problems You can log these on the various forums that we have, the forums are found here .  Also, if it is a bug, you can enter it on our...
  • Blog Post: Event Log message after installing .NET update – part 2

    If you try to install a .NET update, MS07-040 for example, you may see an event log like: Event Type: Error Event Source: LoadPerf Event Category: None Event ID: 3009 · Installing the performance counter strings for .NETFramework failed. The Error code is DWORD 0 of the Record Data. · Installing...
  • Blog Post: The PDC this year…

    Not sure how many people are planning on attending the PDC (Professional Developers Conference) this year, but it is going to be a fantastic conference. We announced some huge announcements on the PDC web site.  http://www.microsoftpdc.com/ We have a major lineup of executive keynote speakers representing...
  • Blog Post: Event Log message after installing .NET update

    If you try to install a .NET update, MS08-052 for example, you may see an event log that looks like: Event Source: ASP.NET 2.0.50727.0 Event ID: 1018 · Failed while registering ASP.NET (version 2.0.50727.0) in IIS. Error code: 0x80070003 This message is informing you that ASP.NET could not register...
  • Blog Post: ASP.NET Tip: How to avoid creating a GC Hole

    There are only a few things that can make a .NET process crash.  The most common one is an Unhandled Exception getting raised.  Another way that is can happen is by creating a GC Hole. What is a GC Hole So first a little background on what I mean by a GC Hole.  A GC Hole is any corruption...
  • Blog Post: POP QUIZ: What’s wrong with this code – part 3

    Imagine you are a developer and your boss comes to you complaining that your piece of code has been deemed to be taking up too much memory and causing problems for the application.  You take a look at your code and you see the following, assume that stream is defined above this and is correct: const...
  • Blog Post: Who uses SOSEX and what for?

    Another thing I am curious to know is if anyone is using SOSEX and what advantages it gives you for debugging.  I have talked to the author of it and I think it has a lot of useful commands, just wanted to get everyone’s take on it. Let me know any problems you have with it also. If you don’t know...
  • Blog Post: ASP.NET Tips: Careful Use of Static's

    Not sure how many people realize it, but when you start dealing with multiple users access a system (in this case a web server), you have to be very careful what you store in static's (global variables).  This is because all the users will have access to this data and so if you create a page, you...
  • Blog Post: High Memory part 6 – Fragmentation revisited

    I have talked about a bunch of commands used to troubleshoot a managed memory problem in the past and given some situations of using them like: High memory, CPU, or other performance problems with .NET High Memory continued - Datatables High Memory part 3 - Native Heap High Memory part 4 - Managed Strings...
  • Blog Post: How does maxconnection work for a System.Net.HttpWebRequest using a proxy?

    When using a WebRequest, one important thing to keep in mind is how many connections are allowed to be made to the same server.  The maxConnection setting will affect how many connections you can concurrently have to a given server.  When you set up a proxy, System.Net sees the proxy as the...
  • Blog Post: Slow performance of a GridView inside an UpdatePanel

    Here is an interesting problem we ran into recently. The customer had a large GridView that was being updated by AJAX inside on UpdatePanel and seeing bad performance. The reason is that the Client-Side Javascript has to walk the entire DOM of the Content of the UpdatePanel to tear down the HTML DOM...
  • Blog Post: Debugger Extension update

    The debugger extension that we were working on getting out with the debugger package has hit some roadblocks and it looks like it isn't going to be shipping with the debugger anytime soon. We are looking to see if we can find an alternative method to get it out.  But for the meantime, just stay...
  • Blog Post: Updating a web site to apply a security patch with the help of Hyper-V

    With the release of the latest security updates, it made me think about how painful it is to have to reboot a server because of applying a security update.  You have to balance the need to stay secure, with keeping your server up and running.  This is extremely important when it comes to a...
  • Blog Post: How do you test the performance of your web site?

    I wanted to get a feel for what tools people are using to test the performance of their website.  My questions are: Do you check page-load times?  Do you dig in to see which files are taking the time How do you track down a page that uses a lot of memory How do you track down a high CPU consuming...
  • Blog Post: SOS Tip: Using help

    This is just a quick little note to remind everyone that the !help command in sos can be very helpful.  Not only does it list all of the possible commands, but if you run it and pass it the name of a command, it will print out a bunch of really useful information for that command. For example, if...
Page 1 of 5 (102 items) 12345