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

Visual Studio 2015, First and Second Impressions


The new Microsoft Visual Studio 2015 is out and I have to say I’m hooked. I was previously hooked on Visual Studio 2012 even though I had a license for VS 2013. The reason was that on bigger projects I’d find that editing source files (C#) was just slow. The VS editor would be slow to keep up with my typing and I’d constantly be getting unexplained pauses while VS did some sort of internal management (who knows what and who cares). I’ve been using VS2015 now for a few weeks and I can 100% say that it is always faster than VS2012 (and of course VS2013).  I also like a lot of the features, one in particular which spurred me to make this post is it shows me (on the method name as shown below) when the file was last updated. It knows that … Continue Reading

Publishing Just Your JavaScript Folder With Visual Studio


Who would have guessed.  With Visual Studio you can right click on any folder in your web project and say publish.  You can see me doing that right here below. For years, I’ve struggled with how to just get certain files to an IIS web site.  The things that I have used (that all have issues) are: Robocopy (only works if you can have a vpn network drive) rsync (causes permissions problems and various other nasties) ftp (has trouble syncing and the root folder is never where you want it Now, I can skip all that assuming I’m using visual studio (which I usually am). I get the nice success window quickly as follows And that is all there is to it. … Continue Reading

Name Collisions with Asp.Net Webapi and How to Avoid

I love the simplicity of using ASP.NET WebAPI for building simple web rest services.  No special calls to create JSON, simple REST conventions implemented with the methods GET,POST,PUT and DELETE and very straight forward interfaces. The thing that annoys me is the naming convention.  In my case, I’ve create a folder /rest on my web server and I put all my WebAPI controllers there.  An example of a controller looks as follows: [crayon-56149b83bd46f264633083/]   The problems comes up when you decide you want to have a different FAQ controller for different parts of the web site.  The obvious solution is to drop the REST services into sub directories.  Unfortunately, since the class name above does not … Continue Reading


Get every new post delivered to your Inbox

Join other followers: