Online Access Free 070-515 Exam Questions

Exam Code:070-515
Exam Name:TS: Web Applications Development with Microsoft .NET Framework 4
Certification Provider:Microsoft
Free Question Number:186
Posted:Jun 04, 2026
Rating
100%

Question 1

You are perfoming security testing on an existing asp.net web page.
You notice that you are able to issue unauthorised postback requests to the page.
You need to prevent unauthorised post back requests. which page directive you use?

Question 2

You are implementing an ASP.NET page that hosts a user control named CachedControl.
You need to ensure that the content of the user control is cached for 10 seconds and that it is regenerated
when fetched after the 10 seconds elapse.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Question 3

You are developing an ASP.NET Web application.
Application data is stored in a Microsoft SQL Server 2008 database.
You configure a connection string named cnnContoso.
The application must cache the data that is returned from the database by using this connection string.
You need to ensure that the application checks the database every 10 seconds.
What should you do?

Question 4

You are dynamically adding controls to an ASP.NET page in the Page_Load event handler.
The page will have text boxes that correspond to the columns in a database table.
Each text box will be preceded by a label that displays the name of the corresponding column.
You need to create the form so that when the user clicks the label, the corresponding text box is selected
for input.
What should you do?

Question 5

You create a custom server control named Task that contains the following code segment. (Line numbers are included for reference only.)
01 namespace DevControls
02 {
03 public class Task : WebControl
04 {
05 [DefaultValue("")]
06 public string Title { ... }
07
08 protected override void RenderContents(HtmlTextWriter output)
09 {
10 output.Write(Title);
11 }
12 }
13 }
You need to ensure that adding a Task control from the Toolbox creates markup in the following format.
<Dev:Task ID="Task1" runat="server" Title="New Task" />
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.