Documente Academic
Documente Profesional
Documente Cultură
3. Should validation (did the user enter a real date) occur server-side or client-side? Why?
validation should be done in client side itself to avoid the round trip to the server
Comments: 2 Last Comment: Hemapriya Post your
Added: August 20, 2005
Answer
4. What does the "EnableViewState" property do? Why would I want it on or off?
In Dot Net State of Objects/Controls is stored in hidden field named _ViewState this is done automatically by dot
net life time of this control is life of page (i.e till we are doing PostBack to same page) through
EnableViewState=true /false
Comments: 1 Last Comment: Jatinder Singh Rana Post
Added: August 08, 2005
your Answer
5. What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
i want to add two more comment to the previous one Resonse.redirect can be used both for aspx and html pages.But
server.transfer is only used for aspx pages it will not work for html pages. Response.redirect will only only
Comments: 2 Last Comment: Anil kumar Post your
Added: September 02, 2005
Answer
6. Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced
.NET component
when there is no .Net framework installed in one of the communicating applications.
Comments: 1 Last Comment: santosh Post your Answer Added: August 29, 2005
7. Let's say I have an existing application written using Visual Studio 6 (VB 6, InterDev 6) and this application
utilizes Windows 2000 COM+ transaction services. How would you approach migrating this application to .NET
8. Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
Since Recordset is connected there is concept of Cursor like Dynemic, KeySet etc. Cursor is not available in Dataset
because it is disconnected.
Comments: 3 Last Comment: Samyak R. Ranjan Post
Added: September 06, 2005
your Answer
16. What is diff. between abstract class and an interface? * What is shadowing? * Diff between Overriding and
overloading
An Abstract class is a class with some common/certain implementations and define abstraction for other services
which are implemented in its concrete sub classes, whereas interface only have method declaration with zero
implementations.
Comments: 1 Last Comment: K.d.c Anuradha Post your
Added: September 09, 2005
Answer
17. How do u declare static variable and how it is declared and what is its lifetime?
19. How does u get record no from 5 to 15 from a dataset of 100 records?
25. What r the ASP.NET list controls and diff. between them?
26. What is diff. between ASP State Management and ASP.NET State Management?(Imp) 19. How can we pass info
between 2 asp.net pages?
27. Diff between Web User Control and Web Custom Control.
31. How can we implement a Identity (SQL Server) call in an asp.net page?
34. Can you give an example of what might be best suited to place in the Application_Start and Session_Start
subroutines?
35. If I'm developing an application that must accomodate multiple security levels though secure login and my
ASP.NET web appplication is spanned across three web-servers (using round-robbin load balancing) what would be
the best approach to maintain login-in state for the users?
u can use state server for maintaining session in this case.
Comments: 2 Last Comment: kumar Post your Answer Added: August 05, 2005
36. What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
38. Can you explain what inheritance is and an example of when you might use it?
53. Explain what a diffgram is, and a good use for one
The DiffGram is one of the two XML formats that you can use to render DataSet object contents to XML. A good
use is reading database data to an XML file to be sent to a Web Service.
Comments: 2 Last Comment: Swapna Post your
Added: August 05, 2005
Answer
54. Where would you use an iHTTPModule, and what are the limitations of any
57. Describe session handling in a webfarm, how does it work and what are the > limits
58. How would you get ASP.NET running in Apache web servers - why would you even do this?
59. Whats MSIL, and why should my developers need an appreciation of it if at all?
MSIL is the Microsoft Intermediate Language. All .NET compatible languages will get converted to MSIL. MSIL
also allows the .NET Framework to JIT compile the assembly on the installed computer.
Comments: 2 Last Comment: Swapna Post your
Added: August 05, 2005
Answer
60. In what order do the events of an ASPX page execute. As a developer is it important to undertsand these events?
61. Which method do you invoke on the DataAdapter control to load your generated dataset with data?
dataadapter.fill(dataset object)
Comments: 1 Last Comment: ramesh Post your Answer Added: August 18, 2005
63. Which template must you provide, in order to display data in a Repeater control?
itemtemplate
Comments: 1 Last Comment: ramesh Post your Answer Added: August 18, 2005
64. How can you provide an alternating color scheme in a Repeater control?
alternate item template
Comments: 1 Last Comment: ramesh Post your Answer Added: August 18, 2005
65. 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?
You must set the DataSource property and call the DataBind method
Comments: 1 Last Comment: Swapna Post your
Added: August 05, 2005
Answer
68. How do you turn off cookies for one page in your site?
70. What tags do you need to add within the asp:datagrid tags to bind columns manually?
boundcolumn
Comments: 1 Last Comment: ramesh Post your Answer Added: August 18, 2005
72. What tag do you use to add a hyperlink column to the DataGrid?
73. What is the standard you use to wrap up a call to a Web service
74. Which method do you use to redirect the user to another page without performing a round trip to the client?
Server.Transfer
Comments: 1 Last Comment: Swapna Post your
Added: August 05, 2005
Answer
75. What is the transport protocol you use to call a Web service SOAP
77. What property do you have to set to tell the grid which page to go to when using the Pager object?
78. What tags do you need to add within the asp:datagrid tags to bind columns manually.
79. 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?
81. Which control would you use if you needed to make sure the values in two different controls matched?
Compare Validator Control
Comments: 1 Last Comment: Swapna Post your
Added: August 05, 2005
Answer
83. Name some of the Microsoft Application Blocks. Have you used any? Which ones?
Exception Management Logging Data Access User Interface Caching Application Block for .NET Asynchronous
Invocation Application Block for .NET Configuration Management Application Block for .NET (there are others)
We use Exception and Data Access
Comments: 1 Last Comment: Swapna Post your
Added: August 05, 2005
Answer