· SQL Injection Problem A user can enter a user-name and password in a pattern (such as ['b or '1'='1]) that when you concatenate them in the query to check the credential, the query will always be succeeded. To protect from this, you should either parse the strings they enter and remove all single quotes, or use the technique of retrieving the password from the database and comparing it with the value that the user entered or use a stored procedure. · CLR has the ability to short-circuit expression testing. · According to performance testing done by Microsoft, the runtime (CLR) can allocate nearly 10 million objects per second on a moderately fast machine. · The Option Explicit On statement forces the declaration of all variables before they are used and will generate a compiler error if a variable is used before it is declared. The Option Strict On greatly limits the implicit data type conversions. This al...
Interview Questions related to ASP.NET 2.0 - 3.0 - 3.5, ADO.NET, VB.NET, C#.NET, MSSQL Server, AJAX, OOPS, HR etc