| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What does the "EnableViewState" property do? Why would I
want it on or off? | | 4 |
| Suppose there is one web farm with 3 servers inside with
same configuration and the same project is running inside
all servers.Which session mode is usde for all these and
why? | | 2 |
| Differences between VB.Net and C#, related to OOPS concepts | CSC | 5 |
| You have been given the task of designing a web services to
expose the data that is stored in a database on the server.
In order to successfully build the web services, you need to
import some namespaces. What is the minimum namespace you
need to import?
a) System.Web
b) System.WebServices
c) System.Web.Services
d) System.Web.ServiceModel
| Syntax-Softtech | 2 |
| How can you get public key information? | Microsoft | 1 |
| How would one do a deep copy in .NET? | TCS | 4 |
| What is the difference between and ActiveX dll and control ? | Microsoft | 1 |
| How do you add a javascript function for a link button in a
datagrid ? | Microsoft | 4 |
| what is strong name? | Microsoft | 2 |
| What is the Web.config file used for?
a) To store the global information and variable definition
for the application.
b) Configures the time that the server-side codebehind
module is called
c) To Configure the Web Server.
d) To Configure the Web browser.
| Syntax-Softtech | 3 |
| How do you set language in web.cofig ? | Keane-India-Ltd | 3 |
| What is reflection and disadvantages of reflection ? | Microsoft | 1 |
| Is it possible to use two versions of assembly at the same
time?If possible explain with code? | Tech-Mahindra | 3 |
| In a page u have Web user controls . So what is the order
in which the Page life Cycles takes place? | | 1 |
| relacement of websevices in .net 3.0? | Mind-Tree | 1 |
| I am using ASP.Net 2.0. I added the following code in
button_Click page. but 'PreviousPage' is not taking as a
keyword. It throughs an error.
Page Poster = this.PreviousPage;
TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest");
sDisplay = txtNewTest.Text;
Response.Write(sDisplay);
The following is the Error Message:
'controls_LoginMain' does not contain a definition
for 'PreviousPage' | | 2 |
| web farm .. how does session shuld be stored... if inproc
used? does the session
persists from one server to other.
| TCS | 2 |
| When would you set this property to false?
| | 1 |
| Is it necessary to create a Windows application or Web
application to test a Web service ?
Is it must to consume this service?
| | 2 |
| You ve defined one page_load event in aspx page and same
page_load event in code behind how will prog run? | | 4 |
| |
| For more ASP.NET Interview Questions Click Here |