You are developing a Windows Communication Foundation (WCF) service that will be hosted in Microsoft Internet Information Services (IIS) 7.0.The service must be hosted in an lIS application named Info. You need to enable this service to be hosted in llS by changing the web.config file.Which XML segment should you add to the web.config file?()
A.
B.
C.
D.
第1题
eb application. You define a number of properties that the user can set at design time. You need to group these properties in the Properties dialog box. In addition, you need to ensure that when users click on a particular property, they receive a short explanation of that property. The properties are shown in the exhibit. Which two actions should you perform?()
A. Attach the Category attribute class to the controls class definition. Set its value to UserAddress. Mark the class as public.
B. Attach the Browsable attribute class to each property in the group. Set its value to True. Mark the property as private.
C. Attach the Category attribute class to each property in the group. Set its value to UserAddress. Mark the property as public.
D. Attach the Description attribute class to each property in the group. Set each value to a description of the given property.
E. Attach the DefaultProperty attribute class to each property in the group. Set each value to a description of the given property.
第2题
A. NetTcpContextBinding
B. BasicHttpContextBinding
C. NetTcpBinding
D. NetMsmqBinding
第3题
m 对象具有下面列出的公共属性。* Name* AisleNumber* OnDiscount你要使您的类来循环访问 ShoppingList 集合中,并列出每个产品的Name和AisleNumber,使用 foreach 语句。要实现这一目标的声明相应的代码。您应该使用哪个代码?()
A.
B.
C.
D.
第4题
YoucreateMicrosoftWindows-basedapplications.Youcreateanapplicationthatrequiresuserstobeauthenticatedbyadomaincontroller.Theapplicationcontainsaseriesofprocessorintensivemethodcallsthatrequiredifferentdatabaseconnections.Abugisreportedduringtesting.Thebugdescriptionstatesthattheapplicationhangsduringoneoftheprocessor-intensivecallsmorethan50percentofthetimeswhenthemethodisexecuted.Yourunittestforthesamemethodwassuccessful.Youneedtoreproducethebug.Whichtwofactorsshouldyouascertainfromthetester?()
第5题
A.应使用 System.Collections.Generic.SortedList 类
B.应使用 System.Collections.HashTable 类
C.应使用 System.Collections.Generic.SortedDictionary 类
D.应使用 System.Collections.SortedList 类
第6题
achtimetheAddFilebuttonisclicked,anewdivelementiscreated.ThenewdivelementisappendedaftertheotherfileuploaddivelementsandbeforetheAddFilespan.Eachnewelementhasauniqueidentifier.Whichcodesegmentshouldyouuse?()
A.$("#AddFile").click(function(){varid="File"+++lastId;varitem=$(".File:first").clone(true);$("input:file",item).attr({id:id,name:id});item.insertBefore("#AddFile");});
B.$("#AddFile").click(function(){varid="File"+++lastId;$(".File:first").clone(true).attr({id:id,name:id}).insertBefore("#AddFile");});
C.$("#AddFile").click(function(){varid="File"+++lastId;});
D.$("#AddFile").click(function(){varid="File"+++lastId;varitem=$(".File:first").clone(true);$("input:file",item).attr({id:id,name:id});item.insertAfter("input[type=file]");});
第7题
Services/Contoso.svc.The service provides a JavaScript resource to clients. You have an explicit reference to the JavaScript in your page markup as follows.You need to retrieve the debug version of the service JavaScript. What should you do?()
A. In the <%@ ServiceHost %> header for /Services/Contoso.svc, set the Debug attribute to true.
B. In the <%@ Page %> header, set the Debug attribute to true.
C. In the script tag, add a debug attribute and set its value to true.
D. In the script tag, append debug to the src attribute.
第8题
A.ClassMyDictionaryImplementsDictionary(OfString,String)
B.ClassMyDictionaryInheritsHashTable
C.ClassMyDictionaryImplementsIDictionary
D.ClassMyDictionary EndClass DimtasNewDictionary(OfString,String) DimdictAsMyDIctionary=CType(t,MyDictionary)
第9题
A. AnnouncementService
B. AnnouncementClient
C. DiscoveryClient
D. HttpListener
第10题
A.Object
B.Generic
C.Key
D.Value
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!