Well, some of the first, and (at least judging by the few openly gay people I personally know offline) best depictions I've seen were in the work of Mercedes Lackey (The Last Herald-Mage, etc.).
From television, one of the best (played by Eric McCormack, an actor who, IIRC, had a wife and...