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: Unhandled exception has occurred while running in Azure

    Windows Azure, just like any other IIS website can crash if an unhandled exception occurs.  One way that this can happen is if you are calling an Async function call and in the function that is called on completion, you throw an exception. In this situation, you will see something in the Application...
  • Blog Post: Now Available: Psscor4 – Debugger Extension for .NET 4.0

    I am very happy to announce that Psscor4 is now available for download.  You can download it from: Psscor4 Managed-Code Debugging Extension for WinDbg This should have the same functionality as Psscor2 does but it works against the .NET 4.0 Framework.  Please let me know if you run into any...
  • Blog Post: Installing and using an HttpModule in Windows Azure

    Windows Azure has a lot of great things about it, but one of the difficulties is that you can’t administer your IIS very easily as you don’t have access to the machine.  If you use the Windows Azure 1.3 SDK or later and enable RDP, you can change IIS settings but if the role has to be restarted...
  • Blog Post: New Psscor2 commands – Dealing with Dates and Times

    If you have ever tried to look at a System.DateTime or System.TimeSpan object in a debugger, you know how difficult it is to see what the value is.  For example, this is what a System.DateTime object looks like: 0:017> !do 0x040f59b8 Name: System.DateTime MethodTable: 60809f0c EEClass: 605e1fd8...
  • Blog Post: New Psscor2 commands – ClrStack showing source and line numbers

    Continuing on from my previous post about DumpAllExceptions , here is another new update that comes with psscor2.  When you run !clrstack, you will now see the source and line information for the functions that are displayed.  This can be really helpful when trying to track down where a problem...
  • Blog Post: New Psscor2 commands – DumpAllExceptions

    There have been a few places where you can see this command run, but I wanted to talk about it here officially.  This command is used to display all of the exceptions that are currently in the managed heap.  One interesting thing is that this function actually looks at what class the object...
  • Blog Post: New debugger extension for .NET, Psscor2, released

    *UPDATE* The download is now 32-bit ! I wanted to be the first to inform everyone that there is a major update to the debugger extension story for .NET. Psscor2 has been released! This is a superset of the SOS.dll that ships with the framework. This extension has a lot of advantages over SOS if...
  • Blog Post: Profilers and ASP.NET

    There are a lot of different ways to troubleshoot ASP.NET issues.  I have gone over most of the things you can do with a dump that has been captured from the process.  But there is another way to get useful information out of a process and that is by using a profiler. There are a number of...
  • Blog Post: Intermittently the Server sends back 0 byte WebResource.axd and ScriptResource.axd files

    Recently had this problem with a customer.  The full details and the solution follow. Problem The customer had an AJAX website where intermittently he sees that the webresource.axd and scriptresource.axd come down from the server as 0 bytes and therefore the page is incorrect. When the issue happens...
  • Blog Post: Impersonation, WCF, and making updates to a database

    I was troubleshooting a problem with WCF where the updates to a remote database were failing.  The reason for the failure was found pretty quickly to be delegation. For general impersonation questions in regards to WCF, there is lots of great information found here . For my situation, the problem...
  • Blog Post: Debugging .NET apps for .NET 4.0

    With Visual Studio 2010 and .NET 4.0 getting ready to be shipped sometime in the next year, I wanted to see what were peoples ideas for how to debug applications that were written with them.  Are you happy in production with what you are currently doing?  Do you use SOS.dll to troubleshoot...
  • Blog Post: WCF, Silverlight, and SharePoint… Oh my!

    I was recently working on a project and needed to have Silverlight make a WCF call.  That is pretty straight forward until you place the Silverlight code inside SharePoint and want it to call a WCF that is also inside SharePoint. The first problem that I had to solve was getting Silverlight to be...
  • Blog Post: Developing for the Clouds

    I wanted to start a conversation with everyone on the thoughts around Cloud Computing.  I have been using Azure for a while now and I have found some interesting things out about it. Before I start talking about those things though, I wanted to see who was planning on using this technology or who...
  • Blog Post: Adventures with Silverlight 3.0 and SharePoint – Part 2

    Just a quick update on this.  I had to make a few changes to my site and I now have it working! To fix the master page problem, I needed to load it from code behind.  Once I did that, I was able to have that show up.  But then I had a problem of the Silverlight application didn’t show...
  • Blog Post: Adventures with Silverlight 3.0 and SharePoint – Part 1

    I have been working on getting Silverlight 3.0 to work with SharePoint 2007 and I wanted to share with you the progress I have made and some of the challenges I have remaining. Project This project uses Silverlight 3.0, the Silverlight Toolkit for 3.0, and RIA Data Services.  So it is basically...
  • 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: Silverlight RIA calling Stored Procedures that don’t return tables

    There are times where you want to use a stored procedure that doesn’t return just normal rows out of a database.  One classic example is if you are doing Full-Text Searching and want to return the Rank. The first step to doing this is the get your stored procedures exposed in the ADO.NET Entity...
  • Blog Post: How are production ASP.NET site problems applied in the future?

    There are a lot of different things you can use to monitor a production ASP.NET web site for problems.  Some of the most common are logging, perfmon counters and the like.  There is also the method of getting feedback from people using the site when they relay that there is a problem. The question...
  • Blog Post: Logging modules for ASP.NET (MVC) and also for Windows Azure

    I was just reading through Scott Hanselman’s post about ELMAH and this sounds like a great idea.  Getting a easy to consume report of all of your exceptions is a wonderful thing, especially when you add in that you can get it as an RSS feed, an email or a web site.  You can check out ELMAH...
  • Blog Post: Any ASP.NET Debugging requests?

    With us starting to look forward to .NET 4.0, I started to think about the debugging story for ASP.NET and wondered if you had any requests for what you would like to see. Some of the things that are on my mind are ideas like: Giving some kind of visual debugging experience to help people to troubleshoot...
  • Blog Post: MSDN updates

    Scott Hanselman did a great post about some of the new and upcoming features of MSDN that everyone should check out if you haven’t already.  You can read all his great details here . This got me thinking about MSDN and some of the new things that I have noticed. I think my favorite thing that is...
  • Blog Post: ASP.NET MVC and JSON and when do you use Async

    I wanted to post somewhat of a discussion starter around some of the new technologies that ASP.NET has recently released. ASP.NET MVC This technology has one huge benefit of allowing you to do unit testing on your site.  But there are also a number of other advantages to it, for example, you can...
  • Blog Post: ASP.NET Troubleshooting

    So with how long ASP.NET has been out for now, I am really curious to know how people go about tracking down issues in their project. I’d like to know things like: How do you know there is a problem What tools do you use to confirm that the problem really is a problem How do you gather data about the...
  • Blog Post: Feedback and Microsoft

    There are a lot of different ways that feedback can get to Microsoft and a lot of different ways that it can be handled.  For suggestions for making our products better, one of the best methods is to use Microsoft Connect . One of the things that aren’t know as well is that when our developers look...
  • Blog Post: ASP.NET MVC and SharePoint

    If you have tried to get these two to work together, then you are probably had to deal with a lot of the same issues that I had.  A big help for getting these two to work with each other is the SharePointMVC project on CodePlex. After downloading this sample, you have some steps that will allow...
Page 1 of 9 (212 items) 12345»