ASP.NET Interview Questions and Answers
What’ is the sequence in which ASP.NET events are processed?
In which event are the controls fully loaded?
How can we identify that the Page is Post Back?
How does ASP.NET maintain state in between subsequent request?
What is event bubbling?
How do we assign page specific attributes?
How do we ensure viewstate is not tampered?
What is the use of @ Register directives?
What is the use of Smart Navigation property?
What is AppSetting Section in “Web.Config” file?
Where is View State information stored?
what is the use of @ Output Cache directive in ASP.NET?
How can we create custom controls in ASP.NET?
How many types of validation controls are provided by ASP.NET?
Can you explain “AutoPostBack”?
How can you enable automatic paging in Data Grid?
What is the use of “GLOBAL.ASAX” file?
What is the difference between “Web.config” and “Machine.Config”?
What is a SESSION and APPLICATION object?
What is the difference between ‘Server.Transfer’ and ‘response. Redirect’ ?
What is the difference between Authentication and authorization?
what is impersonation in ASP.NET?
Can you explain in brief how the ASP.NET authentication process works?
What are the various ways of authentication techniques in ASP.NET?
How does authorization work in ASP.NET?
What is difference between Data grid, Datalist, and repeater?
From performance point of view, how do they rate?
What is the method to customize columns in Data Grid?
How can we format data inside Data Grid?
How to decide on the design consideration to take a Data grid, data list, or repeater?
Difference between ASP and ASP.NET?
What are major events in GLOBAL.ASAX file?
What order they are triggered?
How can we force all the validation control to run?
How can we check if all the validation control are valid and proper?
If client side validation is enabled in your Web page, does that mean server side code is not run.?
How to disable client side script in validators?
How can I show the entire validation error message in a message box on the client side?
You find that one of your validations is very complicated and does not fit in any of the validators, what will you do?
What exactly happens when ASPX page is requested from a browser?
How can we kill a user session?
How do you upload a file in ASP.NET?
How do I send email message from ASP.NET?
What are different IIS isolation levels?
ASP used STA threading model, what is the threading model used for ASP.NET.?
What is the use of <%@ page aspcompat=true %> attribute?
Explain the differences between Server-side and Client-side code?
Can you explain Forms authentication in detail?
How do I sign out in forms authentication?
If cookies are not enabled at browser end does form Authentication work?
How to use a checkbox in a data grid?
What are the steps to create a windows service in VB.NET?
What is the difference between “Web farms” and “Web garden”?
How do we configure “Web Garden”?
What is the main difference between Grid layout and Flow Layout?
What’s the difference between trace and debug in ASP.NET?
How do you enable tracing in on an ASP.NET page?
Which namespace is needed to implement debug and trace ?
Can you explain the concept of trace listener?
What are trace switches?