Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

» ASP.NET solved MCQs

What is the recommended method for securing sensitive connection string information?

Question:

What is the recommended method for securing sensitive connection string information?

A.

Encrypting the data in the application configuration file

B.

Using a code obfuscator

C.

Using Integrated Security (Windows Authentication)

D.

Querying the user for his or her credentials at run time

Answer» c. Using Integrated Security (Windows Authentication)

Note: The above multiple-choice question is for all general and Competitive Exams in India

What is the recommended method for securing sensitive connection string information? Read More »

» ASP.NET solved MCQs

How to implement authentication via web.config?

Question:

How to implement authentication via web.config?

A.

Include the authentication element.

B.

Include the authorization element.

C.

Include the identity element.

D.

Include the deny element.

Answer» b. Include the authorization element.

Note: The above multiple-choice question is for all general and Competitive Exams in India

How to implement authentication via web.config? Read More »

» ASP.NET solved MCQs

You use the ASP.NET Web Site Administration Tool to configure ASP.NET membership with forms authentication. What should you name your login form so that you do not have to modify the Web.config file?

Question:

You use the ASP.NET Web Site Administration Tool to configure ASP.NET membership with forms authentication. What should you name your login form so that you do not have to modify the Web.config file?

A.

Login.aspx

B.

LoginPage.aspx

C.

Default.aspx

D.

Auth.aspx

Answer» a. Login.aspx

Note: The above multiple-choice question is for all general and Competitive Exams in India

You use the ASP.NET Web Site Administration Tool to configure ASP.NET membership with forms authentication. What should you name your login form so that you do not have to modify the Web.config file? Read More »

» ASP.NET solved MCQs

What is the fully qualified name of the base class of all server controls?

Question:

What is the fully qualified name of the base class of all server controls?

A.

System.Web.UI.Control

B.

System.Web.UI

C.

System.Control

D.

All of the above

Answer» a. System.Web.UI.Control

Note: The above multiple-choice question is for all general and Competitive Exams in India

What is the fully qualified name of the base class of all server controls? Read More »

» ASP.NET solved MCQs

Which file is used to write the code to respond to the Application_Start event?

Question:

Which file is used to write the code to respond to the Application_Start event?

A.

Any ASP.NET web page with an .aspx extension

B.

Web.config

C.

Global.asax

D.

Web.UI

Answer» c. Global.asax

Note: The above multiple-choice question is for all general and Competitive Exams in India

Which file is used to write the code to respond to the Application_Start event? Read More »

» ASP.NET solved MCQs

Which of the following are required to enable users to change the title of web part?

Question:

Which of the following are required to enable users to change the title of web part?

A.

CatalogZone

B.

TitleZone

C.

EditorZone, AppearanceEditorPart

D.

WebPart

Answer» c. EditorZone, AppearanceEditorPart

Note: The above multiple-choice question is for all general and Competitive Exams in India

Which of the following are required to enable users to change the title of web part? Read More »

» ASP.NET solved MCQs