Call Us: (877) 513-3113
E-Mail: info@tellagostudios.com
Call Us: (877) 513-3113
E-Mail: info@tellagostudios.com
Reusability, or the lack of it, is one of the main problems with the .NET configuration experience. How many times do we find ourselves creating the same configuration sections over and over again as part of our .NET applications? And then when those configuration settings change we have to go change it on 20 different places.
With TeleSharp, we created a simple model that allows you to reuse the same configuration sections across the different components of you r applications. The rule is pretty simple Create it once, use it everywhere.
Let’s illustrate this in the context of a very simple scenario on which a WCF service and a WPF application need to access a database. Traditionally, we will have to copy the connection string section in both app.config files. With TeleSharp, we can accomplish this in a few easy steps.

Suppose that we have the both components already registered in TeleSharp as highlighted in the following figure.

Initially we need to create the configuration section in TeleSharp either by uploading an application configuration file or by pasting the XML.

Once the configuration section has been created, we can simply dragging it onto the different component we would like to configure.

Once the components have been configured, we can deploy the configuration using a TeleSharp deployment container (more on deployment containers in a future post)
