M
M
mindgrow2018-02-20 17:26:48
ASP.NET
mindgrow, 2018-02-20 17:26:48

ASP MVC - Where is the best place to name my web application?

Good afternoon.
There is a web application, it has a name, for example "Salon Management". This name should be visible in the menu on every page. In the future, you will need to quickly change the name from one to another.
Now the name is written in text on the Layout page.
Perhaps it's better to specify the name in Web.config?
Are there any other options?
Where is the best place to put the name?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kovalsky, 2018-02-20
@dmitryKovalskiy

You can and probably should use resource files. It will also solve the problem of access to constant data and will be checked at the compilation stage and can be covered with a test.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question