With WebAPI’s custom assembly resolver feature you can add Controller libraries at runtime dynamically. Consider it when you need a system that can dynamically spin up the CRUD operation based on the entity at Run time. Users can create an invoice template using Invoice Designer UI that they can add/remove fields to the invoice whenever desired. Once done, they can save it in the system and the UI will be generated along with the fields created. This is a good scenario for Code Generation of the service in Invoice design. If there are no changes, the previous designer will continue to work.
Read the rest of the post here: http://www.dotnetcurry.com/ShowArticle.aspx?ID=898