上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 30 下一页
摘要: 目录:D:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ItemTemplatesCache\CSharp\Code\2052\Class 这个目录下面就两个文件: 1、Class.cs 2、Class.vstemplat 阅读全文
posted @ 2016-09-12 13:56 屌丝大叔的笔记 阅读(1820) 评论(0) 推荐(0) 编辑
摘要: 1、查看->大纲向导,可层级显示HTML 2、工具->插件->资源管理器,可在左侧显示资源管理器 3、工具->插件->单词自动完成,可实现单词智能提示功能 阅读全文
posted @ 2016-08-16 14:01 屌丝大叔的笔记 阅读(1040) 评论(0) 推荐(0) 编辑
摘要: 网上找了一下原因,是因为express在4.0以后把命令工具单独分出来了,所以安装完express后,还得再安装express-generator; 如果不是采用的全局安装,则需要把 "安装路径\node_modules\.bin"放到环境变量中才能运行 安装express-generator: - 阅读全文
posted @ 2016-07-19 12:09 屌丝大叔的笔记 阅读(194) 评论(0) 推荐(0) 编辑
摘要: http://layer.layui.com/ 别人写的 阅读全文
posted @ 2016-07-05 18:11 屌丝大叔的笔记 阅读(132) 评论(0) 推荐(0) 编辑
摘要: public class HomeController : Controller { public ActionResult Index() { var url = "http://www.ly.com?ak=abcdefg&user=sbd"; var queryString = "ak=hello&use... 阅读全文
posted @ 2016-07-02 18:30 屌丝大叔的笔记 阅读(1713) 评论(0) 推荐(1) 编辑
摘要: Hi I'm using the below class Once I serialize it I'm getting the following output like But I want my answer to be like this It shouldn't display the c 阅读全文
posted @ 2016-06-29 15:55 屌丝大叔的笔记 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 客户端代码如下: 红色部分是关键 后端代码如下: UserData类型: 参考网址: http://stackoverflow.com/questions/23069172/posting-json-array-of-object-to-controller-in-asp-net-mvc http: 阅读全文
posted @ 2016-06-21 14:00 屌丝大叔的笔记 阅读(3124) 评论(0) 推荐(0) 编辑
摘要: 在MVC的WebApi中默认是没有开启Session会话支持的。需要在Global中重写Init方法来指定会话需要支持的类型 在默认情况下是没有开启的。SessionStateBehavior有四个值: Default使用默认ASP.NET逻辑来确定请求的会话状态行为。默认逻辑是寻找IHttpHan 阅读全文
posted @ 2016-05-12 08:29 屌丝大叔的笔记 阅读(2723) 评论(0) 推荐(0) 编辑
摘要: 说明:非原创,来自互联网。 阅读全文
posted @ 2016-04-19 13:33 屌丝大叔的笔记 阅读(749) 评论(0) 推荐(0) 编辑
摘要: 之前都是先从模板文件里面读取html字符串,现在要求将模板存入数据库或缓存了,怎么办呢?在网上找了下资料,终于找到解决办法。 如下: 说明:变量h可以作为参数传递进来,调用如下: 这样就会将字符串解析了。 参考网址:http://stackoverflow.com/questions/568215/ 阅读全文
posted @ 2016-02-02 19:48 屌丝大叔的笔记 阅读(763) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 30 下一页