You are developing a Windows Communication Foundation (WCF) client application. The client application contains the following code. [ServiceContract] public interface ISocialStatus { [OperationContract] [WebInvoke(UriTemplate = "/statuses/update.xml?status-{text}")] void UpdateStatus(string text); } public class SocialClient : ClientBase, ISocialStatus { ... } The configuration file contains the following lines. binding="webHttpBinding" contract="SocialApp.ISocialStatus" bindingConfiguration="BindingConfig" /> You need to ensure that the service is consumed. Which code segment should you use?() [" var client = new SocialClient("SocialClient"); client.Endpoint.Behaviors.Add(new WebHttpBehavior());"," var client = new SocialClient("SocialClient"); client.Endpoint.Behaviors.Add(new WebScriptEnablingBehovior());"," var client = new SocialClient("POST"); client.Endpoint.Behaviors.Add(new WebHttpBehovior());"," var client = new SocialClient("POST"); client.Endpoint.Behaviors.Add(new WebScriptEnablingBehavior())"]
Your network contains an Active Directory domain named contoso.com. The domain contains two sites named Site1 and Site2. The servers for the sites are configured as shown in the following table.Server name Server role Site name Server1 Domain controller, DNS Site1 Server2 DNS Site2 Server1 hosts a standard primary zone for contoso.com. Server2 hosts a secondary zone for contoso.com.You need to ensure that all DNS replication traffic between Server1 and Server2 is encrypted.What should you do?() [" On Server1, configure DNSSEC for the contoso.com zone."," On Server1, convert the contoso.com zone to an Active Directory-integrated zone."," On each server, create connection security rules."," On each server, enable Encrypting File System (EFS) encryption for the contoso.com.dns file."]
钢纤维混凝土制作的原材料应考虑到钢纤维的握裹力,所以集料的最大粒径不超过钢纤维长度的()。 ["1\/3倍","2\/3倍","1倍","1.5倍"]
参照预定的教学目标对学生的学习行为进行价值判断的过程是() ["教学测量","教学评价","教学管理","教学计划"]
从网页布局的解析方式来考察,网页布局的不包括下面哪个选项 () [" 自然布局"," 浮动布局"," 动态布局"," 定位布局"]
养羊业在国民经济中的作用。