I just talked to my friend, he`s a .net dev, junior at this point or slighlty above that, and when he stated at his current company, he signed a contract for two years which says that if you leave before the contract expiration date, you have to refund 75% of all payments you received over that period of time while you were there