PrepAway - Latest Free Exam Questions & Answers

Category: 70-515 (v.3)

Exam 70-515: TS: Web Applications Development with Microsoft .NET Framework 4 (update October 26th, 2015)

Which of the following code segments will you use?

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual
Studio .NET 2010 as its application development platform. You create an ASP.NET Web application
using .NET Framework 4.0. The Web application connects to a SQL Server database. You use the
ADO.NET Entity Framework to handle persistence-ignorant entities. You create an ObjectContext
object named ObjContext. Subsequently, you change properties on numerous entities. You are
required to save the changed entity values in the SQL Server database. Which of the following code
segments will you use?

What will you do to accomplish this?

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual
Studio .NET 2010 as its application development platform. You create an ASP.NET Web application
using .NET Framework 4.0. The ASP.NET application is used to track employee performance. It uses
Microsoft Windows authentication. Employees are members of a group named Employees.
Managers are members of a group named Managers. The root folder of the application is named
Details. The Details folder displays information about employees‘ performance. The Details folder
has a subfolder named MoreDetails. You need to ensure that employees and managers can access
pages stored in the Details folder. However, only managers can access pages stored in the
MoreDetails folder. You make the following entries in the Web.config file in the Details folder. (Line
numbers are given for reference only.)
1 <authentication mode=”Windows” / >
2 <authorization>

3 <allow roles=”Employees, Managers” / >
4 <deny users=”*” />
5 </authorization>
You make the following entries in the Web.config file in the MoreDetails folder. (Line numbers are
given for reference only.)
1 <authentication=”Windows” />
2 <authorization>
3 <allow roles=”Managers” />
4 <deny users=”*” />
5 </authorization>
When managers try to access pages stored in the MoreDetails folder, they receive the following
error message:
“An error occurred during the processing of a configuration file required to service this request.”
You must ensure that managers are able to access pages stored in the MoreDetails folder. What will
you do to accomplish this?

What will you do?

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual
Studio .NET 2010 as its application development platform. You create an ASP.NET Web application
using .NET Framework 4.0. You create a Web page in the application. The Web page will get large
sets of data from a data source. You add a DataPager control to the page. You are required to display
navigation controls that enable you to create a custom paging Ul for the DataPager control. What
will you do?


Page 19 of 26« First...10...1718192021...Last »