| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How many column in table of sql server? | | 3 |
| What does this do? gacutil /l | find /i about | | 1 |
| Explain current thinking around IClonable. | | 1 |
| how to use web services with code?(with example code) | Accenture | 1 |
| Your ASP.NET application displays sales data on a page. You
want to improve performance by holding the page in memory on
the server for one hour. You want to ensure that the page is
flushed from memory after one hour, and that the page is
re-created when the next request for the page is received.
What should you do?
A . Initialize a new instance of the Cache class in the
Application.Start event handler.
B . Initialize a new instance of the Timer class in the
Page.Load event handler.
C . Set the Duration attribute of the OutputCache directive
in the page.
D . In the Web.config file, set the timeout attribute of the
sessionState element.
| Syntax-Softtech | 5 |
| Features in ASP.NET? | Microsoft | 2 |
| You have two buttons in web form and i clicked on one of
the button, so how do i find which button i've clicked on
the form in my page load? | INDUS | 14 |
| What are the page level transaction and class level
transaction? | Satyam | 1 |
| To which class you load XML or Related Data | | 1 |
| Can i have both C# and vb.net code in same assembly?how? | Wipro | 4 |
| What are the Application_Start and Session_Start
subroutines used for? | | 5 |
| what is profiles in asp.net
| | 1 |
| .Net Doesn't offer Deterministic Distruction ?
a) True
b) False
| CTS | 4 |
| where should write the connection string Show that it will
apply whole pages in the website | Symco | 5 |
| Can you give an example of what might be best suited to
place in the Application_Start and Session_Start subroutines? | | 1 |
| What is .Net3.0 and .Net3.5?
Describe something about that Features.. | | 1 |
| Below is a code extract from an ASP.Net application.
The code basically reads data from the “name” field in
the “members” table and prints them onto the webpage.
Using the assumptions provided, fill in the 4 blanks below
so that the code will run correctly.
‘Assumptions:
‘conn_str is a variable that holds the connection string to
the database
‘Objects dbcomm and dbread are already declared earlier
dbcomm = New OleDbCommand("SELECT name FROM members",
conn_str)
dbread = dbcomm._______________
_____________________
response.write(_______________)
_____________________
dbread.Close() | Techno-Solutions | 3 |
| How Can we use multiple forms in single asp.net application?
| Polaris | 2 |
| About CLS and CTS? | Microsoft | 6 |
| In a webpage if i want to give access to only half page
,then what should i do?
| | 3 |
| |
| For more ASP.NET Interview Questions Click Here |