| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| which method marks a config file section for encryption? | | 1 |
| Can you explain the difference between an ADO.NET Dataset
and an ADO Recordset? | HCL | 3 |
| what is satellite assembly in .net? | | 4 |
| How to do Forms authentication in asp.net? | | 2 |
| You create an ASP.NET application for a hotel. The
application contains a page that displays current weather
conditions for the city in which the hotel is located. The
application calls an XML Web service every 10 minutes to
update the current weather conditions. A new page is then
displayed for subsequent requests.
You want the same page to be cached and retrieved from the
cache during the time between calls to the XML Web service.
You decide to use a Page directive to accomplish this goal.
Which Page directive should you use?
A . <%@ Cache Seconds="600 '' VaryByParam="Page" %>
B . <%@ OutputCache Time="600" %>
C . <%@ OutputCache Duration="600" VaryByParam="None" %>
D . <%@ OutputCache Duration="600" %>
| Syntax-Softtech | 2 |
| I have a textbox , assign required field validator and i
have two buttons 1) save 2) cancel , i want the validator
run only when i click save button, don't validate cancel
button , what to do? | eMids | 5 |
| What is the result when the Web Form containing the
following line is complied and executed?
<asp:Button id=?thebutton? onClick=?theEvent? />
a) The button control is created; theEvent is the click
event handler.
b) Compiler error; the control must be set to runat=?server?.
c) Compiler error; onClick is not a valid attribute.
d) Runtime Exception; the control must be set to runat=?server?.
| Syntax-Softtech | 2 |
| Which institute provide good Project training on .Net
technologies in hyd? | | 4 |
| In this case if exception occure in Database which catch
block will be exexcuted? | Microsoft | 1 |
| relacement of websevices in .net 3.0? | Mind-Tree | 1 |
| If cookies is disabled in client browser will session work ? | Satyam | 3 |
| what is the difference between this.controls and
page.form1.controls and me.controls? | FactorH | 2 |
| Describe the difference between a Thread and a Process? | | 4 |
| My website has around 100 aspx. Out of this, a certain 20
aspx files should be made available to the users only
if they are logged in. How can I achieve this with the
web.config file? | Techno-Solutions | 1 |
| Explain the scenario where we go for inpro and outpro session? | | 2 |
| What is the difference between control and component? | | 2 |
| What is strong-typing versus weak-typing? Which is
preferred? Why? | | 1 |
| Why Global.asax is used? | Perot-Systems | 6 |
| How do you make your site SSL enabled ? | Satyam | 2 |
| Can session variables be accessed from code-behind? | Microsoft | 2 |
| |
| For more ASP.NET Interview Questions Click Here |