The Brain Dump
My brain poured out on paper (or so to speak)
Translate This Page
Translate this page
Windows Live ID
windows phone 7
Browse by Tags
The Brain Dump
Tagged Content List
Visual Studio Tip #9: You can edit directly in the Diff tool
Here is one I just discovered just last week by accident. When you are doing a diff on a file to compare what has changed from the source control, the diff window can be used to edit the file directly. (works on both Git and TFS source control) I always assumed the window was just a read only view...
29 May 2015
Visual Studio Tip #8: Adding existing files with Show All Files
Sometimes instead of adding a new file to your project, you need to reuse an existing file. That might be code, but often it is some sort of content like a bitmap or an xml document. I’ve seen new users copy that item into their project directory and then look at their project in Visual Studio...
21 May 2015
Visual Studio Tip #7: Whole line editing
OK here is a quick simple one. How do I move or edit entire lines of code? #1 Just don’t select anything. If you don’t have anything selected in your code window then the commands for copy, cut and paste work as if the entire line of code was selected. So if you need to quickly duplicate...
14 May 2015
Visual Studio Tip #6: Turn on those line numbers (with Quick Launch)
Writing code is very often a collaborative process and to discuss something you need to be able to refer to it. The simplest way to refer to a line of code is “look at line #26.” For some reason though, line numbers are not on by default. Before Visual Studio 2013 (which syncs your preferences...
24 Apr 2015
Visual Studio Tip #5: Quickly adding a namespace “using” statement
One thing that slows down new C# users is the requirement to add “using” statements to the top of your file. This is because they just want to declare a variable and use it but aren't necessarily familiar enough with the classes and namespaces to have predicted the need for the namespace...
15 Apr 2015
Visual Studio Tip #4: Code Snippets
There is lots of code that we write that follow standard patterns with some minor changes for our exact situation. Visual Studio has a nice feature called Code Snippets which provides a way to create reusable code templates for common scenarios. The idea is that you activate the snippet, then just enter...
15 Apr 2015
Visual Studio Tip #3: Use “Navigate To”
I spend a lot of time looking at other people’s code. That means a lot of time searching other people’s code. One of the main tools I use is not Search but “Navigate To”. It is found on the Edit menu or you can use the keyboard shortcut “Ctrl + Comma” to bring up this...
9 Apr 2015
Visual Studio Tip #2: Pin your data tips
Most people know that when you are debugging, you can hover the mouse over a variable in your code and the tool tip will provide you the current value. For example, if I hover over the “uri” variable below it shows me that it’s current content is “http://azure.microsoft.com...
8 Apr 2015
Back to basics: Visual Studio tips
Lately I’ve been working a lot with developers who are completely new to C# and/or Visual Studio. So I’ve been trying to gather some features and workflows which I’ve seen new users overlook which will make them a little more productive. A large amount of “a little more productive”...
7 Apr 2015
Windows 8 ViewModel Property Code Snippet
Visual Studio provides a bunch of good code snippets for creating boilerplate code. For example if you type “prop” you get this in intellisense You’ll see a few nice property snippets. prop – creates a basic automatic property propa – creates an attached...
12 Oct 2012
Important Updates to Live Services!
from the Live Services blog : Important Updates to Live Services Starting September 8th, 2009 the Live Framework CTP (services, SDK & Tools) will be unavailable. The Live Framework will be integrated into the next release of Windows Live. Stay tuned to dev.live.com for more details in the future...
21 Aug 2009
.NET Extension methods from C++
Extension methods are a nice little feature now available in C# and VB.NET. They allow you to tack on new methods to existing classes for which you don’t own the original code. Now C++ does not support this natively and so I recently got bit when I was translating some C# code into C++ CLI. While C#...
3 Dec 2008
Large web site project vs Visual Studio
So I discovered a limit in Visual Studio . It apparently doesn't handle 1.4 GB of data in 40,000 files in a web site very well. I killed the process after it was "Validating the web site..." for over an hour. I finally figured out I needed to build a smaller Deep Zoom image for testing just...
9 Apr 2008
Page 1 of 1 (13 items)
© 2015 Microsoft Corporation.
Privacy & Cookies