ASP NET Questions


Q.  You need to initialize some variable only when the first user accesses the application. What should you do?

a. Add code to the Application_OnStart event handler in the Global.asax file.
b. Add code to the Application_BeginRequest event handler in the Global.asax
c. Add code to the Session_OnStart event handler in the Global.asax file
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Which HTML attribute is used to define inline styles?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Using _______ statement is how you test for a specific condition.
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Which of the following is the structure of an if statement?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  The _______ method of an Array object adds and/or removes elements from an array.
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  To set up the window to capture all Click events, we use which of the following statement?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Who is making the Web standards?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Can a data cell contain images?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Which of the following JavaScript cannot do?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Which is the first Internet search engine?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:   _________ keyword is used to declare variables in javascript.
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  The attribute used to define a new namespace is.
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  To enable data tainting, the end user sets the _________ environment variable.
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  When trying to access a URL, the following message is displayed on the browser: Server; Error 403. What could be the reason for the message?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  The general definition of a(n) ____ is a set of linked documents with shared attributes, such as related topics, a similar design, or a shared purpose.
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  From the following options indicate a correct association of the PROMPT, HEAD and RCPT commands with protocols where they are used?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  Assume that an HTML form is designed to purchase the furniture. All the items required are being checked. After selecting the items the payment details are entered and the submit button is pressed. From the following options which one would you prefer to send the data to the server. Assume that all the security is handled.
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  What does error 404 or Not Found error while accessing a URL mean?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  In a Javascript Application what function can be used to send messages to users requesting for an text input?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  If you want to align text to the right side of an block element in a cascading style sheet (CSS) then which of the following property would you use?
Category: Computer Science MCQs,   Published by: teswesm
MCQs:  What are the minimum number of queues required to implement the priority queue?
Category: Computer Science MCQs,   Published by: teswesm