Hello ...
I´d like to know what is the best option to develope a Auction site like Ebay with ASP .NET 4.0:
- MVC 2.0
- WebForms
I only worked with WebForms, but I have time to learn MVC if is the best option...
What you think?
Thanks
Hello ...
I´d like to know what is the best option to develope a Auction site like Ebay with ASP .NET 4.0:
I only worked with WebForms, but I have time to learn MVC if is the best option...
What you think?
Thanks
I would recommend MVC, because I would recommend MVC for anything! It is easy to pick up, and you will probably never go back to webforms.
Besides the simplicity and the clean mark up. If you are working with any sort of generated code, the model binding makes developing pages really fast and easy. I have used a custom generated BLL and DLL, when the DataAnnotations attributes are generated all client side and server side validation is automatic.
MVC, but if you choose to use MVC do take the opportunity to write unit tests for your components. May I suggest a Test Drive Design approach?
While you are at it, you might also want to look in to Behavior Driven Design (it is like TDD, but few levels more abstracted)
Duplicate.
There is already loads of existing information on this subject:
This article http://www.lostechies.com/blogs/chad_myers/archive/2009/04/27/to-mvc-or-to-webforms.aspx has good arguments why you would want to use MVC over WebForms. You can read through the 4 bullet points and if they don't bother you then WebForms will be fine.
In a nutshell.
If you anticipate a high volume site then not having ViewState and being able to unit test should be important to you.