Web Technology - WT

advertisement
1. What data types do the asp:RangeValidator control support?
2. Which is stateless?
3. How can you manage client-side state?
4. How can you manage server-side state?
5. Types of Configuration files and their difference?
6. How do you retrieve username in case of Windows Authentication?
7. what is the control for which by default post back is enabled(true)
8. What is HttpHandler?
9. What is EnableViewStateMAC?.
10. Explain what a diffgram is and a good use for one?
11. What is the lifespan for items stored in View State?
12. How to improve performance of web page in asp.net?
13. What are the various ways of authentication techniques in ASP.NET?
14. Do sessions use cookies?
15. Can a user browsing my Web site read my Web.config or Global.asax files?
16. What are different types of directives in .NET?
17. What are the different types of caching?
18. Where do you add an event handler?
19. How to check view state tampering.
20. What’s the difference between System.String and System.StringBuilder classes?
21. Why only boxed types can be unboxed?
22. Between Windows Authentication and SQL Server Authentication, which one is trusted
and which one is untrusted?
23. What’s a bubbled event?
24. What is the difference between Server.Transfer and Response.Redirect?
25. Which of the following controls support databinding.
26. Difference between custom control and user control.
27. What is the difference between Session Cookies and Persistent Cookies?
28. What is Cookie Dictionary?.
29. What are the advantages and disadvantages of Cookies?
30. Difference between ASP and ASP.NET?
31. What is cookie less session? How it works?
32. What method do you use to explicitly kill a users session?
33. What are the different ways you would consider sending data across pages in ASP?
34. What are the disadvantages and benefits of view state?
35. differences between Server-side and Client-side code?
36. What is Role-Based security?
37. What is a master page ?
38. Which of the following does not contain Id and Runat Propertys
39. What is the Default Property of ShowFooter in Gridview
40. Maximum Data that can be stored in a cookie?
41. What is the best state management variable to save the username for particular session?
42. What is the Difference Between string and System.Text.StringBuilder?
43. Should we need to dispose the object after use Explicitly or we need to wait for Garbage
Collector to dispose those object?
44. What is the significance of AutoEventWireUp attribute?
45. Difference between Localization and Globalization?
46. Difference between ASP.Net Website and ASP.Net Web Application?
47. disadvantages of hidden fields?
48. How you will get the current Page Url?
49. Which of the follwoing property has the default property for gridview paging by setting
the 'PageSetting' Property?
50. Which of the follwoing code have to write for cancel Link in gridview?
51. How To Get the Referral page's URL?
52. To send Emails,you need the following classes from the System.Web.Mail
namespace?Name them.
53. What is code-based security?
54. What is the Better approach to redirect on other page within the same server?
Response.Redirect or Server.Transfer
55. Default Mode for Session State?
56. Which is the first event in page life-cycle Event?
57. Name two properties common in every validation control?
58. What is the maximum number of cookies that can be allowed to a web site?
59. How do you explicitly kill a user session?
60. How turn off cookies for one page in your site?
61. What is cross page posting in ASP.NET2.0 ?
62. Suppose Page_load event is defined in aspx page and same page_load event in code
behind. What will happen now? How program will run?
63. Which ADO.NET class allows you to specify SQL text to execute, one or more
parameters and also choose a specific SQL connection to run against?
64. NET class that reads data from a database. Inside this class you need to use a
SqlDataReader to read back any records returned from the database. What property of the
DataReader should you check before attempting to read any records?
65. Which of the following property is used to set a crosspage posting?
66. Which of the following is Default ErrorMode in CustomError tag?
67. Which control is used to display the list of Error Messages in asp.net page
68. Validation Controls are non-visible controls?
69. Which of the following Regular expression is used to validate a 10 digit phone field?
70. If we remove a web.config file from the application , is this application will work?
71. How to send XML file on server using HTTP protocol?
72. What data types do the RangeValidator control support?
73. Where does ASP.Net stores sessionIDs by default?
74. Name of the event that is not fired during page cycle?
75. Name the property to access Referring page URL?
76. Is IIS Mandatory to develop a Web application in ASP.NET 2.0?
77. Which type of control Span is in ASP.NET
78. What is the default authentication system in asp.net web application?
79. What is the Purpose of Server.MapPth?
80. What is Size Limit for Cookies data?
81. What is the Extension of web Service ?
82. Is finally block executed if there is no exception?
83. Which Function is used to count more than two billion rows in a table?
84. Is it Possible to create more than one machine config file.
85. What is the name of base class for .NET
86. What Are The Difference Between AutoEventWireup="true" and
AutoEventWireup="False"?
87. What is Difference between Callbacks and Postback in ASP.NET?
88. What is wrong with this code? Server.transfer("Default.HTML");
89. What if Some one types the URL of web.config file in the browser?
90. Which method of HTTP Handler gets invoked when request is received?
91. What is the name of class from which web pages are inherited?
92. try { Response.Write("Try Block:"); return; } catch (Exception ex) { throw; } finally {
Response.Write("Finally Block"); } What will be the output for the above code?
93. How do you create a permanent cookie?
94. What are the expiration policies for Cached objects?
95. How do you turn off cookies for one page in your site?
96. What's the difference between Codebehind="MyCode.aspx.cs" and
Src="MyCode.aspx.cs"?
97. Can we execute any web site without the web.config file?
98. What is Event Bubbling?(Asp.net)
99. What’s the Difference Between <%# i %> and <%= i %>?
100.
Does SessionID change with every request in the asp.net 2.0 application?
101.
ViewState is encrypted.
102.
You catch an unhandled exception in a Page_Error handler. How can you access
the last error?
103.
How can you detect if a viewstate has been tampered?
104.
Can the App_Code folder contain source code files in different programming
languages?
105.
Which typically consumes more memory: application state or session state?
106.
Which might not work if a user has disabled cookies in his or her Web browser:
application state or session state?
107.
Is view state lost if a user refreshes a Web page? What if the user copies the URL
and open it in other browser?
108.
Which control requires the Web.sitemap file to display site map information?
109.
What is the name of the Web page property that you can query to determine that a
Web page is being requested without data being submitted?
110.
Which of the following browser capabilities can you not check using
Request.Browser?
111.
Which method would you call to send an e-mail message and wait for the
transmission to complete before proceeding?
112.
What type of exception will the runtime throw if the SMTP server rejects a
recipient e-mail address?
113.
Which of the following can be share between two pages.
114.
what is the transport protocol used to call webservise ?
115.
What is LINQ
116.
You need to obtain performance information about your Web Application. You
should use which of the following?
117.
Is it possible to update a connection string stored in the Web.config file
programatically? If Yes, then how?
118.
You catch an unhandled exception in a Page_Error handler. How can you access
the last error?
119.
What is the difference between Postback and callback?
120.
which namespace is used to implement active directory services?
121.
By Default, ASP.NET does not allow HTML tags to be sent to server via client
side due to security reason. Which property needs to be set that allows HTML tags to be
processed by server?
122.
What is the difference between ListBox (Filled with data) and DropDownList
(Filled with data), in terms of SelectedIndex property?
123.
How can you define a control property using a global resource at design time?
124.
If a users has disabled cookies in his browsers, what can be done to enable forms
authentication?
125.
What is a web garden?
126.
What are the main components of IIS 7.0?
127.
What is cross page posting in ASP.NET?
128.
What is difference between ResolveUrl and ResolveClientUrl ? Which do you
prefer to use?
129.
Explain AdRotator control.
130.
What is persistent and non-persistent cookie?
131.
What is difference between System.Web.Caching.Cache and
System.Web.HttpContext.Current.Cache ?
132.
What is Cookie Munging?
133.
What is the difference between Session.Clear() and Session.RemoveAll()
method?
134.
Is it possible to set SessionState to readonly mode? Readonly mode means, we
can only read data from session but we can not write any data in session variable?
135.
When response expires if there are multiple calls to Response.Expires on a single
page?
136.
How many ContentsPlaceHolder Controls contains to the MasterPage by default?
137.
Is it possible to create cookies with keys? Explain using some example.
Download