单项选择题在ASP.NETMVC中,过滤器不能应用到()上。

A.单个动作方法
B.单个控制器
C.视图
D.所有控制器


您可能感兴趣的试卷

你可能感兴趣的试题

1.多项选择题对字符串str="hello world"进行下列操作处理,描述结果正确的是()

A.str.substring(1,7)的返回值是“ello wo”
B.str.indexOf("e",4)的返回值是1
C.str.length的返回值是11
D.str.substr(1,7)的返回值是“ello w”

2.多项选择题EasyUI form组件的submit方法的参数是一个对象,其属性包括()

A.url:请求的URL地址
B.onSubmit:提交之前的回调函数
C.data:要求为Object或String类型的参数,发送到服务器的数据
D.success:提交成功后的回调函数

3.多项选择题

有一个ArrayList 对象items,包含了若干下列Book 类型的对象,则下列查询表达式编写正确的有()

A.from Book b in items where b.Price>50
B.from Book b in items where b.Price>50select b
C.from b in items where b.Price>50select b.Price
D.from Book b in items where b.Price >50select new {b.Price }

4.单项选择题下列选项中哪个不属于EasyUI的控件()

A.dialog
B.tabs
C.validatebox
D.gridview

5.单项选择题在ASP.NET中,下列关于缓存的代码写法有错误的是()。

A.Cache.Remove("user")
B.Cache.Add("user","mastanford")
C.Cache.Insert("user","mastanford")
D.Cache["user"]="mastanford

6.单项选择题下列JSON字符串正确的是()

A.{"name":"BeJson","address":{"street":"科技园路.","city":"江苏苏州","country":"中国"}}
B.{"name":"BeJson","address":["street":"科技园路.","city":"江苏苏州","country":"中国"]}
C.["name":"BeJson","address":["street":"科技园路.","city":"江苏苏州","country":"中国"]]
D.["name":"BeJson","address":{"street":"科技园路.","city":"江苏苏州","country":"中国"}]

7.单项选择题下列关于ASP.NET MVC Razor 视图引擎说法正确的是()。

A.MVC 的视图只能使用Razor 视图引擎
B.Razor 视图的文件扩展名是.aspx
C.Razor 语法使用@符号开头
D.Razor 语法使用< %...%>包裹代码块

8.单项选择题设置
  • 标签中的一行文本垂直居中,使用的CSS样式属性是()。

    A.vertical-align
    B.text-align
    C.valign
    D.height和line-height

  • 10.单项选择题使用()关键字修饰的类不允许被继承

    A.sealed
    B.override
    C.delegate
    D.public