ASP.NET INTERVIEW QUESTION & ANSWERS
116. |
How do we assign page specific attributes? |
|
Page attributes are specified using the @page directive. |
117. |
What is the difference between Custom Control and User Control? |
|
Custom Controls are compiled code (Dlls), easier to use, difficult to create, and can be placed in toolbox. Drag and Drop controls. Attributes can be set visually at design time. Can be used by Multiple Applications (If Shared Dlls), Even if Private can copy to bin directory of web application add reference and use. Normally designed to provide common functionality independent of consuming Application. User Controls are similar to those of ASP include files, easy to create, can not be placed in the toolbox and dragged - dropped from it. A User Control is shared among the single application files. |
118. |
What platforms do .NET XML Web Services run on? |
|
Currently, they're supported on Windows 2000 and Windows XP. ASP.NET integrates with Internet Information Server (IIS) and thus requires that IIS be installed. It runs on server and non-server editions of Windows 2000 and XP as long as IIS is installed. |
119. |
What is Internet Information Services, and what's it used for? |
|
Internet Information Services (IIS) is a Web server used to run Internet applications. |
120. |
Does every ASP.NET page require you to implement the Page_ Load event? |
|
No, you don't have to implement the Page_ Load event. You should implement this method when you must perform some kind of work before the page is rendered. |