常用的:

1,string,直接返回响应报文字符串

public ActionResult test()
{
return "哈哈";
}
2.ViewResult,ActionResult--返回视图对象

public ActionResult Test()
{
return View();
}

或者

public ViewResult Test()
{
return View();
}
3.JsonResult--返回json字符串

最新文章

  1. java IO流 之 其他流
  2. 行程编码(atoi函数)
  3. BZOJ 4581: [Usaco2016 Open]Field Reduction
  4. linuxz终端开启echo颜色显示
  5. dede使用方法----如何转换时间戳
  6. iOS-马上着手开发iOS应用应用程序-第二部分构建应用程序
  7. Daily Scrum 10.26
  8. Linux 网卡设备驱动程序设计(3)
  9. MySQL支持Emoji表情
  10. FTP服务器简易有效的访问方法
  11. excel运行最多行数
  12. JAVA字符串转日期或日期转字符串
  13. C#实现防拷贝工具示例
  14. 使用原生php读写excel文件
  15. 1-3 Spring Bean 的属性值设置
  16. 单幅图像的深度学习,对NYU数据集进行划分
  17. HTML的概念和三大基石以及标准文档结构
  18. GhostScript应用一例:使用GhostScript强行修改加密PDF
  19. sticky footer
  20. You Only Look Once: Unified, Real-Time Object Detection

热门文章

  1. .NET Core:面向未来的开源跨平台开发技术
  2. A cycle was detected in the build path of project
  3. Run same command on all SQL Server databases without cursors
  4. Navicat for MySQL Mac 破解版
  5. hao.360.cn不停跳....
  6. [转]YII2 常用数据库操作
  7. nginx+lua_nginx+GraphicsMagick生成实时缩略图
  8. make no mistake, we are the last line of defense.
  9. WCF多种调用方式兼容
  10. Windows Storage Server 2008 R2 Standard(64位)之ASM(Automated Storage Manager)管理