摘要:http://weblogs.asp.net/scottgu/Tags/MVC http://weblogs.asp.net/scottgu/asp-net-mvc-framework-part-1 http://www.asp.net/mvc/overview/releases 阅读全文
关于编码规范
2014-08-15 09:37 by 蜡笔小旧, 188 阅读, 0 推荐, 收藏,
摘要:public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, RouteValueDictionary routeValues, AjaxOptions ajaxOptions) { return BeginRouteForm(ajaxHelper, rou... 阅读全文
.NET client connection Limit
2013-09-12 16:10 by 蜡笔小旧, 767 阅读, 0 推荐, 收藏,
摘要:调试出了一个诡异的问题,使用多个进程没问题,单进程出现了。fix://默认限制为2个连接//public const int DefaultPersistentConnectionLimit = 2;ServicePointManager.DefaultConnectionLimit = int.MaxValue; // Summary: // The default number of non-persistent connections (4) allowed on a System.Net.ServicePoint // obje... 阅读全文
IE or Chrome can not use localhost, firefox can works.
2013-09-12 16:05 by 蜡笔小旧, 703 阅读, 0 推荐, 收藏,
摘要:因为服务器开启'localhost:9999",使用IE无法登陆,firefox下正常。遂查看cookie,果然没有写入。stackoverflow.com:"ie enable cookies for localhost""ie localhost not working"一般答案都是重置IE,设置hosts文件:127.0.0.1 localhost,都无法解决问题。正解:IEs认为domain name都带‘.’,不能为一级域名,所以hosts文件设置"127.0.0.1 localhost.com",可以解决 阅读全文
[转]深入理解POST的本质
2013-04-23 14:48 by 蜡笔小旧, 171 阅读, 0 推荐, 收藏,
摘要:http://cnn237111.blog.51cto.com/2359144/1113546 阅读全文
【原】sqlite
2013-03-20 13:32 by 蜡笔小旧, 301 阅读, 0 推荐, 收藏,
摘要:一直想找个ms access的替代品。终于找到了sqlite.据说firefox也是用的这个数据库,效率也很高,并且跨平台,支持多种语言,文件型(官方文档说支持内存数据库).相关语法:(1)top-> limitselect categoryId from Categories limit 5.NET相关:.NET下需要下载 http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wikiSystem.Data.SQLite.dll(分多个版本32位、64位,.NET2.0-.NET4.5)System.Data. 阅读全文
转:PTDD恢复分区等于恢复你的数据(包括误GHOST后硬盘变成一个分区)
2013-01-10 12:15 by 蜡笔小旧, 375 阅读, 0 推荐, 收藏,
摘要:今天帮人装系统,出问题了,变成一个分区了。网上搜得不知道能不能用。http://bbs.wuyou.com/viewthread.php?tid=183273&extra=&page=1 阅读全文
oracle导入excel数据
2012-10-11 10:32 by 蜡笔小旧, 176 阅读, 0 推荐, 收藏,
摘要:在plsql developer里输入select t.*, t.rowid from ckb_propertydefine t从 excel数据表中copy的数据,然后将鼠标在plsql developer的列名称上单击,最后使用快捷键ctrl + v 参考:http://blog.csdn.net/47522341/article/details/2203487 阅读全文
《正则表达式必知必会》笔记
2012-09-21 17:51 by 蜡笔小旧, 186 阅读, 0 推荐, 收藏,
摘要:1. Ben 匹配my name is Ben.2. '.'单字匹配 c.tcatcotcotton3. '\'元字符s1.xlss2.xls4. []字符集合区间, [0123456789]=[0-9]as RegEx or regex5. 非'^' 例:[^B]en6.转义符为反斜杠 '\',需要匹配'\'本身用'\\'7.空白元字符 [\b]回退 \f换页符 \n换行符 \r回车符 \t制表符 \v垂直制表符8.匹配数字与非数字元字符[0-9] = \d[^0-9] = \D9.任何一个字母数 阅读全文
[转] IIS网站自动启动
2012-09-19 17:47 by 蜡笔小旧, 352 阅读, 0 推荐, 收藏,
摘要:【英文】Auto-Start ASP.NET Applications (VS 2010 and .NET 4.0 Series)http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx【中文】VS 2010 和 .NET 4.0 系列之《自动启动ASP.NET应用》篇http://blog.csdn.net/wenjie315130552/article/details/6855067 阅读全文
浙公网安备 33010602011771号