Transverse and longitudinal electron beam shaping is a crucial part of high-brightness electron accelerator operations. In this dissertation, we report on the corresponding beam dynamics research conducted at Fermilab Accelerator Science and Technology facility (FAST) and Argonne Wakefield Accelerator (AWA). We demonstrate an experimental method for spatial laser and electron beam shaping using microlens arrays (MLAs) at a photoinjector facility. Such a setup was built at AWA and resulted in transverse emittance reduction by a factor of 2. We present transverse emittance partitioning methods that were recently employed at FAST facility. A strongly coupled electron beam was generated in an axial magnetic field and accelerated in 1.3 GHz SRF cavities to 34 MeV. It was then decoupled in Round-To-Flat beam transformer and beams with emittance asymmetry ratio of 100 were generated. We introduce the new methods of measuring electron beam canonical angular momentum, beam transformer optimization and beam image analysis. We also describe a potential longitudinal space-charge amplifier setup for FAST high-energy beamline. As an outcome, a broadband partially coherent radiation in the UV range could be generated.