Downloadable of 70-517 free download materials and testing software for Microsoft certification for IT examinee, Real Success Guaranteed with Updated 70-517 pdf dumps vce Materials. 100% PASS Recertification for MCSD: SharePoint Applications exam Today!

Q17. You are developing an ASP.NET MVC application in Visual Studio 2012. The application supports multiple cultures.

The application contains three resource files in the Resources directory:

✑ ProductDictionary.resx

✑ ProductDictionary.es.resx

✑ ProductDictionary.fr.resx

Each file contains a public resource named Currency with the localized currency symbol. The application is configured to set the culture based on the client browser settings.

The application contains a controller with the action defined in the following code segment. (Line numbers are included for reference only.)

You need to set ViewBag.LocalizedCurrency to the localized currency contained in the resource files.

Which code segment should you add to the action at line 03?

A. ViewBag.LocaIizedCurrency = Resources.ProductDictionary.Currency;

B. VievBag.LocalizedCurrency = HttpContext.GetGlobalResourceObject("ProductDictionary", "Currency", new System.Globalization.CultureInfo(Men"));

C. VievBag.LocalizedCurrency = HttpContext.GetLocalResourceObject("ProductDictionary", "Currency");

D. ViewBag.LocalizedCurrency = HttpContext.GetGlobalResourceObject("ProductDictionary", "Currency");

Answer: A


Q18. DRAG DROP 

You work on a SharePoint Enterprise Content Management (ECM) project. You develop the Litware Document Approval workflow that enables a group of people to review, approve, or reject documents and document changes.

You need to assign the Litware Document Approval workflow to the Document content type.

How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

Answer:


Q19. You need to print out the terms and term sets for the Document Library app named Project Documents.

What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Insert the following code segment at line DL59: Console.WriteLine("TermSet : = + termSet.Name + " Term : " + term.Name);

B. Insert the following code segment at line DL70: Console.WriteLine("TermSet : " + termSet.Name);

C. Insert the following code segment at line DL35:

TaxonomySession taxonomy = TaxonomySession.GetTaxonomySession(clientContext);

D. Insert the following code segment at line DL56: Console.WriteLine("TermSet : " + termSet.Name);

E. Insert the following code segment at line DL35:

TaxonomyItem taxonomy = TaxonomySession.GetTaxonomySession(clientContext);

Answer: A,E 

Explanation:

From scenario:

/ You must develop a console app to print the current term sets and each root term for the app by using the following style: TermSet : name Term : name

/ You must create a Department term set to store team member roles and organize them by department types. The import file for the Department term set is the default for all new projects. The import file contains terms for System Architect, Programmer, Producer, and Manager. Each term is contained within two parent groups, Engineering or Production.

Managers are members of the Production group only. All of the parent groups use a shared root-level term.


Q20. HOTSPOT 

Contoso, Ltd. is integrating an Enterprise Resource Planning (ERP) system with SharePoint by using Business Connectivity Services (BCS). The ERP system is a Windows Communication Foundation (WCF) service that is hosted in Internet Information Services (IIS). The WCF service is named people.svc and is located at http://contoso.com:8080. The metadata for the service is found at http://contoso.com:808/mex.

You need to create a data connection for the ERP system.

In the WCF Connection dialog box, how should you configure the connection to the WCF service? (To answer, select the appropriate option from each drop-down list in the answer area.)

Answer:


Q21. DRAG DROP 

You need to implement the Views\RunLog\_CalculatePace.cshtml partial view from Views\Runlog \GetLog.cshtml to display the runner's average mile pace.

How should you implement the view? (To answer, drag the appropriate code segments to the correct location or locations. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

Answer:


Q22. You develop a SharePoint-hosted app. The app includes the following code segment: (Line numbers are included for reference only.)

The app must display user profile data for the user that is logged in. The user profile data must include the PreferredName, Department, and WorkPhone properties.

You need to ensure that the app displays the required user profile data. Which code segment should you insert at line 12?

A. var a = new SP.UserProfiles.UserProfile();

B. var a = new SP.UserProfiles.SocialFollowingManager(context);

C. var a = SP.UserProfiles.Profileloader.GetProfileLoader(context);

D. var a = new SP.UserProfiles.PeopleManager(context);

Answer: D


Q23. You are developing an ASP.NET MVC web application in Visual Studio 2012. The application requires several thousand content files. All content is hosted on the same IIS instance as the application.

You detect performance issues when the application starts. You need to resolve the performance issues.

What should you do?

A. Enable compression in IIS.

B. Move the content to a second server.

C. Combine the content files by using ASP.NET MVC bundling.

D. Implement HTTP caching in IIS.

Answer: C


Q24. HOTSPOT 

You implement eDiscovery in SharePoint to access Exchange Online mailbox data.

You need to ensure that users continue to have access to Exchange Online mailbox data after an In-Place Hold is applied.

On the Exchange admin center page, which option should you select? (To answer, select the appropriate option in the answer area.)

Answer: