Allow configuration of development-specific Web.config transforms in the development entrypoint. Docker Tools would provide some of the essentials, but developers could add others.
It allows you to have a consistent image build for dev, test, and prod.
Is there some way to set these values purely with environment variables and configBuilders?
My POC with Section Handlers was only half-successful. It's possible for customErrors but not compilation, due to availability of the app domain during configuration load.
Why an environment variable and not a entrypoint script argument?
Seems cleaner this way, but open to input on this.
RFC: DO NOT MERGE
Concept
Allow configuration of development-specific Web.config transforms in the development entrypoint. Docker Tools would provide some of the essentials, but developers could add others.
Example
Why not do this in my Dockerfile?
It allows you to have a consistent image build for dev, test, and prod.
Is there some way to set these values purely with environment variables and
configBuilders
?My POC with Section Handlers was only half-successful. It's possible for
customErrors
but notcompilation
, due to availability of the app domain during configuration load.Why an environment variable and not a entrypoint script argument?
Seems cleaner this way, but open to input on this.