Microsoft yesterday announced that it will take a $240 million equity stake in social networking service Facebook, giving Redmond a key conduit to grow its online advertising efforts. The deal also gives tacit credence to Facebook as a platform for .NET developers.