你正在创建一个使用一些自定义用户控件的ASP.NETWeb应用。为了去提高性能,你需要使用缓冲来存储控件输出的副本5分钟。已知,控件输出使用不同的用户和会话进行标识,因此你需要为多个用户缓冲一个控件副本。下面哪一个配置是正确的?()
A. <%@OutputCacheDuration="300"Shared="true"VaryByParam="None"%>
B. <%@OutputCacheDuration="5"VaryByParam="None"%>
C. <%@OutputCacheDuration="5"Shared="true"VaryByParam="None"%>
查看答案
下面哪个标签不符合(X)HTML的语法结构()
A. 国家开放大学 title >
B. 哈利波特
D. [book] 网页设计 [/book]
You need to write a code segment that will create a common language runtime (CLR) unit of isolation within an application.Which code segment should you use?()
A
B
C
D
您需要建立一个名为MyAssembly动态程序集。并需要保存此程序集到磁盘。应该使用哪个代码段?()
A
B
C
D
你正在创建一个内容页,它引用了另一个开发人员开发的母版页。已知,母版页公开了几个public属性:company,street,address,city,state,和phoneNumber;现在,你需要在你的PhoneNumberTextBox控件中显示phoneNumber的值(在母版页定义的)。你应该使用那一段代码?()
A. PhoneNumberTextBox.Text=Master.PhoneNumber;
B. PhoneNumberTextBox.Text=this.PhoneNumber;
C. PhoneNumberTextBox.Text=Content.PhoneNumber;