I have application with the following dlls:
Web project - MVC web application
Wcf Services - services that the web application uses.
Model - Entity framework code first entities and DbContext object.
Now when I need to change something lets say function in the wcf services so I change the function but the web also affected and I need to make add service reference again and change the code that uses the wcf service and also the model sometimes changes...
As the CCP states: package should not have more than one reason to change. If change were to happen in an application dependent on a number of packages, ideally we only want changes to occur in one package, rather than in a number of them. This helps us determine classes that are likely to change and package them together for the same reasons. If the classes are tightly coupled, put them in the same package.
So in my design I violates this principle? If someone can explain better design I will be glad.