1. Why Resharper? Code Formatting

    While Visual Studio is often made fun of for being bloated, and has more functionality than a single developer could hope to create in a career, it still has a few missing features. This is where Resharper from JetBrains steps in.

    In particular today I want to talk about just …

    read more
  2. AngularJS Readonly Dropdown

    HTML select’s don’t implement the readonly attribute, so the only way to prevent them from being edited is to use the disabled attribute. Doing so however prevents them from being posted on submission. The standard solution for this is create a hidden input field, which you have to …

    read more
  3. How I did it: Sql Server Transactional Replication

    Configuring SQL server replication isn’t something I do every day, so I thought I might enjoy some breadcrumbs to follow the next time I travel down this path.

    My client needed to have a number of tables and views replicated to a reporting server. The reporting server needed near …

    read more
  4. Overloaded Inheritance in C#

    class Foo {
        public void Who( int i ) {
            Console.Write("Foo");
        }
    }
    
    class Bar : Foo {
        public void Who( double d ) {
            Console.Write("Bar");
        }
    }
    
    var bar = new Bar();
    bar.Who( (int) 1 );
    //Outputs "Bar" to the Console
    

    Why does the compiler use the double version of the method when we passed an integer …

    read more

social