Wednesday, June 15, 2011

Common Performance Myths in .Net

Myth 1 : C# code is faster than Visual Basic code

There is no reason why Visual Basic and C# code cannot execute with nearly identical performance.

Myth 2 : Codebehind is faster than inline

Absolutely false. It doesn't matter where your code for your ASP.NET application lives, whether in a codebehind file or inline with the ASP.NET page.

Myth 3 : Components are faster than pages

This was true in Classic ASP when compiled COM servers were much faster than VBScript. With ASP.NET, however, both pages and components are classes. Whether your code is inline in a page, within a codebehind, or in a separate component makes little performance difference

Myth 4 : Every functionality that you want to occur between two apps should be implemented as a Web service

No comments:

Post a Comment