How to configure NetFlow on the Cisco ASR

How do you configure NetFlow on a Cisco XR 12000 or Cisco ASR Series router?  I have been asked this question lately so I thought I would share this with you today. The NetFlow infrastructure is based on the configuration and use of the following maps: Exporter Map Sampler Map Flow Monitor Map