LINQ Support in Visual Studio 2015 Debugger Awesome


I’ve been wanting to do this for a very long time.  I’m in the debugger of Visual Studio 2015 and I have some data structure that is a collection of objects.  To find what I want, I’ve had to either write ugly conditional debugging statements or put in some temporary c# if statements to stop on what I wanted and examine it. Now, I can just write the LINQ code in the watch window of Visual Studio and see exactly what I want.  Check out the screen shot below and notice that I just typed in: meetupResults.results.Select(a=>a.urlname).ToList() and I got exactly what I wanted. Very nice! … Continue Reading

Using Fiddler To Replay an AJAX (xmlhttp) Request


  The Problem I use to spend a lot of time writing throw away JavaScript code to test AJAX (XMLHttpRequest or Asynchronous JavaScript and XML) type requests to my hosted web services.  that is, on my ASP.NET server, I have services that look like the following (Microsoft ASP.NET MVC projects): [HttpPost] [NoCache] public JsonResult GetEmailByPerson(long addressBookEntryId, string existingEmailDetailIds, int? start, int? limit, bool? emailNotViewed = null, bool? emailNotDeleted = null, bool? forceDataToHtmlBody = false) { Utils.AuthorityLevel userAuthorityLevel = Utils.GetUserAuthorityLevel(); if (userAuthorityLevel == Utils.AuthorityLevel.None) { return Json(new { Message = … Continue Reading

Developing With Visual Studio 2011 and the Windows 8 Consumer Build With Metro and Two (multiple) Monitors

Wow, that’s a long title. Sorry, but I just wanted to be clear what you are getting into if you come here.  In this article, I’m going to talk about what it takes in very simple terms to build and specifically debug a windows 8 metro application using the beta version of Visual Studio 2011. Here are the steps: 1.  Install Windows 8 Metro and Visual Studio 2011 Beta 2.  Using display settings (control panel / display) make the monitor that is not your desktop the primary monitor 3.  Launch your desktop on the computer that is your primary monitor 4.  Run Visual Studio 2011 Beta on your desktop 5.  Create a Metro style project 6.  Run/Debug from inside Visual Studio That’s it!  The trick is that … Continue Reading

Pinning Watch Variables While Debugging Visual Studio 2010, Awesome Feature

I just have to blog about what a helpful feature this is that the VS team added in VS2010.  That is, as you are debugging, you can set a watch variable and pin it to your source code.  In previous versions, you needed to basically go through the hassle of setting conditional break points to do simple debugging or be prepared to do lots of mouse clicking.  In the latest version, all you have to do is click the little thumb tack icon and drag the variable to where you want to see it. Here is what your screen looks like.   … Continue Reading


Get every new post delivered to your Inbox

Join other followers: