When do foreigners need a temporary residence card in Vietnam and how to get one?

When do foreigners need a temporary residence card in Vietnam and how to get one?
As more foreigners move to Vietnam for long-term work and residence, questions are rising about when a temporary residence card is required, who is eligible to apply, and how it compares to a standard visa in terms of validity, benefits, and administrative procedures.