The pilot of Studio 60 also alludes to real life in order to ingratiate us to one of the main actors -- when we are introduced to Matthew Perry his character is high on pain killers from his recent back surgery, an allusion to actor Matthew Perry's long time and public addiction to pain killers. Sorkin alludes to the actor's troubled past in order to transmute his bad reputation into comedy. Matthew Perry is instantly likeable for this reason; we feel he has admitted something to us, and so we feel closer to him (as we would to a friend who had confided in us). This tactic is not new for Sorkin -- the pilot of West Wing involved Rob Lowe's character getting dangerously close to a sex scandal, something the actor was very familiar with.
My fourth, and for now final, allusion in Studio 60 is in the fourth episode, which involves everyone realizing that, in the show within the show, they just aired someone else's jokes as their own; they scramble to revise the West Coast feed by inserting live material into the copy of the show that aired live on the East Coast. In the end it turns out that the "stolen" material was itself stolen -- stolen from a writer who wrote it under contract for Studio 60. It turns out there was no plagiarism, because the network owned the original material. They were "stealing" from themselves. What is funny about this is that Sorkin has an almost shameless ability to reuse his own material. The most dramatic example is the West Wing episode "Someone's Going to Emergency, Someone's Going to Jail" in which Rob Lowe, having discovered his parents are divorcing because his father has been having an affair with a woman for more that twenty years, gets crazy over a work related thing that, unconsciously, is a metaphor for his current situation. The exact same plot is the subject of the Sports Night episode "The Sword of Orion". Dozens and dozens of situations, lines of dialogue, kinds of jokes appear in all three shows (and in Sorkin's A Few Good Men); here is a whole list of them. The point is that just as Sorkin alludes to Perry and Lowe's personal history in the shows, he alludes to his own history as well, in order to charm viewers with self-knowledge.