ASP.NET Interview Basic Questions
ASP.NET Interview Questions
- What’s 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 PostBack ?
- How does ASP.NET maintain state in between subsequent
request ?
- What is event bubbling ?
- How do we assign page
specific attributes ?
- Administrator wants to make a security check that no one has
tampered with ViewState , how can he ensure this ?
- What’s the use of @ Register directives ?
- What’s the use of SmartNavigation property ?
- What is AppSetting Section in “Web.Config” file ?
- Where is ViewState information stored ?
- What’s the use of @ OutputCache 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 what
is “AutoPostBack” feature in ASP.NET ?
- How can you enable automatic paging in DataGrid ?
- What’s the use of “GLOBAL.ASAX” file ?
- What’s the difference between “Web.config” and
“Machine.Config” ?
- What’s a SESSION and APPLICATION object ?
- What’s difference between Server.Transfer and
response.Redirect ?
- What’s 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’s difference
between Datagrid , Datalist and repeater ?
- From performance
point of view how do they rate ?
- What’s the method to customize columns in DataGrid?
- How can we format
data inside DataGrid?
- How will decide the design consideration to take a Datagrid
, datalist or repeater ?
- Difference between ASP and ASP.NET?
- What are major events in GLOBAL.ASAX file ?
- What order they are triggered ?
- Do session use cookies ?
- How can we force all the validation control to run ?
- How can we check if
all the validation control are valid and proper ?
- If you have client side validation is enabled in your Web
page , Does that mean server side code is not run?
- Which JavaScript file
is referenced for validating the validators at the client side ?
- How to disable client
side script in validators?
- I want to show the entire validation error message in a
message box on the client side?
- You find that one of your validation is very complicated and
does not fit in any of the validators , so what will you do ?
- What is Tracing in ASP.NET ?
- How do we enable
tracing ?
- What exactly happens
when ASPX page is requested from 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 , whats the threading model
used for ASP.NET ?
- Whats 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 datagrid?
- What are the steps to
create a windows service in VB.NET ?
- What’s the difference between “Web farms” and “Web garden”?
- How do we configure “WebGarden”?
- What is the main difference between Gridlayout and
FlowLayout ?