The BL17B beamline at the Shanghai Synchrotron Radiation Facility was first designed as a versatile high-throughput protein crystallography beamline and one of five beamlines affiliated to the National Facility for Protein Science in Shanghai. It was officially opened to users in July 2015. As a bending magnet beamline, BL17B has the advantages of high photon flux, brightness, energy resolution and continuous adjustable energy between 5 and 23 keV. The experimental station excels in crystal screening and structure determination, providing cost-effective routine experimental services to numerous users. Given the interdisciplinary and green energy research demands, BL17B beamline has undergone optimization, expanded its range of experimental methods and enhanced sample environments for a more user-friendly testing mode. Thesemethods include single-crystal X-ray diffraction, powder crystal X-ray diffraction, wide-angle X-ray scattering, grazing-incidence wide-angle X-ray scattering (GIWAXS), and fully scattered atom pair distribution function analysis, covering structure detection from crystalline to amorphous states. This paper primarily presents the performance of the BL17B beamline and the application of the GIWAXS methodology at the beamline in the field of perovskite materials.