following languages can be used to write server side scripting in [Link] = 1. C# 2.
Visual Basic
The Following are the minimum requirement to run [Link] pages =ANS – common language runtime
What executable unit gets created when we build an [Link] application = Ans- .DLL
The best way to delimit [Link] code from HTML code in your pages is using ------tags= Ans – <script>
The code will be processed on web server when the runat attribute of the < Script > tag has the following value. = Ans
– server
The [Link] server control, which provides an alternative way of displaying text on web page, is
Ans - <asp:label>
asp:dropdownlist> tag replaces which of the HTML tags = ans-<select>
The first event to be triggered in an aspx page is = Ans – Page_Init()
Postback occurs in which of the following forms = ans – webforms
what namespace does the Web page belong in the .NET Framework class hierarchy?
ans- [Link]
How many configuration files can an [Link] projects have? =Ans – more than one
How do you register a user control? = Ans- add src, tagprefix,tagname
How do you post the current page to a different aspx page ?
Ans - FORM ACTION="[Link]" RUNAT="server" method="post"
Which of these namespaces used for FileAccess= Ans- [Link]
To add a custom control to a Web form we have to register with =TagPrefix, Name space of the dll that is
referenced, Assemblyname
Custom Controls are derived from which of the classes =Ans – [Link]
A web application running on multiple servers is called as = Ans- webfarm
What is the transport protocol used to call a webservice= Ans – soap
Why is [Link] is used = Ans – Implement application and session level events
What is the extension of a web user control file ? = Ans- .ascx
Which of the following is true ?= Ans- IsPostBack is a readonly property of [Link] class
The number of forms that can be added to a aspx page is =Ans – 1
How do you manage states in [Link] application = Ans- Session Objects , application Objects ,Viewstate, Cookies
The interface used by [Link] to create Unique Id’s? = Ans- [Link]
Which property of the session object is used to set the local identifier ? = Ans- lcid
Select the caching type supported by [Link]= Ans = Output Caching, DataCaching
Where is the default Session data is stored in [Link] = Ans- inprocess
How do you disable client side validation ? = Ans – Set the ClientTarget property to Downlevel
Select the validation control used for “PatternMatching”= Ans- RegularExpressionValidator
How do you trace the application_End event on runtime? =Ans – cannot be done
How do you turn off the Session state for a webform ?
Ans- Set the EnableSession state to false in webform properties window
Select the type Processing model that [Link] simulate = Ans- event-driven
Session Object classes are defined in which of the following namespace?
Ans – [Link]
Which DLL translate XML to SQL in IIS= Ans- [Link]
What is the default authentication mode for IIS =Ans – anonymous
Which of the following is not a valid state management tool? =Ans – querystate
What is the maximum number of cookies that can be allowed to a web site =Ans – 20
Select the control which does not have any visible or in-built interface = Ans- repeater
How do you explicitly kill a user’s session ? =Ans – [Link]
What does [Link] will do? = Ans- It will stop the server process
Which control supports paging = Ans- datagrid
Where do you store the information about the user locale = Ans- [Link]
What is a satallite assembly ? = Ans –An Assembly containing localized resources for another assembly
Whch of the following is not a member of Response Object? = Ans – execute
The object used by SQL connection to make Security Demands = Ans- sqlclientpermission
Which of the following is not a member of ADODBCommand object = Ans – executestream
Which method do you invoke on the DataAdapter control to load your generated dataset with data? = Ans – fill
How to open more than one datareader at a time= Ans – Use different datareader and connection variable
Which objects is used to create foreign key between tables? =Ans – datarelation
Select the Interface which provides Fast, connected forward-only access to data = Ans – idatareader
How do we Delete, Update, Select data in a Dataset= Ans – using sqldataadapter
Which of the following is not a member of ConnectionObject = Ans – execute
Which method do you invoke on the Data Adapter control to load your generated dataset =ANS) Fill ( )
What is a strong name? Ans – c- Combination Of both Public,Private key and digital signature
What is the lifespan for items stored in viewstate =Ans - Exists for the Life of the current page
What data types do a Rangevalidator supports =ANS ) Integer, String C) Date
Select the output of the statement < form method=post action=”[Link]” >
Ans – Transfers all the form data to [Link] with HTTP headers
What is the significance of Server .MapPath = Ans) Returns the physical file path that corresponds to virtual specified path
Which namespace allows us to formauthentication ? = Ans – [Link]