V
V
Vladimir Karpenko2017-10-04 19:04:46
ASP.NET
Vladimir Karpenko, 2017-10-04 19:04:46

Question about implementation requirements?

For the first time I get a job as a programmer for a .NET developer. They gave a test task that can be done on WPF, WCF and ASP.NET. I chose ASP.NET. There are two points in the implementation requirements that I don't understand:
1) Use an application configuration file for User-specific settings
2) Use resources to store UI strings
What do they mean?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fat Lorrie, 2017-10-04
@Zeedjator

1) Use application configuration file for User-specific settings

Next to the assembly (MyApplication.exe or MyApplication.dll), you can put an XML settings file (MyApplication.config) that will affect a specific instance of the assembly. You can read about this in Richter (in the chapter on forking assemblies) or in the documentation , there is also an XML schema.
In addition, Web.configevery ASP.NET application (and the desktop one App.config) has such a file at the project level (not to be confused with Web.configin the Views folder)
It is customary to wrap all string resources visible to the user in applications and replace them with a localized equivalent. This can be a service that will substitute the necessary values, depending on the application settings / user language, etc. Roughly speaking, a dictionary of terms that selects values ​​from a table by value. Something like is used:
Retrieve values, respectively, from resources.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question