首页/ 题库 / [单选题]

You are developi的答案

You are developing a Windows Communication Foundation (WCF) service to provide an in-memory cache for many Web applications.The service contract is defined as follows. (Line numbers are included for reference only.)
01 [ServiceContract]
02 public interface IDataCache
03 {
04 ...
05 }06
07
08 public class DataCache : IDataCache
09 {
10 ...
11 }
You need to ensure that all users share the cache.
Which code segment should you insert at line 07?()

单选题
2021-12-31 19:31
A、[ServiceBehavior(TransactionIsolationLevel = IsolationLevel.RepeatableRead)]
B、[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
C、[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)]
D、[ServiceBehavior(TransactionIsolationLevel = IsolationLevel.ReadComitted)]
查看答案

正确答案
B

试题解析

标签: MCTS(70-513)
感兴趣题目

You are developing a Windows Communication Foundation (WCF) service that must be discoverable.You need to ensure that the ServiceHost instance supports multiple discovery versions.
What should you do?()

You are developing a Windows Presentation Foundation (WPF) application
The application is for commercial use and requires a valid license key to be entered. You create a project type of Class Library code to validate license keys
You need to ensure that the user enters a valid license key during installation of the software.
Which deployment should reference the class library?()

You are developing a Windows Communication Foundation (WCF) service that contains the following service contract.[ServiceContract( )]public interface IPaymentService{ [OperationContract( )] void RecordPayments(Person person);}public class Person{ ... }public class Employee : Person{ ... }public class Customer : Person{ ... }You need to ensure that RecordPayments can correctly deserialize into an Employee or a Customer object. What should you do?()
You are developing a Windows Service. The Windows Service will host a Windows Communication Foundation (WCF) service.The Windows Service class will inherit from ServiceBase.You need to ensure that the WCF service starts when the Windows Service is restarted. What should you do in the Windows Service class?()
You are developing a Windows Service. The Windows Service will host a Windows Communication Foundation (WCF) service.The Windows Service class will inherit from ServiceBase.You need to ensure that the WCF service starts when the Windows Service is restarted. What should you do in the Windows Service class?()
As mentioned above, C imposes relatively few built - in ways of doing things on the program- mer. Some common tasks, such as manipulating(66),(67), and doing(68)(I/O), are performed by calling on library functions. Other tasks which you might want to do, such as creating or listing directories, or interacting with a mouse, or displaying windows or other(69)elements, or doing color graphics, are not defined by the C language at all. You can do these things from a C program, of course, but you will be calling on services which are peculiar to your programming environment(70), processor, and operating system)and which are not defined by the C standard. Since this course is about portable C programming, it will also be steering clear of facilities not provided in all C environments.
You are developing a Windows Presentation Foundation (WPF) application for a travel reservation system You need to ensure that users can select a range of travel dates. What should you do ?()
You are developing a custom service host for a Windows Communication Foundation (WCF) service. The service host is named MovieServiceHost.You need to deploy the service with the custom service host in Microsoft Internet Information Services (IIS) 7.0. What should you do?()
You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are developing a Windows Service application which contains three different Windows services. You are required to only set one Windows service to start automatically when the system is restarted. What should you do?()

You are the network administrator for All servers run Windows Server 2003.
You are creating a backup schedule for the main file server.
You need to create a schedule so that backup jobs are completed in the shortest
amount of time possible.
What should you do?()

You are developing a Windows Communication Foundation (WCF) service that is hosted by a Windows Forms Application.The ServiceHost instance is created in the Form Constructor.You need to ensure that the service is not blocked while the UI thread is busy. What should you do?()
【参考范例九】Education Are you with a job or are you studying?
相关题目
The windows that are displayed when you start VB are known as the Visual Basic Integrated Development Environment (IDE).

Suppose you are asked to give advice on whether to attend a vocational college or a university, write an essay to state your opinion. You are required to write at least 150 words but no more than 200 words.

Suppose you are asked to give advice on whether to attend a vocational college or a university, write an essay to state your opinion. You are required to write at least 150 words but no more than 200 words.

You are developing a Windows Presentation Foundation (WPF) application.
You are implementing a test strategy for the application.
You need to ensure that the test class can repeat user input.
From which base class should the test class inherit?()

Are you travelling alone or in a tour group?
You are a student, are you

You are developing a Web application to display products. Products are displayed on different pages on your Web site. You want to create a user control to manage the display of products. You need a default visual implementation of the UI of the user control. In addition, you need to provide developers with the flexibility to change the layout and controls of the UI.
Which three actions should you perform?()

Are you going to borrow a dictionary or a magazine ? -- ____.
As a Ezonexam employee you are the desktop administrator of a Windows 2000 Professional computer.The Windows 2000 Professional computer has 25 MB of free disk space drive C and 800 MB of free disks pace on drive E. You are unable to print large documents because if inadequate disk space on drive C.You want to be able to use the space on drive E to print large documents.What should you do?

You are developing a Windows Communication Foundation (WCF) service. The service operation takes a customer number as the only argument and returns information about the customer. The service requires a security token in the header of the message. You need to create a message contract for the service.
Which code segment should you use?()

You are developing a custom service host for a Windows Communication Foundation (WCF) service. The service host is named MovieServiceHost.You need to deploy the service with the custom service host in Microsoft Internet Information Services (IIS) 7.0.
What should you do?()

You are developing a Windows Service. The Windows Service will host a Windows Communication Foundation (WCF) service.The Windows Service class will inherit from ServiceBase.You need to ensure that the WCF service starts when the Windows Service is restarted.
What should you do in the Windows Service class?()

As a visitor or guest in either a Chinese home or restaurant you will find that()manners are important to the enjoyment of your meals and keep you in high spirits!

You are developing a Windows Presentation Foundation (WPF) application for a travel reservation system
You need to ensure that users can select a range of travel dates.
What should you do ?()

You are developing a Windows Communication Foundation (WCF) service that is hosted by a Windows Forms Application.The ServiceHost instance is created in the Form Constructor.You need to ensure that the service is not blocked while the UI thread is busy.
What should you do?()

You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 Windows Service application and are busy writing the following installation code for the Windows service:
<RunInstallerAttribute(True)> Public Class TestServiceInstaller Implemets Installer
'Additional code to go here
End Class
You are required to install the Windows service and write the values associated with the service in the Windows Registry.
What should you do?()

You use Microsoft .Net Framework 4 to create a Windows Form application.
You created a new application, you then wrote the code below:
Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture
Which of the following options are TRUE? ()

You are developing a Windows Presentation Foundation (WPF) application.
You need to display HTML content from a Web Page on the WPF form. What should you do?()

You are developing a Windows Presentation Foundation (WPF) application.You need to display HTML content from a Web page on the WPF form. What should you do?()

You are developing a Windows Communication Foundation (WCF) service.
You need to enable security auditing for all events.
What should you do?()

广告位招租WX:84302438

免费的网站请分享给朋友吧