Service-fabric: The configuration system feels outdated

Created on 25 Apr 2018  路  2Comments  路  Source: microsoft/service-fabric

After getting used to the joy that is Microsoft.Extensions.Configuration, configuring Service Fabric feels outdated.

Instead of setting an environment variable containing the environment name (on my own device or e.g. via App Service application settings in the Azure portal) and loading environment-specific configuration from whatever source I like, I have to use a complex XML-based system and publish profiles for managing per-environment configuration. I'm having flashbacks to all my unpleasant experiences with configuring WCF.

A highly upvoted comment from the above link shows that a lot of people dislike the current configuration system:

Can I just say "yuck!". This is hopelessly convoluted for a simple environment based setting. This is ripe for some dev effort from the SF team.

I don't have suggestions right now for how to improve this, because I'm pretty new to Service Fabric. Nevertheless I think it's useful to voice my concerns on this, if only to get a discussion started.

area-SDK status-in-progress status-last6months type-enhancement

Most helpful comment

@stijnherreman - totally agree. There's actually been a lot of work happening to get a fresh start on all the configuration and manifest files you see today with the goal of drastically simplifying things, decoupling a lot of the overloaded configuration settings, and of course, moving away from XML.

That work started a while back before we went open source but it will make its way out here too as we continue to transition the project to GitHub. We'll likely start posting some specs and designs in the next couple of weeks.

All 2 comments

@stijnherreman - totally agree. There's actually been a lot of work happening to get a fresh start on all the configuration and manifest files you see today with the goal of drastically simplifying things, decoupling a lot of the overloaded configuration settings, and of course, moving away from XML.

That work started a while back before we went open source but it will make its way out here too as we continue to transition the project to GitHub. We'll likely start posting some specs and designs in the next couple of weeks.

That's great to hear, I'm looking forward to the new designs 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SergiiKliebanov picture SergiiKliebanov  路  8Comments

spottedmahn picture spottedmahn  路  5Comments

lukeholbertmsft picture lukeholbertmsft  路  5Comments

vany0114 picture vany0114  路  5Comments

FernandoNunes picture FernandoNunes  路  7Comments