Configuration Model in c#
Configuration Model in c# , ANGULAR WITH CORE .NET AND MVC RAZOR ENGINE Configuration Model Configuration data should live outside the application. If you feel the urge to hardcode something, stop and think about the impact it may have on the scalability of the application in the future. When we separate the configuration from the application, it allows us to deploy the same code to do different things in different environments There is a saying " Don’t code hard, hardcode instead.” As .NET developers, we should be familiar with the good old app.config and web. config files, which offer a mechanism for a specific configuration for each application. ASP.NET Core is no different, but with a much better mechanism for storing and providing configuration data. In fact, the new configuration model in ASP.NET Core is much more simplified, flexible, and extendable. Compared to its predecessors, it sets the bar quite high. In laymen’s terms, i