There are a handful of entities involved with defining a controller and configuring it for a service application. The structures that exist should enable reuse of existing controllers for different applications without having to recreate a lot of the same metadata. At a high level you do the following:
- Define the controller in the Controllers Entity.
- Configure the controller in the Controller Configurations Entity.
- Add the Controller Configuration record to a Controller Configuration Collection Entity.
- Add the Controller Configuration Collection to your Service Application Record.