I have a controller that needs to be compiled based on an appsetting. If the appsetting is set to "CompileEndpoint":"true" then the endpoint will be compiled