Hi Dave,
Thanks for buying the book!
Quote:
|
Why are you placing the controllers in a project rather than in the MVC project?
|
This was because I had planned on creating a seperate mobile version of the site that still used the same controllers but had different views. Basically so I coould have one ASP.NET MVC project for my main site and one for a mobile version.
Quote:
|
What do you think about the use of data annotations for validation? You did not use them in your project.
|
I wrote the sample application agasin't the MVC 1.0 version when there wasn't data annotations available and I didn't have time to update the sample. However I do intend to update the sample (
http://aspnetdesignpatterns.codeplex.com/) as soon as I get time.
Quote:
|
Is there anything you would do differently now give the release of MVC 3 and/or experience you gained since releasing the project?
|
I am in the process of writing another book using MVC 3 and the Command and Query Responsibility Segregation pattern -
http://apress.com/book/view/1430235330. That will show you how I am design my ASP.NET MVC apps - you can see the code here
http://agilenet.codeplex.com/.
Cheers
Scott