. Is it possible to have a static indexer in C?
1. Yes
2.no
3.all of the above
4.None of the mentioned
Posted Date:-2022-02-03 10:03:42
.Give one word: What model does ASP.NET request processing is based on
1.Pipeline
2.Waterfall
3.Top-down
4.Bottom-up
Posted Date:-2022-02-03 10:30:20
.How many classes can a single .NET DLL contain?
1.One
2.Two
3.Three
4.many
Posted Date:-2022-02-03 10:08:50
.Select the output of the statement < form method=post action=â€test.aspx†>
1.Transfers all the form data to test.aspx with HTTP headers
2.Transfers all the form data to test.aspx with out HTTP headers
3.Calls post method on test.aspx
4.none of the above
Posted Date:-2022-02-03 10:26:05
.The number of forms that can be added to a aspx page is
1.2
2.3
3.1
4.None of the mentioned
Posted Date:-2022-02-03 10:20:11
.To set page title dynamically in ASP.NET which of the following is used?
1.< head > section
2.<tail > section
3.<sheet > section
4.none of the above
Posted Date:-2022-02-03 10:36:41
.You are creating a custom control. The UI of the control must contain several text boxes and two buttons. The control must be available in the global assembly cache for reuse across multiple Web applications. You need to achieve this functionality by using the minimum amount of code. What should you do?
1. Create a control that derives from System.Web.UI.Control.
2.Create a control that derives from System.Web.UI.WebControls.CompositeControl.
3. Create a control that derives from System.Web.UI.WebControls.WebControl.
4.Create a control that derives from System.Web.UI.UserControl.
Posted Date:-2022-02-03 10:35:47
A client side already has 25 COM objects and if the requirement is to add a 26th function that must exists only for .NET object without affecting the existing one how to achieve the above?
1.By CCW
2.By RCW
3.By RCA
4.none of the above
Posted Date:-2022-02-03 10:39:50
ASP.NET separates the HTML output from program logic using a feature named as
1.Exception
2.Code-behind
3.Code-front
4.Code-front
Posted Date:-2022-02-03 10:36:11
Caching is considered as the best way to enhance the performance of the application.
1.Yes
2.no
3.all of the above
4.None of the mentioned
Posted Date:-2022-02-03 10:04:41
Can we run asp.net application without WEB.CONFIG file?
1.Yes
2.no
3.all of the above
4.None of the mentioned
Posted Date:-2022-02-03 10:04:24
Does web service have a state?
1.Yes
2.no
3.all of the above
4.None of the mentioned
Posted Date:-2022-02-03 10:06:53
How do you add ASP.Net 3rd party component?
1.By add/Remove items in the project menu
2.Add reference of dll file and place the code where ever required
3.Cannot add 3rd party component to asp.net
4.None of the mentioned
Posted Date:-2022-02-03 10:14:25
How do you turn off the Session state for a webform ?
1.. In Web.config file set the tag to True
2. In Web.config file set the tag to false
3.Set the Session state to false in webform properties window
4.Set the EnableSession state to false in webform properties window
Posted Date:-2022-02-03 10:19:55
If a developer of ASP.NET defines style information in a common location. Then that location is called as
1.Master Page
2.Theme
3. Customization
4.none of the above
Posted Date:-2022-02-03 10:33:56
If one uses ASP.NET configuration system to restrict access which of the following is TRUE?
1.The access is restricted only to ASP.NET files
2.The access is restricted only to static files and non-ASP.NET resources.
3.Both A and B
4.none of the above
Posted Date:-2022-02-03 10:32:01
In an ASP.NET application, can we add more than one WEB.CONFIG files. Can it run?
1.. Yes
2.no
3.all of the above
4.None of the mentioned
Posted Date:-2022-02-03 10:04:04
In ASP.NET if one uses Windows authentication the current request attaches an object called as
1.Serialization
2.WindowsPrincipal
3.WindowDatset
4.none of the above
Posted Date:-2022-02-03 10:28:04
In ASP.NET if you want to allows page developers a way to specify static connections in a content page then the class used is
1.WebPartManager
2. ProxyWebPartManager
3.System.Activator
4.none of the above
Posted Date:-2022-02-03 10:38:53
In ASP.NET page framework an automatic way to associate page events and methods is
1. AutoEventWireup attribute of the Page directive is set to true
2.AutoEventWireup attribute of the Page directive is set to False
3.It is not possible to set automatically page events and methods
4.none of the above
Posted Date:-2022-02-03 10:30:58
In ASP.NET what does the following return < % Response.Write(System.Environment.WorkingSet.ToString())%>
1.Gives the memory working set
2.Return Null value
3.Gives Error
4.Gives Error
Posted Date:-2022-02-03 10:29:56
Is it possible to Override Private Virtual methods.
1.Yes
2.no
3.all of the above
4.None of the mentioned
Posted Date:-2022-02-03 10:06:09
Is it Possible to Serialize HashTable with XMLSerializer?
1.Yes
2.no
3.all of the above
4.None of the mentioned
Posted Date:-2022-02-03 10:18:12
On which of the operating system below ASP.NET can run?
1.Windows XP Professional
2.Windows 2000
3.Both A) and B)
4.none of the above
Posted Date:-2022-02-03 10:27:28
Setting the following properties for object in ASP.NET results in Response.Buffer = True Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0))Response.Expires = 0 Response.CacheControl = "no-cache
1. The session expires
2.Clears the buffer area
3.. Avoid page to be cached
4.none of the above
Posted Date:-2022-02-03 10:39:25
The code will be processed on web server when the runat attribute of the < Script > tag has the following value?
1.Desktop
2. Client
3.Server
4.None of the mentioned
Posted Date:-2022-02-03 10:17:17
The control used in ASP.NET to display information from data set but with better formatting and editing behavior is
1.Panel
2.Button
3.DataList
4.none of the above
Posted Date:-2022-02-03 10:33:25
The default size cache of a 128mb RAM is
1.128mb
2.384mb
3.3.256mb
4.512mb
Posted Date:-2022-02-03 10:06:36
The main event fired when we call bind method in a datagrid
1.First: GridView_DataBinding , Then, GridView_RowCreated
2.First:GridView_RowCreated, Then,GridView_DataBinding
3.GridView_DataBinding
4.First: GridView_DataBinding , Then, GridView_RowCommand
Posted Date:-2022-02-03 10:05:07
The object used by SQL connection to make Security Demands
1.SQLLCientAttribute
2. SQLPermission
3. SQLPermissionClient
4.SQLClientPermission
Posted Date:-2022-02-03 10:19:14
To test a Web service you must create a windows application or Web application to consume this service?
1.True
2.False
3.all of the above
4.None of the mentioned
Posted Date:-2022-02-03 10:05:50
Web Controls Supports CSS
1.True
2.False
3.all of the above
4.None of the mentioned
Posted Date:-2022-02-03 10:09:29
What does Response.End will do?
1. It will stop the server process
2. It will stop the client process
3.None of the above
4.All of the Mentioned
Posted Date:-2022-02-03 10:13:30
What is the advantage of Disconnected mode of ADO.Net in ASP.Net(user data can update and retrieve in dataset and when connection connected, update values with server)
1.Automatically dump data at client PC
2.Not necessary to connect with server
3.user data can update and retrieve in dataset and when connection connected, update values with server
4.All of the above
Posted Date:-2022-02-03 10:18:48
What is the default authentication mode for IIS?
1.Windows
2.Anonymous
3.Basic Authentication
4.None
Posted Date:-2022-02-03 10:16:39
What is the difference between HTTP handlers & HTTP modules?
1.Httphandler is an class and Httpmodule is an assembly
2.Httphandler is an event handler and httpmodule is module to do some task
3. Both of the above
4.none of the above
Posted Date:-2022-02-03 10:17:47
what is the difference between user control and custom control
1.Both can use as drag and drop tool
2.. Both are same
3.Both can use different application
4.One Custom Control can be use in different project but not the same with User control
Posted Date:-2022-02-03 10:10:05
What is the maximum size of query string?
1.384 bytes
2. 128 bytes
3.255 bytes
4. 512 bytes
Posted Date:-2022-02-03 10:07:16
What is the transport protocol you use to call a Web service?
1.HTTP
2.SMTP
3. TCP
4.SOAP
Posted Date:-2022-02-03 10:09:14
Where do you store the information about the user’s locale?
1.System.Web.UI
2.System.Web.UI.Page.Culture
3.System.Web.UI.Page
4. System.Web.Form
Posted Date:-2022-02-03 10:08:01
Which are the components of a strong name?
1.Name of the assembly
2.version number
3.Culture identity
4.All of these
Posted Date:-2022-02-03 10:05:31
Which Namespace is used for event log support?
1.System.Reflection;
2.System.Diagnostics
3. System.Collections
4. System.Web.UI
Posted Date:-2022-02-03 10:07:37
Which of the following can be used to debug .NET application?
1.Visual Studio .NET
2.Runtime Debugger
3.Systems.Diagnostics classes
4.All the above
Posted Date:-2022-02-03 10:31:37
Which of the following extension does a webservice file will have?
1..asmx
2..aspx
3. .ascx
4..resx
Posted Date:-2022-02-03 10:15:16
Which of the following is not a member of ADODBCommand object-?
1.ExecuteReader
2.ExecuteScalar
3.ExecuteStream
4.Open
Posted Date:-2022-02-03 10:11:11
Which of the following languages can be used to write server side scripting in ASP.NET?
1.C#
2.C
3.Visual Basic
4.None of the mentioned
Posted Date:-2022-02-03 10:16:16
You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?
1.. Ensure that the Web control inherits from the WebControl class.
2.Ensure that the Web control inherits from the Control class
3.Ensure that the Web control inherits from the CompositeControl class
4.Ensure that the Web control inherits from the UserControl class.
Posted Date:-2022-02-03 10:35:20
You are creating a Web application that will run on an intranet. The Web application reads comma-delimited text files. The text files reside in a subdirectory below the Web application's root directory. Users must not be able to navigate directly to these files in a Web browser unless they are members of the Accounting role. You need to write an ASP.NET HTTP handler that will use the FileAuthorizationModule class. Which form of authentication should you use?
1.. Anonymous
2.Certificate
3.Forms
4.Microsoft Windows Integrated Security
Posted Date:-2022-02-03 10:27:00
You are transferring records from one database to another. You need to decide whether you can use the SqlBulkCopy class to transfer the records. What should you do?
1.Ensure that the source database is Microsoft SQL Server
2.Ensure that the destination database is Microsoft SQL Server
3.Ensure that the column names in the source table match the column names in the destination
4.Ensure that the bulk copy program (bcp) utility is installed on the destination server
Posted Date:-2022-02-03 10:26:34
You create a Web site. The Web site has many predefined roles and associated users that will be used for security purposes. You need to manage these roles and user accounts.Which tool should you use?
1.the Microsoft .NET Framework Configuration tool
2.the Code Access Security Policy tool
3.the ASP.NET IIS Registration tool
4.the Web Site Administration Tool
Posted Date:-2022-02-03 10:34:33