RAW states that...
At least one hand is needed to cast a spell.
Light weapons can be used with two weapon fighting to gain an extra attack via a bonus action.
Crossbow Expert states you can fire a loaded hand crossbow as bonus action.
With above RAW: can you then cast a spell as a standard action and use a light off-hand weapon or fire a loaded hand crossbow as a bonus action?
I understand that Eldritch Knight can do this via War Magic and Improved Magic, but I want to know if it can be done regardless of class.