You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application connects to a Microsoft SQL Server 2008 database. The application uses DataContexts to query the database. You create a function that meets the following requirements: Updates the Customer table on the database when a customer is marked as deleted. Updates the related entries in other tables (CustomerAddress, CustomerContacts) by marking them as deleted. Prevents consumer code from setting the Deleted column's value directly. You need to ensure that the function verifies that customers have no outstanding orders before they are marked as deleted. You also need to ensure that existing applications can use the updated function without requiring changes in the code. What should you do?
You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft SQL Server 2008. The application runs successfully on a local client computer by using your user account. You deploy the database of the application to the production server. You configure the application connection string to use the Windows Authentication mode. You deploy the application to several client computers that use other applications on the network. The client computers access different databases on the production server by using the Windows Authentication mode. Users report that the application is not working and that they receive a database connection exception. You need to identify the source of the problem. What is the source of the problem?
You are packaging updates for multiple Windows Presentation Foundation (WPF) applications by using Microsoft .NET Framework 4. Updates to the applications and to thirdparty control files are available. Updates to the applications have dependencies upon updates to the thirdparty control files. An update script is run at logon that allows only a single command to be executed. You need to package the application updates and updates to the third party controls to ensure that they are successfully installed. What should you do?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. You use the ADO.NET Entity Data Model (EDM) to define a Customer entity. You need to add a new Customer to the data store without setting all the customer's properties. What should you do?
You are creating a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4. You need to ensure that when the user attempts to run the application, the user cannot use the application if a new version of the application is available. What should you do?
You have developed a Windows application by using Microsoft .NET Framework 4, Windows Presentation Foundation (WPF), and Microsoft SQL Server 2008. The application is deployed as an XAML Browser Application (XBAP) and executes in the Internet Zone in Internet Explorer. The application updates data in a SQL Server 2008 database. Users report that a SecurityException exception occurs when the application attempts to save data to the database. You need to design a solution to resolve the problem. 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 manage customer and related order records. You add a new order for an existing customer. You need to associate the Order entity with the Customer entity. What should you do?
You have developed a Windows Forms server application by using Microsoft .NET Framework 4. Client applications connect to the server application to receive streaming media on demand on a single server. Each incoming connection is launched on a separate thread. As the number of client applications increases, users report that connection attempts intermittently fail. You need to ensure that users can connect to the server application even when the number of client applications increases. What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a custom control named Wheel. You need to ensure that the Speed property of Wheel can be animated. What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a property named ServiceContext to a control. You need the value of ServiceContext to flow to the child controls exactly like the value of the DataContext property of the FrameworkElement class. What should you do?