This text treats what is conventionally called electromagnetism or Maxwell's theory within the context of Gauge theory or Yang-Mills theory. A major theme of the book is that fields are not stand-alone entities but are defined by their boundary conditions.