In strictly typed object-oriented languages such as Java or C#, it's a common practice to invoke a method from a service by calling an interface as opposed to an actual service. This pattern is useful when swapping dependencies on the fly (like logging to the console or to the database) or unit testing, as we're not bounded to work with actual classes, but rather abstractions.
Photo by Helena Lopes from Pexels
Code below:
Credit:
Deploy angular app to IIS - YouTube (Kudvenkat) https://www.youtube.com/watch?v=VkGmaVm6-IQ
Angular 15 deployment in IIS Server | Hosting angular in IIS Server | Nihira Techiees - YouTube
