Bing Code Search Add-in for Visual Studio

Bing Code Search for Visual Studio 2013 helps developers find and reuse code samples on the web more easily by bringing the code search experience directly into Visual Studio. With this extension, a developer can search sites such as MSDN, StackOverflow, CSharp411 and Dotnetperls and find, copy and use C# code samples directly inside the IDE. Download the Code Search Add-in from the Visual Studio gallery site for free.

Make software installation painless with Chocolatey

Problem Everybody knows the pain of installing a complete new PC system. After installing windows and drivers the issue arrises to install all those useful tools like 7zip, VLC media player, Notepad++ and others. You have to download the installers from websites, wait for completion, unzip, run, install and next, next, next. Solution Linux never had this problem, because of apt-get feature. For Windows there now is a solution: Chocolatey! It offers you a seamless and quiet installation quickly f... [More]

Tip of the day: Random sort a List of objects with Linq

Let’s say you have a list of objects and you want a random presentation to your website visitor. Below is a simple, but effective random algorithm in C# with Linq-to-object by using the GUID type (see line 10 below). 1: List<MemorySearchResult> list = Session["MemoryList"] as List<MemorySearchResult>; 2: 3: // see if list is already in user session 4: if (list == null) 5: { 6: // list not in session, so create a new one 7: var newList = myRe... [More]

Disable auto-update for Chrome extensions

Sometimes a Chrome extension gets very popular and then the authors choose a commercial path. Or some feature is discontinued, but you want to keep it as is. Below I describe a way to keep the extension from auto updating itself with the help of the Chrome extension source viewer. This extension is very useful for learning how to develop chrome extensions (how did they did this/that?). First install the Chrome extension source viewer from the Chrome webstore. Or if you are planning to use it on... [More]

SlowCheetah extension

This Visual Studio extension enables you as developer to transform a XML config when building in release / or debug mode. The extension page of SlowCheetah explains it pretty well, so I won’t do it here. Please get a look yourself. http://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5

Tip of the day – redirecting in Asp.net

When you want to disable a specific site, there are several ways to do this. One is to remove the site completely or disable the site in IIS. But then the visitor of the site will get a 404 not found message. When you have a new site you want to redirect to, you can use this little snippet in your web.config to redirect to any url / site: ..<location path="index.aspx"> <system.webServer> <httpRedirect enabled="true" destination="http://www.other-site.com/" httpRes... [More]

Sidewaffle templates

Sidewaffle is a Visual Studio extension that gives you more templating power. It has lots of snippets for Item templates and Project templates. You can install it via the ‘Extensions and Updates’ or by downloading the .vsix package manually. Did I already mention that is productivity tools is coming from Microsoft and is open source on GitHub? Install: New project templates are visible under each project type. Note: screenshot is created on 13 april. It’s open source, so new templates can be th... [More]