Exploring the code generated by Template Studio
It’s time to review the contents of the newly generated TemplateStudioSampleApp solution. There is a lot of code created for us in the three projects, so we won’t be exploring every file. We’ll discuss each folder, explore a few of the important files, and make some minor code changes along the way. Each project has its own README.md
file with an overview of the project and its purpose.
Exploring the Core project
The TemplateStudioSampleApp.Core project is a class library project targeting .NET 7. This is where you would place any code that is intended to be shared across projects. The project contains four folders:
Contracts
: Interfaces for the services in the project are kept here in aServices
subfolder. Any new interfaces needed in this project should be created here.Helpers
: This folder contains aJson
helper class with methods to convert between JSON strings and .NET objects. Add your own...