How will you specifying the Cache Location?

Q: How will you specifying the Cache Location?

  1. You can use browser settings to specify where a page is cached.
  2. You can use the Location attribute of the < %@ OutputCache %> directive to specify where a page is cached.
  3. You can use the Location attribute in QueryString to specify where a page is cached.
  4. None of the above.

 

0

In which file you should write the connection string, so you can access it in all the web page for same application?

Q: In which file you should write the connection string, so you can access it in all the web page for same application?

  1. In App_Data folder.
  2. In Web.config file.
  3. In MasterPage file.
  4. None of the above.

 

0

Choose the correct option about the Integrated Security property of connection object.

Q: Choose the correct option about the Integrated Security property of connection object.

  1. If Integrated Security=false then User ID, and Password must be specified in the connection string.
  2. If Integrated Security=true then current Windows account credentials are used for authentication.
  3. Both 1 and 2 option are correct.
  4. None of the above.

 

0

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?

Q: 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?

  1. Login.aspx
  2. LoginPage.aspx
  3. Default.aspx
  4. Auth.aspx

 

0