views:

51

answers:

2

Why do I need 'Classic Mode' in ASP.NET MVC in IIS7?

Integrated Mode provides more features and better performance, so why do I need Classic Mode?

Perhaps I dont understand the differences, please can someone explain?

+1  A: 

The pipeline mode is a property of the Application Pool not ASP.NET MVC.

It may be that you have an ASP.NET MVC application but also some legacy Classic ASP code that requires Classic Mode to be able to function properly.

But if your application is pure ASP.NET MVC then yes your should run in Integrated Pipeline mode.

Kev
+1  A: 

Besides what Kev already mentioned in his answer, it's also about the configuration entries.

You use different web.config elements to configure handlers when you run it in Classic Mode than in Integrated Mode. That may be the case of the application you are trying, but it's certainly no a reason to do it. You can have configurations for both in the web.config, so it would work the same regardless of Classic vs. Integrated.

eglasius