ASP.NET MVC Wizard, WCF and validation -


I have an ASP.NET mvc wizard with 5 steps. My business model has been implemented using DDD Web The architecture of the application is something like this. See-> Controller-> WCF-> DDD-> Repository and Database. Business data verification has been implemented in DDD, and calls it to validate the WCF data.

I have come to know that in order to check every step in the wizard, I need to call WCF (as part of server-side verification) if the data is valid, and then the result of the controller Returns

Is this wrong? Will the data be part of the verification model which is close to the controller? Is there a better solution?

Data Validon should remain in the model, I have cetralized validation logic in this way, and if you If you want to change the business rules for verification, you have to change it to only one place.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -