You need to ensure that a page named 404.aspx is displayed for every 404 error on a Web site.
What should you do?
Answer : D
Which client-side scripting language has the broadest browser support?
Answer : D
You need to write code that checks to see if the webpage has been posted back to the web server.
In which webpage lifecycle event should you insert the code?
Instructions: To answer, select the appropriate page lifecycle event in the answer area.
Answer :
You are using a SqIDataSource object- The SqlDataSource object must pass the value of an <asp:TextBox> control to a stored procedure in its SELECT command.
You need to extract the value of the text box.
Which parameter type should you use?
Answer : C
You create a webpage that displays recipes. You develop code that optimizes how the webpage is rendered for different web browsers.
You need to ensure that the web server caches a version of the page for the major version of each different web browser type that requests the webpage.
Which attribute of the page OutputCache directive should you use?
Answer : A
Explanation: You can vary caching of user-control output in two ways:
* Specify the user control name along with either a query string or a form POST parameter.
You can do this declaratively using the VaryByParam attribute of the @ OutputCache directive. Alternatively, you can do it programmatically by setting VaryByParams property in the PartialCachingAttribute in the user control's code.
* Specify the ID property of an ASP.NET server control contained in the user control. You can do this declaratively using the VaryByControl attribute. Alternatively, you can do it programmatically by setting the VaryByControls property in the PartialCachingAttribute.
Reference: How to: Cache Multiple Versions of a User Control Based on Parameters
A webpage contains the following HTML markup:
Answer :
A web server includes two web applications named WebApp1 and WebApp2. The
WebApp2 and SubPage2 folders each contain a Web.config file. Each configuration file contains an authorization element. The configuration is shown below:
Answer :
In addition to SQL Server authentication, which type of authentication does Mixed Mode authentication support?
Answer : A
You are creating an application that will access an external Web service.
By default, which port will be open in the firewall to allow the application to communicate with the Web service?
Answer : C
You have a custom webpage that is published on the Internet. The webpage includes unique code that is compiled into the CustomCode.dll file.
Where should you deploy the CustomCode.dll file?
Answer : D
Explanation: ASP.NET Web Pages - Publishing the Website
The DLL Files -
Make sure the bin folder, on your remote hosting computer, contains the same dll files as on your development computer.
Which HTML tag should you use to apply an internal style section to a Web page?
Answer : D
The purpose of SQL Server connection pooling is to:
Answer : B
You need to create the following table.
Answer : A
A Windows Communication Foundation (WCF) data contract is a/an:
Answer : C
You are publishing your website to a web server. The website shares a library of code with other websites.
Where should you deploy the shared library?
Answer : B
Have any questions or issues ? Please dont hesitate to contact us