Its not required to put them in separate class libraries but it is a best practice.
The reason is that it forces you to maintain the separation of concerns because you can't cut corners and dip into another layer without coding it properly.
Marked as answer byAnonymousThursday, October 7, 2021 12:00 AM