You did not say if you were camping wild or on a campsite?
If wildcamping always try to pitch where there is a slight breeze as the little blighters cannot get around in wind or rain,a lesson learnt the hard way!
Avoid boggy/water source areas too as they like these are a magnet for them again try to pitch in the breeze thats blowing and not in a sheltered area..
Campsites well if you can find a breezy pitch i would prefer a wind better than the Midge..
And i have also found that they seem to like the colour Black for some reason,and try not to breathe as its this that attracts them!!the stuff that comes out of your mouth..
Might find that last one a bit hard but if you do master it let us know