Browse by Tags

All Tags » Visual Studio (RSS)

Writing E-2-E tests for AngularJS using Protractor by nmarun

This is a continuation of my post on Some advanced AngularJS concepts . This video focuses on writing and debugging end-to-end tests on AngularJS using Protractor. Writing E-2-E tests for AngularJS using Protractor Setting up Protractor – 00:13 Running...

Find feature in Standard Toolbar Visual Studio 2010, 2012 by nmarun

There is a button ‘Find’ in the Standard toolbar which remains hidden (absolutely no clue why), but adding it can help do some wonders. In my machine the shortcut for this is Ctrl+D, but I have also seen Ctrl+/ on other machines. As the name suggests...

Good ol’ DebuggerDisplay attribute by nmarun

I got to know about this DebuggerDisplay attribute that you can use on your types for ease of debugging, seems like this has been there since VS2005. Lets’ get started. I have an Employee class which is being used somewhere in the code. Just as any other...
Filed under: , ,

Solution Explorer gets new features in VS 2011 by nmarun

The more I play with VS 2011 (in Dev Preview, don’t hold me if things in future versions don’t have what I’ve mentioned below), the more interesting I find it. Productivity Power Tools is a VS plugin which has some interesting features (blogged here ...

ReadOnlyDictionary in .net 4.5 by nmarun

Oh yea, .net 4.5 is out (although it’s still Developer Preview). Some time back, I blogged about a ReadOnlyCollection and .net 4.5 has introduced a similar concept with a Dictionary object – a ReadOnlyDictionary type in the System.Collections.ObjectModel...

Select the entire html element or just its content by nmarun

I bumped into this just a couple of minutes ago - Visual Studio’s one more ‘nifty’ feature that makes selecting the entire html element or just its content. Alright, I’m in Visual Studio 2010 and I have the following HTML on my web page. 1: < asp:Content...
Filed under: , ,

‘forr’ shortcut in Visual Studio 2008/2010 by nmarun

I hit upon this new shortcut key for a ‘for’ loop. Alright, most of you know that you can type ‘prop’ in a code-behind file and you’ll get a ‘template’ (for lack of a better word) for declaring a property. You can now start typing the type name and then...

ASP.NET Server-side comments by nmarun

I believe a good number of you know about Server-side commenting. This blog is just like a revival to refresh your memories. When you write comments in your .aspx/.ascx files, people usually write them as: 1: <!-- This is a comment. --> To show...
Filed under: ,

…more Visual Studio shortcuts by nmarun

Bumped into some shortcut keys while playing with Silverlight. I was on the .xaml page and I pointed my mouse over the ‘<Rectangle’ tag while pressing the Control key (now why did I have the control key pressed? cos my 6th (non)sense said so). Hey...
More Posts