Google

Friday, February 1, 2008

ASP.NET Question And Answer 1

Some Question Of ASP.NET
1. Explain the differences between Server-sid e and Client-side code?
2. W hat type of code (server or client) is found in a Code-Behind class?
3. Should validation (did the user enter a real date) occur server-side or client-side?
W h y?
4. W hat does the "EnableViewState" property do? W hy would I want it on or off?
5. W hat is the difference between Server.Transfer an d Response.Redirect? W hy
would I choose one over the other?
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?
7. Let's say I have an existing application written using Visual Studio (VB InterDev
and this application utilizes W indows 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?
9. Can you give an example of what might be best suited to place in the
Application_Start and Session_Start subroutines?
10. 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?
11. W hat are ASP.NET W eb Forms? How is this technology different than what is
available though ASP (?
12. How does VB.NET/C# achieve polymorphism?
13. Can you explain what inheritance is and an example of when you might use it?
14. How would you implement inheritance using VB.NET/C#?
15. W hats an assembly?
16. Describe the difference between inline and code behind - which is best in a
loosely coupled solution?
17. Explain what a diffgram is, and a good use for on e?
18. W here would you use an iHTTPModule, and what are the limitations of
anyapproach you might take in implementing one?
19. W hat are the disadvantages of viewstate/what are the benefits?
20. Describe session handling in a webfarm, how does it work and what are the
limits?
21. How would you get ASP.NET running in Apache web servers - why would you
even do this?
22. W hats MSIL, and why should my developers need an appreciation of it if at all?
23. In what order do the events of an ASPX page execute. As a developer is it
important to undertsand these events?
24. W hich method do you invoke on the DataAdapter control to load your generated
dataset with data?
25. Can you edit data in the Repeater control?
26. W hich template must yo u provide, in order to display data in a Repeater control?
27. How can you provide an alternating color scheme in a Repeater control?

No comments: