The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

    20140508-Delphi-2007--Project-Options--Cannot-Edit-Application-Title-HelpFile-Icon-Theming

    20140430-Fiddler-Filter-Actions-Button-Run-Filterset-now

    20140424-Windows-7-free-disk-space

    More Photos
  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,363 other followers

Archive for the ‘Visual Studio 2010’ Category

c# – Is there a library that gets the media type and subtype out of a HttpWebResponse/WebResponse ContentType? – Stack Overflow

Posted by jpluimers on 2014/04/16

Just asked this on SO: C# – Is there a library that gets the media type and subtype out of a HttpWebResponse/WebResponse ContentType?.

Anyone here or at G+ that has a hint?

The ContentType property of (Http)WebResponse maps to the HTTP/1.1 Content-Type which is a Media-Type that contains a type/subtype optionally followed by parameters which are attribute=value pairs.

I’m mainly interested in the type/subtype and the charset parameter.

The charset is mapped from HttpWebRequest.CharacterSet.

Is there a library that just retrieves the media type/subtype of the ContentType?

–jeroen

via: c# – Is there a library that gets the media type and subtype out of a HttpWebResponse/WebResponse ContentType? – Stack Overflow.

Posted in .NET, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, ASP.NET, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development, Visual Studio 11, Visual Studio 2008, Visual Studio 2010, Visual Studio 2013, Visual Studio and tools | Leave a Comment »

Monitoring HTTP Output with Fiddler in .NET HTTP Clients and WCF Proxies – Rick Strahl’s Web Log

Posted by jpluimers on 2014/04/15

Reminder to self: for HttpWebRequest make sure you have your proxy setup correctly.

Monitoring HTTP Output with Fiddler in .NET HTTP Clients and WCF Proxies – Rick Strahl’s Web Log.

–jeroen

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, ASP.NET, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Fiddler, Software Development, Visual Studio 11, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools, Web Development | Leave a Comment »

How to hang Visual Studio <= 2013

Posted by jpluimers on 2014/04/15

Simple steps on how to hang visual studio:

  1. Debug a piece that throws an uncatched System.Net.WebException (probably works with many more kinds of exceptions)
  2. In the “WebException was unhandled by user code” pane, press “View Detail…”
  3. In the “View Detail” modal dialog, press the * key on your numeric keypad (this is the “Expand all” command for a TreeView)

This will get you a nice box (and no way to close Visual Studio except killing it from the task manager):

Microsoft Visual Studio is Busy

Microsoft Visual Studio is waiting for an internal operation to complete. If you regularly encouter this delay during normal usage, please report this problem to Microsoft.

There seems to be no bounds checking for the “Expand All” functionality.

–jeroen

Posted in Development, Software Development, Visual Studio 11, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | Leave a Comment »

Windows Explorer – copying path/name of files and folders (full/short; regular/UNC; unix/cygwin): Path Copy Copy – Home

Posted by jpluimers on 2014/04/11

This Explorer extension is brilliant: Path Copy Copy – Home.

It works in Windows XP and up (including 7, 8 .x, 20xx Server, etc).

The Open Source is done in Visual Studio with C++.

–jeroen

Read the rest of this entry »

Posted in C++, Development, Power User, Software Development, Visual Studio 2010, Visual Studio and tools, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

TFS/Visual Studio: View Pending Changes in Other Workspaces

Posted by jpluimers on 2014/04/01

For my reminder list: lots of people forget to checkin/undo changes in TFS of stuff automatically checked out by Visual Studio when investigating a problem in their program.

This shows how to view changes made by other users (always in other workspaces because they are not you).

You can do it from Visual Studio, of with the tf command line tool.

View Pending Changes in Other Workspaces.

–jeroen

Posted in Development, Software Development, Source Code Management, TFS (Team Foundation System), Visual Studio 11, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 1,363 other followers

%d bloggers like this: