How many classes can a single .NET DLL contain?
1.One
2.Two
3.None
4.many
Posted Date:-2022-02-01 15:39:35
An ASP.NET page uses a Datagrid displays employee information.The Web application supports a large number of concurrent users, who will be saving data from the grid back to the database. It is important that the Web application doesn't overwhelm the Web Server.
1. Disable View State and don't use session state
2.Use View State
3. Use URL munging
4. Disable ViewState and use Session State
Posted Date:-2022-02-01 15:58:27
Explain the significance of Server .MapPath
1. Returns the Virtual Path of the web folder
2. Maps the specified virtual path to Physical path
3. Returns the physical file path that corresponds to virtual specified path
4.All the above
Posted Date:-2022-02-01 15:57:14
In your ASP.NET web application you want to display a list of clients on a Web page. The client list displays 10 clients at a time, and you require the ability to edit the clients. Which Web control is the best choice for this scenario?
1. The DetailsView control
2. The Table control
3. The GridView control
4.The FormView control
Posted Date:-2022-02-01 15:56:26
Select the control which does not have any visible interface.
1. Datalist
2. DropdownList
3.Repeater
4.Datagrid
Posted Date:-2022-02-01 15:52:17
Suppose one wants to modify a SOAP message in a SOAP extension then how this can be achieved. Choose the correct option from below:
1. One must override the method ReceiveMessage
2.One must override the method InitializeMethod
3.Both A. and B.
4. One must override the method ProcessMessage
Posted Date:-2022-02-01 15:40:00
The first event to be triggered in an aspx page is.
1.Page_Load()
2.Page_Init()
3.Page_click()
4.None of the mentioned
Posted Date:-2022-02-01 15:45:07
To add a custom control to a Web form we have to register with.
1. TagPrefix
2.Name space of the dll that is referenced
3. Assemblyname
4. All of the above
Posted Date:-2022-02-01 15:47:05
What is the maximum number of cookies that can be allowed to a web site?
1. 1
2. 10
3.20
4.More than 30
Posted Date:-2022-02-01 15:51:57
What namespace does the Web page belong in the .NET Framework class hierarchy?
1.System.web.UI.Page
2.System.Windows.Page
3. System.Web.page
4.None of the mentioned
Posted Date:-2022-02-01 15:45:45
Which of the following can be used to add alternating color scheme in a Repeater control?
1. AlternatingItemTemplate
2. DataSource
3. ColorValidator
4. None of the above
Posted Date:-2022-02-01 15:40:25
Which of the following denote the property in every validation control?
1.ControlToValidate property
2. Text property
3. Both A. and B.
4. None of the above
Posted Date:-2022-02-01 15:39:15
Which of the following is true?
1.IsPostBack is a method of System.UI.Web.Page class
2.IsPostBack is a method of System.Web.UI.Page class
3. IsPostBack is a readonly property of System.Web.UI.Page class
4.None of the above.
Posted Date:-2022-02-01 15:49:09
Common type system is built into which of the following:
1.CLR
2.RCT
3.RCW
4.GacMgr.exe
Posted Date:-2022-02-01 15:38:02
Custom Controls are derived from which of the classes
1.System.Web.UI.Webcontrol
2. System.Web.UI.Customcontrol
3. System.Web.UI.Customcontrols.Webcontrol
4.None of the mentioned
Posted Date:-2022-02-01 15:47:22
Does the EnableViewState allows the page to save the users input on a form?
1. Yes
2. no
3.all of the above
4.None of the mentioned
Posted Date:-2022-02-01 15:51:29
For your ASP.NET web application your graphics designer created elaborate images that show the product lines of your company. Some of graphics of the product line are rectangular, circular, and others are having complex shapes. You need to use these images as a menu on your Web site. What is the best way of incorporating these images into your Web site?
1. Use ImageButton and use the x- and y-coordinates that are returned when the user clicks to figure out what product line the user clicked.
2. Use the Table, TableRow, and TableCell controls, break the image into pieces that are displayed in the cells, and use the TableCell control’s Click event to identify the product line that was click
3. Use the MultiView control and break up the image into pieces that can be displayed in each View control for each product line. Use the Click event of the View to identify the product line that was cl
4. Use an ImageMap control and define hot spot areas for each of the product lines. Use the PostBackValue to identify the product line that was clicked.
Posted Date:-2022-02-01 15:58:02
How ASP.Net Different from classic ASP?
1.Scripting is separated from the HTML, Code is interpreted seperately
2.Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on server
3. Code is separated from the HTML and interpreted Code is interpreted separately
4.All of the Mentioned
Posted Date:-2022-02-01 15:47:41
How do you explicitly kill a user session?
1. Session.Close( )
2.Session.Discard( )
3. Session.Abandon
4.Session.End
Posted Date:-2022-02-01 15:52:37
How do you manage states in asp.net application
1. Session Objects
2. Application Objects
3. Viewstate
4. All of the above
Posted Date:-2022-02-01 15:49:52
How do you register a user control?
1.Add Tag prefix, Tag name
2.Add Source, Tag prefix
3. Add Src, Tagprefix, Tagname
4.None of the mentioned
Posted Date:-2022-02-01 15:46:20
In ASP.NET the sessions can be dumped by using
1.Session.Dump
2. Session.Abandon
3.Session.Exit
4.none of the above
Posted Date:-2022-02-01 15:43:45
Postback occurs in which of the following forms.
1. Winforms
2. HTMLForms
3. Webforms
4.None of the mentioned
Posted Date:-2022-02-01 15:45:26
Select the caching type supported by ASP.Net
1.Output Caching
2. DataCaching
3.a and b
4.none of the above
Posted Date:-2022-02-01 15:50:35
Select the type Processing model that asp.net simulate
1. Event-driven
2.Static
3. Linear
4.Topdown
Posted Date:-2022-02-01 15:51:14
Suppose a .NET programmer wants to convert an object into a stream of bytes then the process is called ________ ?
1. Serialization
2. Threading
3. RCW
4.AppDomain
Posted Date:-2022-02-01 15:41:10
The actual work process of ASP.NET is taken care by _______?
1. inetinfo.exe
2.aspnet_isapi.dll
3. aspnet_wp.exe
4. None of the above
Posted Date:-2022-02-01 15:38:28
The Asp.net server control, which provides an alternative way of displaying text on web page, is
1. < asp:label >
2. < asp:listitem >
3. < asp:button >
4.None of the mentioned
Posted Date:-2022-02-01 15:44:45
The host for ASP.NET Core web application is configured in _________ file?
1. Program.cs
2.Startup.cs
3.Middleware
4.none of the above
Posted Date:-2022-02-01 16:00:05
The namespace within the Microsoft .NET framework which provides the functionality to implement transaction processing is ....................
1. System.EnterpriseServices
2.System.Security
3. System.Diagnostics
4.System.Data
Posted Date:-2022-02-01 15:41:49
The number of forms that can be added to a aspx page is.
1.1
2.2
3.3
4. More than 3
Posted Date:-2022-02-01 15:49:32
The technique that allow code to make function calls to .NET applications on other processes and on other machines is
1. .NET Threading
2..NET Remoting
3..NET RMT
4. None of the above
Posted Date:-2022-02-01 15:41:29
The type of code found in Code-Behind class is ________ ?
1. Server-side code
2. Client-side code
3.Both A. and B.
4.none of the above
Posted Date:-2022-02-01 15:37:42
There can be more than 1 machine.config file in a system
1. True
2.False
3.SOAP
4.None of the mentioned
Posted Date:-2022-02-01 15:48:30
What is the extension of a web user control file?
1..Asmx
2..Ascx
3. .Aspx
4.None of the mentioned
Posted Date:-2022-02-01 15:48:47
What tags one need to add within the asp:datagrid tags to bind columns manually?
1.Set AutoGenerateColumns Property to false on the datagrid tag
2. Set AutoGenerateColumns Property to true on the datagrid tag
3.It is not possible to do the operation
4.Set AutomaunalColumns Property to true on the datagrid tag
Posted Date:-2022-02-01 15:42:59
What's the difference between Response.Write() andResponse.Output.Write()?
1.Response.Output.Write() allows you to flush output
2.Response.Output.Write() allows you to buffer output
3.Response.Output.Write() allows you to write formatted output
4. Response.Output.Write() allows you to stream output
Posted Date:-2022-02-01 15:48:01
When an .aspx page is requested from the web server, the out put will be rendered to browser in following format.
1.HTML
2.XML
3. WML
4.jsp
Posted Date:-2022-02-01 15:44:27
Where is the default Session data is stored in ASP.Net?
1. InProcess
2.StateServer
3.Session Object
4.all of the above
Posted Date:-2022-02-01 15:50:55
Which method do you invoke on the Data Adapter control to load your generated dataset?
1. Fill( )
2. ExecuteQuery( )
3.Read( )
4.None of the mentioned
Posted Date:-2022-02-01 15:46:01
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
1.Load ( )
2. Fill( )
3.DataList
4.DataBind
Posted Date:-2022-02-01 15:43:23
Which of the following allow writing formatted output?
1. Response.Write()
2.Response.Output.Write()
3.Both A. and B.
4.none of the above
Posted Date:-2022-02-01 15:38:54
Which of the following is TRUE about Windows Authentication in ASP.NET?
1. Automatically determines role membership
2.Role membership determined only by user programming
3.ASP.NET does not support Windows Authentication
4. None of the above
Posted Date:-2022-02-01 15:42:29
Which of the following is true?
1.User controls are displayed correctly in the Visual Studio .NET Designer
2.Custom controls are displayed correctly in VS.Net Designer
3.User and Custom controls are displayed correctly in the Visual Studio .NET Designer.
4.None of the above.
Posted Date:-2022-02-01 15:46:42
Which of the following languages can be used to write server side scripting in ASP.NET?
1.C-sharp
2. VB
3. C++
4. A and B
Posted Date:-2022-02-01 15:44:03
Which of the following method is used to obtain details about information types of assembly?
1. GetTypes
2. GetType
3. Both A. and B.
4.none of the above
Posted Date:-2022-02-01 15:42:09
Which one of the following namespaces contains the definition for IdbConnection?
1.System.Data.Interfaces
2.System.Data.Common
3. System.Data
4. System.Data.Connection
Posted Date:-2022-02-01 15:56:02
Which property of the session object is used to set the local identifier?
1. SessionId
2.LCID
3. Item
4. Key
Posted Date:-2022-02-01 15:50:13
You need to store state data that is accessible to any user who connects to your Web application. Which object should you use?
1. Session
2.Application
3. Response.Cookies
4.Response.ViewState
Posted Date:-2022-02-01 15:56:53
_______ element in the web.config file to run code using the permissions of a specific user
1. < credential> element
2. < authentication> element
3. < authorization> element
4. < identity> element
Posted Date:-2022-02-01 15:57:34