C# ASP.NET SQL SERVER
  • Wed
    09
    May 12

    SQL Injection Attack from 82.45.20.100

    While perusing the application logs this morning I noticed a number of SQL Injection attempts. The site that was being attacked uses MVC with automatic Form values to object binding so the exceptions were being thrown early on in the controller when the framework was trying to bind the attack string...

    Continue reading "SQL Injection Attack from 82.45.20.100"

  • Sun
    25
    Mar 12

    The Servant Leadership Training Course

    I've just finished The Servant Leadership Training Course on CD. There isn't anything new in this book and if you've read and understood the other popular books in this area then this will just be a repeat. However, having this information repeated to you on a regular basis is very useful. And having...

    Continue reading "The Servant Leadership Training Course"

  • Tue
    13
    Mar 12

    Install an HttpModule in IIS 7.5 on Server 2008 R2

    Mostly for my own notes for when I next need to do this again. Assumes that the HttpModule has already been compiled and that you have the DLL. Copy the DLL to the server and put in any folder. Install the module into the GAC Right click on a command window and select "Run as administrator"...

    Continue reading "Install an HttpModule in IIS 7.5 on Server 2008 R2"

  • Thu
    19
    Jan 12

    Kintiskton LLC IP Ranges

    There's a company called Kintiskton LLC who either own or are owned by Mark Manager and they provide a trademark protection service. They have a spider that crawls the web attempting to identify their customers' copyright material posted on sites other than their customers'. In principal I don't have...

    Continue reading "Kintiskton LLC IP Ranges"

  • Sat
    26
    Nov 11

    Google Maps slows down on Saturday mornings

    I use Google Maps a lot to investigate a place I'm going to or to get direction there. I've noticed that on Saturday mornings Google Maps often fails but when it doesn't it just runs real slow and I get this message: Still loading... Slow? Use the troubleshooting guide or basic HTML. My theory is that...

    Continue reading "Google Maps slows down on Saturday mornings"

  • Mon
    17
    Oct 11

    AdWords AdSense Arbitrage

    I've heard about people doing AdWords/AdSense Arbitrage but I question if it's even possible. First of all, what is arbitrage? The classic definition of arbitrage has someone, usually a trader in the stock markets, buy and sell a financial instrument at exactly the same time such that there is zero risk...

    Continue reading "AdWords AdSense Arbitrage"

  • Wed
    14
    Sep 11

    Gigabit networks with low quality cables

    I have 2 computers attached to a Gigabit switch and both these computers have NICs that support 1 GBPS speed. However, I noticed that transferring files between them was slow so when I inspected the speeds I saw that one of them was operating at 100MBPS and the other at 1GBPS. At first I went into the...

    Continue reading "Gigabit networks with low quality cables"

  • Wed
    14
    Sep 11

    Mouse without Borders

    Do you have 2 or more PC's on your desk that each have their own keyboard and mouse? Do you want to control it all from one keyboard and mouse without using a KVM and have the mouse float from one monitor to the next and allow copy and paste between them? Then Mouse without Borders is for you: http:...

    Continue reading "Mouse without Borders"

  • Wed
    24
    Aug 11

    Collection was modified; enumeration operation may not execute.

    This .Net error typically occurs when the underlying collection is modified during enumeration. For example if you remove items from the collection while enumerating the collection. It can also happen when you're accessing a collection while adding to the collection. See if you can see the bug in the...

    Continue reading "Collection was modified; enumeration operation may not execute."

  • Sun
    31
    Jul 11

    Creating a composite key in your container

    If you need to create a composite key (for a dictionary for example) where the natural key could come from multiple sources a standard technique is to prepend the source to the natural key to ensure that it is unique. However, this can still cause duplicate keys so to solve this problem you should always...

    Continue reading "Creating a composite key in your container"