Category: Development

Common NuGet Package Manager Console Commands You Should Know

Within Visual Studio there is a console window that many know little about. I myself have finally started researching ways to improve my productivity via this console window, the Package Manager Console. In doing my research and using some of these commands on a daily or weekly basis, I figured I’d jot these down for my own notes, and anybody...

Exception was thrown by the target of an invocation – Visual Studio 2010 | 2012

After installing some recent updates to some visual studio extensions and features, I started getting the following error when I was trying to start up Visual Studio 2010 or Visual Studio 2012. “exception was thrown by the target of an invocation” After Googling around for a little bit, I found a Stack Overflow article which described the issue. Apparently there...

Quick Guide To Changing Your Local TFS Bindings

After recently getting a new, larger, secondary drive, I thought it was time to move my TFS folder to the new drive to free up some space. After doing some research on how to get started, I saw articles that were either made it too complicated or articles didn’t quite list all the steps. So, I attempted to aggregate the information...

The remote certificate is invalid according to the validation procedure

Debugging an application which calls another server/service over SSL? If you are using a self signed certificate, most likely you’ve seen the error message “The remote certificate is invalid according to the validation procedure” before. If you do get this, there are some things you can do so do not fret. First off, do you already have a certificate, but...

SQL-IN : A Tool to Quickly Build The In Condition

So after years of copying data to Notepad++, then formatting to use in an IN condition, I decided to create an application to perform that function for me, at a fraction of the time. The tool is called SQL-In and can be used to parse data with common or a custom delimiter, then format to use with an IN condition. The...

What are the Ternary and Null Coalescing Operators and How To Use Them

Ever hear of a Ternary Operator or the Null Coalescing Operator and wonder what on earth that is? Some colleges will briefly mention the terms, but wont dive into how and why to use either operators. At first they might seem odd to use, but after you start using both of these it will speed the development process along in terms of writing...

AutoHotkey – My Top Scripts

AutoHotkey, my new favorite hotkey/snippet tool. It can do things from opening your frequently used folders or applications with a few button presses, to replacing lines and words with snippets, or even interacting with your mouse. If you haven’t started using AutoHotkey yet to increase your efficiency, start. You will notice immediately a decrease in time spent doing menial tasks, giving...

Use AutoHotKey To Google Inside Any Application

So I started getting back into autohotkey to increase productivity with some office tasks, and I thought of a useful script to keep Google a second away in any application. I had seen a few scripts out there to bring up Google, but I wanted to take a step further and allow you to highlight a word, then Google that...

SqlDataAdapter Will Not Always Return a Result, SSMS Will

The Issue I ran into a strange issue with an ASP.NET site (MVC2 – 4.0 Framework) where when executing a stored proc, SqlDataAdapter.Fill(DataTable) will not return any rows some of the time, but SQL Server Management Studio will almost immediately return results. The full method calling the stored procedure is below : (Auto-generated from LLBL Pro V2.6) This issue occurs...

View All Recent Check-Ins in TFS

You or a co-worker accidentally check in some code and need to roll back? Don’t fear, it’s actually pretty easy to roll back or view your changes. In Visual Studio, go to View -> Team Explorer In the new window/pane that appeared, there should be an object titled, Source Control. Double click it In the new window that will open, navigate to...

%d bloggers like this: