Skip to content

Instantly share code, notes, and snippets.

@TeaDrivenDev
TeaDrivenDev / VSExtensions.txt
Created June 10, 2016 22:24
These are the Visual Studio extensions I'm more or less actively using. Descriptions are from the VSIX where I had nothing else to say. All are free (usually open source) on the VS gallery, except where marked as commercial.
SwitchStartupProject
Provides a toolbar dropdown box to switch between startup projects. -- VS 2015 has that too, but that doesn't recognize F# projects
https://visualstudiogallery.msdn.microsoft.com/f4e1be8c-b2dd-4dec-b273-dd88f8818571
Productivity Power Tools 2015
Color coded document tabs by file extension or project, various information in the scroll bar, column guides, etc.
https://visualstudiogallery.msdn.microsoft.com/34ebc6a2-2777-421d-8914-e29c1dfa7f5d
CodeLineage
Augments Visual Studio's built-in difference viewer with 'from' and 'to' revision sliders. Accessible from the 'Tools' menu, CodeLineage allows easy access to a cumulative diff view between file revisions. Supports SVN, Perforce, Git and Mercurial.
@TeaDrivenDev
TeaDrivenDev / AutoFixture_Intro_de.cs
Last active October 19, 2020 18:36
Warum sehen AutoFixture-Tests so seltsam aus, und welche Vorteile hat das?
/* v1.0.1
*
* TL;DR: AutoFixture rockt.
*
*
* Folgendes ist der Versuch einer Erklärung, warum Unit Tests mit AutoFixture so seltsam aussehen
* und welche Vorteile das hat.
*
*
* Der Code ist so am Stück lauffähig, wenn folgende externen Referenzen eingebunden sind:
@TeaDrivenDev
TeaDrivenDev / MSCRMPlugin.fs
Created March 5, 2022 02:17
A simple plugin for Dynamics CRM 2011 in F#
namespace FSharp
open System
open Microsoft.Xrm.Sdk
type TestPlugin() =
interface IPlugin with
member this.Execute serviceProvider =
let organizationServiceFactory = serviceProvider.GetService(typeof<IOrganizationServiceFactory>) :?> IOrganizationServiceFactory
let organizationService = organizationServiceFactory.CreateOrganizationService(System.Nullable())