| Other ASP.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 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 |
| How can you provide an alternating color scheme in a
Repeater control? | | 3 |
| What are all the ways to find out types of objects? | HCL | 4 |
| What is a Windows Service and how does its life cycle differ
from a standard EXE? | | 2 |
| Given an ASP.NET Web Form called WebFrom1, what class does
the WebForm1 class inherit from by default?
a) System.Web.Form
b) System.Web.GUI.Page
c) System.Web.UI.Page
d) System.Web.UI.Form
| Syntax-Softtech | 2 |
| Explain what a diffgram is, and a good use for one? | | 1 |
| How many classes can a single .NET DLL contain?
| | 2 |
| about view state and how validation controls will be
executed on client and server | Wipro | 2 |
| What event fired during, when datagrid click? | | 1 |
| What is the difference between Server.Transfer and
Response.Redirect? Why would I choose one over the other? | | 6 |
| What are the differences between Dataset and DataReader? | Accenture | 3 |
| Explain the differences between Server-side and Client-side
code? | | 3 |
| Which namespace in used to connction web cam | | 1 |
| why many web.config files are used in are project | | 2 |
| What is the Difference B/W Finalize() and Dispose() in .Net? | HCL | 7 |
| What is boxing and unboxing ? | Accenture | 6 |
| What is role-based security? | | 1 |
| What is web.config and machine.config ? | TCS | 2 |
| What is deff. saop and disco? | | 1 |
| How to write unmanaged code and how to identify whether the
code is managed / unmanaged ? | Accenture | 1 |
| |
| For more ASP.NET Interview Questions Click Here |