@jyliao there are three examples in documentation. They explain everything. If those controllers are for two different websites, e.g., REsTful service and front-end, then yes: two config files, maybe one shared bootstrap file per site. If they are not, you can have as many controllers per single application as you like and one DI.