ASP.Net Interview Questions

 
1.
What is ASP.Net?
2.
What's the use of Response.Output.Write()?
3.
In which event of page cycle is the ViewState available?
4.
What is the difference between Server.Transfer and Response.Redirect?
5.
From which base class all Web Forms are inherited?
6.
What are the different validators in ASP.NET?
7.
Which validator control you use if you need to make sure the values in two different controls matched?
8.
What is ViewState?
9.
Where the viewstate is stored after the page postback?
10.
How long the items in ViewState exists?
11.
What are the different Session state management options available in ASP.NET?
12.
How you can add an event handler?
13.
What are the different types of caching?
14.
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
15.
List the events in page life cycle.
16.
Can we have a web application running without web.Config file?
17.
Is it possible to create web application with both webforms and mvc?
18.
Can we add code files of different languages in App_Code folder?
19.
What is Protected Configuration?
20.
Write code to send e-mail from an ASP.NET application?
21.
How can we prevent browser from caching an ASPX page?
22.
What is the good practice to implement validations in aspx page?
23.
What are the event handlers that we can have in Global.asax file?
24.
Which protocol is used to call a Web service?
25.
Can we have multiple web config files for an asp.net application?
26.
What is the difference between web config and machine config?
27.
Explain role based security ?
28.
What is Cross Page Posting?
29.
How can we apply Themes to an asp.net application?
30.
What is RedirectPermanent in ASP.Net?
31.
What is MVC?
32.
Explain the working of passport authentication.
33.
What are the advantages of Passport authentication?
34.
What are the asp.net Security Controls?
35.
How do you register JavaScript for webcontrols ?
36.
In which event are the controls fully loaded?
37.
what is boxing and unboxing?
38.
Differentiate strong typing and weak typing
39.
How we can force all the validation controls to run?
40.
List all templates of the Repeater control.
41.
List the major built-in objects in ASP.NET?
42.
What is the appSettings Section in the web.config file?
43.
Which data type does the RangeValidator control support?
44.
What is the difference between an HtmlInputCheckBox control and an HtmlInputRadioButton control?
45.
Which namespaces are necessary to create a localized application?
46.
What are the different types of cookies in ASP.NET?
47.
What is the file extension of web service?
48.
What are the components of ADO.NET?
49.
What is the difference between ExecuteScalar and ExecuteNonQuery?