YoucreateWebsitesforyourcompany.YouapplyaconsistentdesigntothepagesandcontrolsoftheWebsites.YouneedtomakestylechangestoalloftheWebsitesontheWebserver.YouwanttoachievethisgoalwithouthavingtoedittheindividualpagesoneachWebsite.Whichtwoactionsshouldyouperform?()
A. PlaceathemeintheApp_Themesdirectoryundertheapplicationrootdirectory.
B. PlaceathemeunderanAS
C. NETClientFilesfolderundertheAS
D. NETinstallationdirectory.
E. Assignathemebysettingthedirectivetothenameoftheapplicationtheme.
F. AssignathemebyspecifyingthesectionintheWeb.configfile.
查看答案
You work as the application developer at Cert-Tech.com. Cert-Tech.com uses Visual Studio.Net 2005 as its application development platform. You use a Windows XP Professional client computer named Client01 as your development computer. You are developing a .Net Framework 2.0 application on Client01. You write the code shown below:Public Class Shape Private shapeName as String Public Sub Shape(ByVal shapeName as String) Me.shapename=shapeName End Sub Public Overridable Fuction GetName() As String Return shapeName End Function Private Sub DrawShape() ’Additional code goes here End Sub End Class You later decide to have the application compiled and registered for COM interoperability. The other developers on your team complaing that they are unable to create an instance of the Shape class in their COM applications. You are required to ensure that COM applications are able to create an instance of the Shape class. What should you do?()
A
B
C
D
选中层之后,可以在属性面板中调整层的显示属性。其中表示层总是隐藏的选项是()
A. Default
B. inherit
C. visible
D. hidden
YouaredevelopingaWindowsCommunicationFoundation(WCF)servicethatallowscustomerstoupdatefinancialdata. Theservicecontractisdefinedasfollows.(Linenumbersareincludedforreferenceonly) 01[ServiceContract] 02publicinterfaceIDataUpdate 03{ 04[OperationContract] 05[TransactionFlow(TransactionFlowOption.Mandatory)] 06voidUpdate(stringaccountNumber,doubleamount); 07} 08 09classUpdateService:IDataUpdate 10{ 11[OperationBehavior(TransactionScopeRequired=true,TransactionAutoComplete=false)] 12publicvoidUpdate(stringaccountNumber,doubleamount) 13{ 14... 15} 16} 17 Youneedtoensurethattheserviceisinvokedwithinthetransaction. Whatshouldyoudo?()
A. Replaceline01withthefollowingcode[ServiceContract(SessionMode=SessionMode.NotAllowed)]
B. Replaceline01withthefollowingcode[ServiceContract(SessionMode=SessionMode.Required)]
CalltheInvokemethodoftheformandsupplyadelegate.
D. CalltheBeginInvokemethodoftheformandsupplyadelegate.
关于网页中头部标签,说法错误的是()
A. 头部信息指包含在一对头部标签内的信息
B. 包含在头部之间的内容不会在浏览器中显示出来
C. 关键字设置属于头信息内容
D. 页面属性的设置属于头信息内容