Endpoint config in code or app.config...what is best practice

Hi Ramon,
Thank you very much for your reply.
Is there any configuration (i.e., setting sql persistence using config file only,no code) that NSB read directly from config file instead of reading using ConfigurationManager and using that in code?
Could you please provide me if there is any production standard sample or project?
Regards,
Mazhar