Are there any thoughts in this? Personally, I believe that managing endpoints in configuration files is a pain. Are there any pros and cons to doing one on top of the other?
Only points in favor of configuration files from me.
Managing endpoints in configuration files means that you do not need to update your application if (or maybe I should say when) the endpoints change.
You can also have multiple instances of an application that works with different endpoints.
config, , .
, WCF, , , XML-, , . , , , .
, Visual Studio "", XML, VS , , , .
:
xml- , . ;
/ .dll, WCF-.
, , CommonClients.dll, WCF - , " 100 xml, app.config , ". , , .
"".NET 3.5, , wcf, . , , , nnumber, . , .NET 4 .
, , . , "" "UAT" "".
- , . - enpoint, , .
app.config , . . , ( , ) . , . : " ". .
, . , , , userSettings, system.ServiceModel.
. , . , .
, ( ) , . , , , , , . , .
, . .
Check out the .NET StockTrader app . It uses a repository to store configuration data and has a separate configuration management application. The settings and structures are quite advanced, and there is an honest cue ball for those who look like me, only has the basics of WCF configuration, but I would say it's worth a look.
Source: https://habr.com/ru/post/1710760/More articles:Using variables with GRANT and DENY in SQL Server 2005 - sql-serverHow to concatenate strings with binary values in python? - pythonWhen running ls -l, why does the file size in the directory not match the du output? - linuxThe designation of the request for selecting an overload with an index - selectCreating a set of specific projects in TFS - tfsCan cloud computing scale the backend? - cloudWhy does my background not extend beyond my content? - htmlUSER_HOME для грааля в Windows - grailsValidating UPDATE and INSERT statements for the entire table - validationПреобразование классического пользовательского элемента управления ASP.NET в MVC - asp.net-mvcAll Articles