Microsoft TS: Web Applications Development with Microsoft .NET Framework 4 - 70-515무료 덤프문제 풀어보기

You create a Web page named TestPage.aspx and a user control named contained in a file named
TestUserControl.ascx.
You need to dynamically add TestUserControl.ascx to TestPage.aspx.
Which code segment should you use?

정답: D
Which method of the Page class searches the page naming container for a server control with a particular identifer?

정답: B
You are developing an ASP.NET web page that includes a text box control.
The page includes a server-side method named ValidateValue.
You need to configure the page so that the text box value is validated by using the ValidateValue method.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

정답: B,D
설명: (Fast2test 회원만 볼 수 있음)
You are developing an ASP.NET Web application.
The application includes a Icomparer<string> implementation named CaseInsensitiveComparer that
compares strings without case sensitivity
You add the following method.(Line numbers are included for reference only.)
01 public IEnumerable<string>SortWords(string[] words)
02 {
03
04 }
You need to sort the array by word length and then by alphabetic order, ignoring case.
Which code segment should you add at line 03?

정답: A
You are developing an ASP.NET MVC 2 application.
A view contains a form that allows users to submit their first name.
You need to display the value that is submitted, and you must ensure that your code avoids cross-site
scripting.
Which code segment should you use?

정답: A
설명: (Fast2test 회원만 볼 수 있음)
You are developing an ASP.NET web page named WebPage.aspx.
The page includes a user control named UserInfoControl.ascx.
You need to expose a control property named FirstName and read its value from the page.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

정답: A,C
Gridview: How to change the image of an image control place in each row in a gridview:

정답: B
You are developing an ASP.NET MVC 2 Web Application that displays daily blog posts.
Visitors access a blog post page by using a Web address to pass in the year, month, and day -for example,
contoso.com/2010/07/20.
The application must register the appropriate route to use the Display action of the blog controller.
Only page visits with a four digit year, two-digit month and two-digit dat can be passed to the action.
You need to ensure that the route is registered correctly,
Which code segment should you add?

정답: C
You create a new ASP.NET MVC 2 Web application.
The following default routes are created in the Global.asax.cs file. (Line numbers are included for reference
only.)
01 public static void RegisterRoutes(RouteCollection routes)
02 {
03 routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
05 routes.MapRoute("Default", "{controller}/{action}/{id}", new {controller
= "Home", action = "Index", id = ""});
06 }
You implement a controller named HomeController that includes methods with the following signatures.
public ActionResult About() public ActionResult Index() public ActionResult Details(int id)
You need to ensure that the About action is invoked when the root URL of the site is accessed. What should you do?

정답: B
You are developing an ASP.NET templated server control.
You need to ensure that a new ID namespace is created within the page control hierarchy when the control
is added to a page.
Which interface should you implement on the control?

정답: B
You are implementing an ASP.NET application that includes the following requirements.
Retrieve the number of active bugs from the cache, if the number is present.
If the number is not found in the cache, call a method named GetActiveBugs, and save the result under the
ActiveBugs cache key.
Ensure that cached data expires after 30 seconds.
You need to add code to fulfill the requirements.
Which code segment should you add?

정답: A
You create a Web page that contains the following image element.
<img id="myImage" src="/image1.png" />
You need to write a JavaScript function that will dynamically change which image is displayed. Which code segment should you use?

정답: A
You are developing an ASP.NET web page.
The page includes the following EntityDataSource control:
<asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name=AdventureWorksEntities" DefaultContainerName="AdventureWorksEntities" EnableFlattening="False" EntitySetName="Products" />
The page must filter the data that is displayed in a grid on a query string parameter named ProductPrefix. The grid must display products whose ProductName starts with the query string value.
You need to ensure that the page generates the appropriate database query.
What should you do?

정답: A
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?

정답: A
You are implementing an ASP. NET MVC 2 Web application.
You add a controller named CompanyController.
You need to modify the application to handle the URL path /company/info.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

정답: A,D

우리와 연락하기

문의할 점이 있으시면 메일을 보내오세요. 12시간이내에 답장드리도록 하고 있습니다.

근무시간: ( UTC+9 ) 9:00-24:00
월요일~토요일

서포트: 바로 연락하기 

English Deutsch 繁体中文 日本語