上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 30 下一页
摘要: /* this file only *//*针对不同浏览器加入CSS*/function AddCssToHead(css) { if (document.createStyleSheet) { document.createStyleSheet(css); } else { $('head').append('<link href="' + css... 阅读全文
posted @ 2013-05-10 12:26 张保维 阅读(212) 评论(0) 推荐(0) 编辑
摘要: http://gmaps-samples-v3.googlecode.com/svn/trunk/localsearch/places.html var gLocalSearch = new GlocalSearch(); gLocalSearch.setSearchCompleteCallback(null, OnLocalSearch); function OnLocal... 阅读全文
posted @ 2013-05-07 19:15 张保维 阅读(219) 评论(0) 推荐(0) 编辑
摘要: var context = "<img src=http://www.google.com/aaaaa/image_1 /><img src=\"http://www.google.com/aaaaa/image_1\" /><img src='http://www.google.com/aaaaa/image_1' /><img src='aaaaa' /><img src='aaaaa' />... 阅读全文
posted @ 2013-05-07 15:26 张保维 阅读(168) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8" ?><Patterns xmlns="urn:shemas-jetbrains-com:member-reordering-patterns"> <!--Do not reorder COM interfaces--> <Pattern> <Match> <And Weight="100"> ... 阅读全文
posted @ 2013-05-04 14:24 张保维 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1, 工具 –> 选项 我们自己使用的 名称: mynuget (其实可以任意) 地址: http://192.168.1.10:9999/nuget 2,然后保存就可以了, 以后最新的包就可以通过 nuget进行更新了, 在这里: 从这里就可以看到了. 参考: http://www.cnblogs.com/dudu/arch... 阅读全文
posted @ 2013-02-27 17:54 张保维 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 缘起: 这样一种情况 三个项目 A,B,C C引用B, B 引用 A B仅对A 是一个引用,没有任何的代码调用 在编译的时候, A的项目的DLL会被复制到 C 项目下, 但是无论怎么改 A 项目中的代码, C bin目录下的 A.dll都不再更新了.更有甚者 就算你删除了 A.dll, 再编辑 A.dll也不再会被复制过来. 最后的无奈之下... 阅读全文
posted @ 2013-02-27 00:03 张保维 阅读(199) 评论(1) 推荐(0) 编辑
摘要: 问题: SEC7120: 在 Access-Control-Allow-Origin 标头中未找到源 解决: /// <summary> /// 允许CrossJson /// </summary> public class AllowCrossSiteJsonAttribute : ActionFilterAttribute { ... 阅读全文
posted @ 2013-02-21 13:46 张保维 阅读(1979) 评论(0) 推荐(0) 编辑
摘要: $(ProjectDir)Libs\Afterthought\Afterthought.Amender.exe "$(TargetPath)" "$(TargetDir)EntityFramework.Patterns.dll" 我实际上分析代码好久,也没整明白它是怎么运行的,看一下官方文档明白了,原来。。。 Next, add the following as a... 阅读全文
posted @ 2013-02-06 16:22 张保维 阅读(754) 评论(0) 推荐(0) 编辑
摘要: from : http://msdn.microsoft.com/zh-cn/library/vstudio/system.diagnostics.contracts.pureattribute(v=vs.110).aspx 意义是:指示一个类型或方法为纯类型或纯方法,即它不进行任何可视的状态更改。 纯类型或纯方法 ,我真他妈不知道是什么意思,我google了一下,有人说,你不知... 阅读全文
posted @ 2013-02-06 15:20 张保维 阅读(441) 评论(0) 推荐(0) 编辑
摘要: from:http://efpatterns.codeplex.com/documentation 中规中矩的实现的 uow ,repository, 其中用到了 Afterthought 项目,有点小巧的感觉,这个项目值的看一下,其中,CacheableRepository 用到了过期策略.这点可以在以后用于项目中,将过期依赖改一下,比如 config文件的更改,然后自动更新static... 阅读全文
posted @ 2013-02-06 01:11 张保维 阅读(157) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 30 下一页