Saturday 8 January 2011

ASP.NET questions, part 3

1. Explain the .NET architecture.
2. How many languages .NET is supporting now? - When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. The site DotNetLanguages.Net says 44 languages are supported.
3. How is .NET able to support multiple languages? - a language should comply with the Common Language Runtime standard to become a .NET language. In .NET, code is compiled to Microsoft Intermediate Language (MSIL for short). This is called as Managed Code. This Managed code is run in .NET environment. So after compilation to this IL the language is not a barrier. A code can call or use a function written in another language.
4. How ASP .NET different from ASP? - Scripting is separated from the HTML, Code is compiled as a DLL, these DLLs can be executed on the server.
5. Resource Files: How to use the resource files, how to know which language to use?
6. What is smart navigation? - The cursor position is maintained when the page gets refreshed due to the server side validation and the page gets refreshed.
7. What is view state? - The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is done automatically by the ASP.NET. This can be switched off / on for a single control
8. Explain the life cycle of an ASP .NET page.
9. How do you validate the controls in an ASP .NET page? - Using special validation controls that are meant for this. We have Range Validator, Email Validator.
10. Can the validation be done in the server side? Or this can be done only in the Client side? - Client side is done by default. Server side validation is also possible. We can switch off the client side and server side can be done.
11. How to manage pagination in a page? - Using pagination option in DataGrid control. We have to set the number of records for a page, then it takes care of pagination by itself.
12. What is ADO .NET and what is difference between ADO and ADO.NET? - ADO.NET is stateless mechanism. I can treat the ADO.Net as a separate in-memory database where in I can use relationships between the tables and select insert and updates to the database. I can update the actual database as a batch.
13. 1)Explain the life cycle of an ASP .NET page.
2)Explain the .NET architecture.
14. 1) what r object oriented concepts?
a)
15. 2)how do u create multiple inheritance in c# and .net?
a)
16. 3)When web.config is called
a)
17. 4)how many weg.configs a application can have
a)
18. 5)how do u set language in weg.config
a)
19. 6)what does connection string consists of
a)
20. 7)where do u store connection string
a)
21. 8)what is abstract class?
a)
22. 9)what is diff b/w interface inhertance and class inheritance
a)
23. 10)what are the collection classes
a)
24. 11)what are the types of thrading models?
a)
25. 12)what inheritance support vb.net
a)
26. 13)what is runtime host?
a)
27. 14)OOPS CONCEPS
a)
28. 15)optimization technique description
a)
29. 16)diff b/w application and session
a)
30. 17)what is web application virtual directory?
a)
31. 18)diff b/w Active.exe and Dll
a)
32. 19)connection pooling in MTS?
A)
33. 20)if cookies is disabled in client browser will session work
a)
34. 21)how do u make your site SSL enabled
a)
35. 22)did u work an IIS adminstration
a)
36. 23)the following code execute successfully
response.write(“value of i=”+i);
a)
37. 24)what are the provides available with vb.net?
a)
38. 25)what is a Process,Sesion and Cookie.
a)
39. 26)what are Abstrat base classes?
a)
40. 27)what r the diff b/w bstract base classes and Abstrat classes
a)
41. 28)what r interface in .net?
a)
42. 29)how is Polymorphism supports in .net?
a)
43. 30)what r the 2 types of polymorphism supports in .net?
a)
44. 31)types of compatibilities and explain them
a)
45. 32)
what is aggregative? How can it be implements in .net?
46. a)
47. 33)diff b/w COM components and .net components?how to register it
a)
48. 34)diff b/w early binding and late binding?
a)
49. 35)ASP.NET OBJECTS?
A)
50. 36)asp.net life cycle? When request mode
a)
51. 37)bout ado and its objects
a)
52. 38)what is side by side execution
a)
53. 39) what serialization?
a)
54. 40)about a class access specifiers and method acess specifiers
a)
55. 41)what diff b/w overloading and overriding ? how can this be .net
a)
56. 42)about virtual function and then use
a)
57. how do u implement inhetance in .net?
a)
58. 44)if I want to override a method 1 of class A and this class B then how do u declared
a)
59. 45)
About friend and protected friend
a)
60. 46)bout multiple and multi_level Inhertance how to a chive in .net?
a)
61. 47)ALL kind of access specifiers for a class and for methos?
a)
62. 48)on ODP.NET
A)
63. 49)what is nonpderterministic finalization?
a)
64. 50)what is isPostback property?
a)
65. 51)what is dictionary base class?
66. a)
67. 52)how can a class be extended and how is this mechanism difff from that of implementation an interface?
a)
68. 53) What are indexes .net?
a)
69. 54)How can indexeses be implemented in .net?
a)

No comments:

Post a Comment