What should you do?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application uses the ADO.NET Entity Framework to model entities. The application allows users to make changes to entities while disconnected from the central data store.
You need to ensure that when the user connects to the central data store and retrieves new data, the application meets the following requirements:
Changes made to the local data store in disconnected mode are preserved.
Entities that have already been loaded into the local data store, but have not been modified by the user, are updated with the latest data.
What should you do?
Where should you install the trusted publisher certificate?
You are developing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will run in a partially trusted sandbox. You plan to deploy the application on client computers by using the ClickOnce deployment technology. You plan to sign the deployment and application manifest by using a trusted publisher certificate. You need to ensure that the following requirements are met:
* Users are not prompted for elevated permissions during application deployment.
* The application can request elevated permissions at runtime.
Where should you install the trusted publisher certificate?
What should you do?
You are preparing to deploy an ASP.NET application to a production server by publishing the application in Release configuration.
You need to ensure that the connection string value that is stored in the web.config file is updated to the production server’s connection string value during publishing.
What should you do?
What are two possible ways to achieve this goal?
You create a page in an ASP.NET Web application. The page retrieves and displays data from a Microsoft SQL Server database. You need to create a data source that can connect to the database. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
Which code fragment should you use?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains an ObservableCollection object named Pictures that contains several Picture objects. Each Picture object contains the Name and PictureFilePath properties. You add a ListBox control to the application. You need to ensure that the pictures are displayed in the ListBox control. Which code fragment should you use?
Which deployment method should you choose?
You are deploying an ASP.NET Web application to a remote server.
You need to choose a deployment method that will ensure that all IIS settings, in addition to the Web content, will deploy to the remote server.
Which deployment method should you choose?
What should you do?
You are troubleshooting an ASP.NET Web application. System administrators have recently expanded your web farm from one to two servers. Users are periodically reporting an error message about invalid view state.
You need to fix the problem.
What should you do?
What should you do?
You are designing a sales and inventory tracking system by using Microsoft Visual Studio 2010 and Microsoft SQL Server 2008. The sales, inventory, and shipping tables will reside in different databases on different database servers. You need to ensure that the tables are updated simultaneously. What should you do?
Which two actions should you perform?
You are developing an ASP.NET application by using Visual Studio 2010.
You need to interactively debug the entire application.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
which attribute should you set to true?
You are testing an existing ASP.NET page. The page includes a text You are able to execute malicious JavaScript code by typing it in the text box and submitting. You need to configure the page to prevent JavaScript code from being submitted by the text box. In the @ Page directive, which attribute should you set to true?