You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
For solutions where a server is generated and a custom client is constructed in the same solution there currently is no good way of sharing the generated DTO objects. Current options include copy the files, sharing using VS feature file share.
Possible solution
Change the structure of the generated projects to generate a dedicated DTO project containing only the DTO objects and enumerations. This will enable referencing this project from a custom client living inside the server solution.
It could be controlled by an option but my suggestion will be not to do that as it should not have an effect for existing projects except maybe for a name class on the new project.
Additional context
This will affect the client generation as well. It will make sense to update this project to use the new project as well.
The text was updated successfully, but these errors were encountered:
Problem
For solutions where a server is generated and a custom client is constructed in the same solution there currently is no good way of sharing the generated DTO objects. Current options include copy the files, sharing using VS feature file share.
Possible solution
Change the structure of the generated projects to generate a dedicated DTO project containing only the DTO objects and enumerations. This will enable referencing this project from a custom client living inside the server solution.
It could be controlled by an option but my suggestion will be not to do that as it should not have an effect for existing projects except maybe for a name class on the new project.
Additional context
This will affect the client generation as well. It will make sense to update this project to use the new project as well.
The text was updated successfully, but these errors were encountered: