单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You use the ClickOnce deployment methodology to distribute the application.
You need to store application-specific data along with read/write permissions without requiring elevated permissions for the application.
Where should you store the application data?()
A. In isolated storage.
B. On the database server.
C. In the ClickOnce data directory.
D. In the App.config file of the application.
相关考题
-
单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application requires frequent updates. You want to use the ClickOnce technology to distribute the application to Internet users. You need to ensure that the application is automatically updated without requiring user intervention. You also need to ensure that the users execute the most recent version of the application. What should you do when you publish the application? ()
A. Use Install the application from a file share. Select the Application is available online and offline option.
B. Use Install the application from CD-ROM or a DVD-ROM. Select the Application will not check for updates option.
C. Use Install the application from a Web site. Select the Application is available online only option.
D. Use Install the application from a Web site. Select the Application is available online and offline option. -
单项选择题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to use a PresentationTraceSources object when the application is executed by users. When the application is executed in a test environment, all debug information is successfully captured. You need to be able to capture debug information when the application is deployed. What should you do?()
A. Enable WPF tracing in the registry.Restart the application.
B. Enable tracing by modifying local Group Policy.Restart the application.
C. Open the XML configuration file for your application on the user's computer.Set tracing to a verbose level.Restart the application.
D. Open the XML configuration file for your application on the user's computer.Add a trace listener.Restart the application. -
单项选择题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment to bind a customer object to several controls in a window. You need to identify the source of the error. What should you do?()
A. Use a Trace object.
B. Use a Debug object.
C. Use the WPF Visualizer.
D. Use a PresentationTraceSources object.
