He served in the Seminole Wars 1837–38 in the 3rd US Artillery and as Lieutenant in the Ordnance Corps. In the Mexican–American War in 1846–48, he was brevettedCaptain for gallant conduct at the Battle of Santa Cruz de Rosales. He was promoted to full Captain in the Ordnance Department on March 3, 1853. Between the wars, Dyer commanded Fayetteville Arsenal, Little Rock Arsenal, and Fort Monroe Arsenal. He became a member of the Ordnance Board in 1859. When the Civil War erupted Dyer stayed with the Union, and in August 1861 he was given command of the Springfield Armory in Springfield, Massachusetts, where his expansions and enlargement of operations gained notice. During his tenure at Springfield, Dyer was responsible for expanding the output of small arms for the Union Army. Doubts about the wisdom of placing a southerner in such a position of responsibility were rapidly dispelled as Dyer upgraded production with energy and dispatch. In 1862, Dyer was approached by his superiors concerning the possibility of his supplanting General Ripley as Chief of Ordnance, but he declined to take the assignment because he had great respect for his chief, and because he was in the middle of a major upgrading of weapons production at Springfield Armory. On the retirement of General Ramsey, the previous Chief of Ordnance, on September 12, 1864, he was advanced three ranks and appointed as the 7th Chief of Ordnance of the United States Army with the rank of Brigadier General. On December 12, 1864, President Lincoln submitted his nomination to brevet Major General to the U.S. Senate, which confirmed the appointment on February 23, 1865. During his ten years in the office, Dyer had to contend with the demands of inventors and unscrupulous contractors, who ultimately took their various complaints to Congress. Seeking to clear his name, Dyer asked for a court-martial. Failing in this, he requested a court of inquiry, which proved to be protracted and exhaustive. he was not only exonerated, but was declared to be an exemplary officer. worthy of emulation by all Army officers. Dyer is known as being the first commander committed to the purchasing of a Gatling gun, one of the first designs of a machine gun. He is also known as the creator of the Dyer Shell, an artillery projectile for the 3-inch ordnance rifle, a principal artillery piece by the end of the Civil War. After the war Dyer stayed in the army and continued his service as head of the Ordnance Department until his death.
Personal life
Dyer was married to Elizabeth Beersheba Allen. Together, they were the parents of six children. Of note is his son, Colonel Alexander Brydie Dyer, jr., West Point class of 1873; as the author of the Handbook for Light Artillery. Dyer died on May 20, 1874, in Washington. He was buried in Arlington National Cemetery and survived by his wife.