views:

273

answers:

5

I'm thinking about using ASP.NET in a new project I'm starting and I'm wondering if it's faster than classic ASP. I've been using classic for years, and never ran into any problems, but I really want to pick the fastest out of the three.

Thanks for your help!

+7  A: 

Fastest to run? Fastest to develop a site with? Fastest to solve problems when they occur? Fastest to train new developers up on?

All will run fast enough if well written. All will run dog slow if not. I think you need to consider how valid your objective here is.

David M
Sorry, I should have been more clear, I meant fastest to run.
will
+1  A: 

If you are talking about requests per second, you might want to look here:

http://msdn.microsoft.com/en-us/library/ms973813.aspx

Microsoft states asp.net is significantly faster than asp.

Kevin
+3  A: 

For one .Net is a compiled and VBScript is, well, a script language. Just the fact that .Net is compiled and classic is not gives .Net a huge advantage.

PHP which is a script language and not compiled, is 10 times slower than .Net...

Chuck Conway
Do you have some facts/link/etc to back up the 10x faster than PHP assertion?
mgroves
@mgroves - Yes I do. Jeff Atwood mentioned it in one of the stackoverflow podcasts. He also blogged/tweeted about it. Link: http://www.25hoursaday.com/weblog/2009/10/29/FacebookSeattleEngineeringRoadShowMikeShroepferOnEngineeringAtScaleAtFacebook.aspx.
Chuck Conway
+3  A: 

As an old Classic ASP'er, I have to say that ASP.Net is the way to go.
I did favor Classic over .Net initially, but not when 2.0 came out. .Net is compiled and the frameworks are extensive. It's hard to stick with a decade old web platform.

adamcodes
+2  A: 

Unless you have a SuperSite (like StackOverflow) your main performance problems are:

  • Database
  • Bandwidth

And none of those are related to ASP Classic or .Net

But, do pick ASP.Net because:

  • Great and modern tools
  • MVC is great
  • Global.asax catch all Application_Error gives you peace of mind.
  • Master pages
  • Membership built in
  • Server controls
  • Full and real OOP language
  • Easier cache management
  • LINQ
Eduardo Molteni