ASP.Net Interview Questions
How do we enable tracing ?
What exactly happens when ASPX page is requested from Browser?
What is a Windows Service and how does its lifecycle differ from a “standard” EXE?
What is a PostBack?
Is it possible to prevent a browser from caching an ASPX page?
How do you deploy an ASP.NET application?
ASP.NET Configuration.
What does the volatile modifier do?
What is Tracing in ASP.NET ?
Difference between Web.config and machine.config.
What are VSDISCO files?
What are the mobile devices supported by .net platform?
Name two properties common in every validation control?
What namespace does the Web page belong in the .NET Framework class hierarchy?
What is the difference between login controls and Forms authentication?
Are the actual permissions for the application defined at run-time or compile-time?
What is the difference between authentication and authorization?
Where we can use DLL made in C#.Net ?
To Configure .Net for JIT activation what do you do?
How do you import Activex component in to .NET?
What is a code group?
How do you display an editable drop-down list?
How can C# app request minimum permissions?
What debugging tools come with the .NET SDK?
How can you work with permissions from your .NET application ?
What is the difference between repeater over datalist and datagrid?
What is the use of fixed statement?
What is the order of destructors called in a polymorphism hierarchy?
What’s the difference between code-based security and role-based security? Which one is better?
How can you sort the elements of the array in descending order?
If A.equals(B) is true then A.getHashcode & B.getHashCode must always return same hash code.
In how many ways we can retrieve table records count? How to find the count of records in a dataset ?
What happens when we issue Dataset.ReadXml command ?
What is the difference between structures and enumeration?
Explain different methods and Properties of DataReader which you have used in your project ?
Is it possible to debug the classes written in other .Net languages in a C# project.
What is the different between ASP.NET and VB.NET?
How can we create custom controls in ASP.NET?
How many types of validation controls are provided by ASP.NET ?
What is manifest?
What is Value type and refernce type in .Net?
What distributed process frameworks outside .NET do you know?
Can you explain what is “AutoPostBack” feature in ASP.NET ?
How do you retrieve the customized properties of a .NET application from XML .config file?
How can you enable automatic paging in DataGrid ?
What are the types of assemblies?
Difference between DataReader and DataAdapter / DataSet and DataAdapter?
What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database ?
Difference between OLEDB Provider and SqlClient ?
What are relation objects in dataset and how & where to use them ?
How would u connect to database using .NET ?
What’s the difference between Response.Write() andResponse.Output.Write() ?
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process ?
Where does the Web page belong in the .NET Framework class hierarchy ?
What is method to get XML and schema from Dataset ?
Differences between dataset.clone and dataset.copy ?
Where do you store the information about the user’s locale ?
What’s the difference between Codebehind=”MyCode.aspx.cs” andSrc=”MyCode.aspx.cs” ?
What’ s a bubbled event ?
What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control ?
Which template must you provide, in order to display data in a Repeater control ?
If I’m developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-
What does the “EnableViewState” property do? Why would I want it on or off ?
What data type does the RangeValidator control support ?
Suppo se you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler ?
What base class do all Web Forms inherit from ?
True or False: A Web service can only be written in .NET ?
What does WSDL stand for ?
What tags do you need to add within the asp:datagrid tags to bind columns manually ?
Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box ?
True or False: To test a Web service you must create a windows application or Web application to consume this service ?
Which control would you use if you needed to make sure the values in two different controls matched ?
How many classes can a single .NET DLL contain ?
Difference between ASP Session and ASP.NET Session ?
What is cookie less session? How it works ?
How do you debug an ASP.NET Web application?
Where we can use DLL made in C#.Net ?
What are different transaction options available for services components?
What is the difference between login controls and Forms authentication?
What method do you use to explicitly kill a users session ?
What are the different ways you would consider sending data across pages in ASP (i.e between 1.asp to 2.asp) ?
What does it meant to say “the canonical” form of XML?
To Configure .Net for JIT activation what do you do?
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state ?
What are the disadvantages of view state / what are the benefits ?
What is the difference between Debug.Write and Trace.Write?
When would you use ErrorProvider control?
Is it possible to Override Private Virtual methods.