How to add some settings to web.Config?

How to add some settings to web.Config?

  

Hello

We need to add a few web.Config app setings, running in OutSystems 10, which we need for a third party dll in an integration services (.NET) extension that should be able to read those config settings.

How can we achieve this, persistent over new deployments (with different setting values on different dev-test-acc-prod environments)?

Thanks

Ahron de Leeuw wrote:

Hello

We need to add a few web.Config app setings, running in OutSystems 10, which we need for a third party dll in an integration services (.NET) extension that should be able to read those config settings.

How can we achieve this, persistent over new deployments (with different setting values on different dev-test-acc-prod environments)?

Thanks

Hi,

If you are using an on-premises server, you should check the Factory Configuration component in Forge.

With this component, you are able to change the web.config for your applications that are calling those third-party services. 

You can create different configurations and associate them with different eSpaces. These configurations can be different in each environment (e.g. using different endpoints in DEV and PROD).

I've used this component to specify endpoints for services that were being called in .Net extensions.

Note: After changing a configuration or associating it to an eSpace you need to publish that eSpace for the web.config file to be updated.


Thank you very much, we are on-premise indeed and we will try this approach.