Miscellaneous

    • Do not commit manual changes to generated code. Temporary changes for debugging are fine, but always be aware that your changes will be overwritten when code is re-generated.
    • An assembly should not assume its location.
    • Do not use the registry to store application information; save user settings to a user-accessible file instead.
    • Avoid logging directly to global or static constructs.
    • Instead, inject an interface into the method where needed (e.g. ILogger).
    • Use where results will usually be returned synchronously.
    • Do not expose in public APIs.