0

I am trying to explain ASP.Net MVC 2 to my colleagues and the management. I have to develop a sample application in both ASP.Net and ASP.Net MVC 2 to show case the differences between the two.

What would be a good application that can bring out the differences between the two? I am planning to demonstrate performance and testability. Any other key points that I can demonstrate?

Any ideas is really appreciated.

2 Answers 2

2

If they're web developers that likes to keep up with all the latest stuff, show 'em your complete control over the generated source. Show them how they can create HTML5 compliant websites with no extra effort. No more (unless you want) viewstate or document wrapping form tags.

You could also show them the extensibility abilities with action filters and action results.

But, as you mentioned, the biggest win for everyone is testability.

Edit: I can really recommend TardisBank as a great sample application. It uses MVC3 with Razor and RavenDB as the database. The code is well structured and clean.

Sign up to request clarification or add additional context in comments.

2 Comments

Can the projects listed here be a good fit for comparision stackoverflow.com/questions/2638529/…?
Yeah absolutely. NerdDinner is THE sample application of MVC. It also shows some nice aspects that's easy with MVC, like adding special views for mobile users.
1

Show them the page size, that should be helpful

6 Comments

What a red herring. I'll repeat a regular comment: "I can write bad code in any language"
Not ViewStates, but ct001_bt239_asd0191_28981_FormView1_Panel12_FirstNameTextbox used as both the name and id of an element.
@marko ASP.NET 4 allows you to control those names too...another red herring.
Yes, ASP.NET 4 does. It hasn't been the case prior to it though.
@Marko ~ IIRC You could always override that if you wanted to, but it was a helluva lot of hassle.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.