What is the default authentication mode for iis
Skill/topic: intermediatea) windowsb) anonymousc) basic authenticationd) none
What is the extension of a web user control file ?
Skill/topic: beginnera) .Asmxb) . Ascxc) .Aspx
B) .ascx
This extension is used for Web Forms User Controls.
Ascx
How do you manage states in ASP.Net application
Skill/topic: intermediatea) session objectsb) application objectsc) viewstated) cookiese) all of the above
E.All of the above
session object
Skill/topic: intermediatea) trueb) false
A) true
CSS means Cascading Style Sheets
eg. if we want to set color of a label control we can use CSS styles directly in our control tag.
Which of the following extension does a webservice file will have
Skill/topic: advanceda) .Asmxb) .Aspxc) .Ascxd) .Resx
Web services in Asp.net are identified on files with the .asmx file extention.
.Asmx
Which property of the session object is used to set the local identifier ?
Skill/topic: intermediatea) sessionidb) lcidc) itemd) key
B) LCID
LCID is an attribute and its value is any valid local identifier. It is used to set local identifier for a page.
LCID
What is the use of adrotater control?
The AdRotator control is used to display a random selection from a collection of banner advertisements specified in an XML based advertisement file.
Adrotator is use for advertiesment purpose. If you want to show some images alternately for advertiesment purpose then adrotator is use.
A web application running on multiple servers is called as
Skill/topic: beginnera) webformb) webfarmc) website
B) Webfarm
A) WebFarm
Why we write "runat=server" in ASP.Net controls?
This means that we are using server control and validation is done at server side.
Postback occurs in which of the following forms
Skill/topic: beginnera) winformsb) HTMLformsc) webforms
A) Winforms
WebForms
Is it mandatory to have web.Config file for ASP.Net application?
No it is not mandatory to have web.config file in the web application Because when you create the applications in ASP.net machine.config file will automatically override the web.config file..........
The best way to delimit ASP.Net code from HTML code in your pages is by using --------------- tags.
Skill/topic: beginnera) < body >b) < head >c) < script >
C
< Script >
Explicitly kill a user session
How do you explicitly kill a user session?
Session.Abandon()
Which of the following are not a member of server object
Skill/topic: advanceda) executeb) transferc) opend) HTMLdecode
c) Open
C) Open
Which one of the following namespaces contains the definition for idbconnection
Skill/topic: advanceda) system.Data.Interfacesb) system.Data.Commonc) system.Datad) system.Data.Connection
C) System.Data
System.Data.Common
Which objects is used to create foreign key between tables?
Skill/topic: advanceda) datarelationb) datarelationshipc) dataconstraintd) datakey
A) DataRelation
DATA RELATION is the correct answerThe below lines gives the reason:-DataRelation:-A link between two datatable classes within a dataset class. Used for foreign key and master /detail relationship.(For further clarification refer to Wrox Publication C# Professional third edition Page 687)
Which of these namespaces used for fileaccess
Skill/topic: beginnera) system.Iob) system.Io.Isolatedstoragec) system.Directoryservicesd) all of these
A. System.IO
System.IO
App_code folder in ASP.Net 2.0
What is the purpose of app_code folder in ASP.Net 2.0?
I've class files from outside the app_code directory .. you have given the answer without store class files inside the app_code directory cant create dll while runtime..i can access my class file from our site or not also while runtime dll will create for my class file or will not create
The App_Code folder is meant to store your classes, .wsdl files, and typed datasets. Any of these items stored in this folder are then automatically available to all the pages within your solution. Th...
Where do you store the information about the user locale
Skill/topic: intermediatea) system.Userb) system.Webc) system.Drawingd) system.Web.Ui.Page.Culture
D) System.Web.UI.Page.Culture
option D: SYSTEM.WEB.UI.PAGE.CULTURE
What is the lifespan for items stored in viewstate
Skill/topic: advanceda) exists for the life of the current pageb) 20 minsc) 2 minsd) 2 sec
1:Exists for the life of the current page(to the same page).
Exists for the Life of the current page
Anonymous
B) Anonymous