Summary
Visual Studio comes with many project template options out of the box. However, knowing when and how to use your own custom templates can be a very powerful and valuable weapon for developers to have in their arsenal.
In this chapter, we made a project template using our own custom WPF project that was already configured for things such as dependency injection, logging, multi-service implementation (mock, JavaScript Object Notation (JSON), or application programming interface (API) data), and special output requirements. Keep in mind that things that can be done for project templates can also be done for individual files within a project.
By knowing how to export, import, use, and modify project template definitions, you have gained the skills needed to repeat successful architectures across multiple problem domains. This technique can result in achieving important benefits such as standardization across multiple projects, which eases learning curves, reduces maintenance...