DMF for electrochemical applications