上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 29 下一页
摘要: https方式每次都要输入密码,按照如下设置即可输入一次就不用再手输入密码的困扰而且又享受https带来的极速 设置记住密码(默认15分钟): git config --global credential.helper cache git config --global credential.hel 阅读全文
posted @ 2016-05-18 09:02 shiningrise 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: http://www.360doc.com/content/14/1118/21/15077656_426245574.shtml 阅读全文
posted @ 2016-05-17 23:43 shiningrise 阅读(1674) 评论(0) 推荐(0) 编辑
摘要: http://blog.sina.com.cn/s/blog_58c506600101tycn.html 最近,因为国内访问Visual Studio Online(微软的免费代码托管服务,以前叫Team Foundation Service)越来越慢——原因你懂的——甚至有些时候连登录页面都刷不出 阅读全文
posted @ 2016-05-14 08:59 shiningrise 阅读(12632) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/JKqingxinfeng/archive/2012/10/29/2744663.htmlHTTP错误404.13 - Not Found 请求筛选模块被配置为拒绝超过请求内容长度的请求,原因是Web服务器上的请求筛选被配置为拒绝该请求,因为内容长度超过... 阅读全文
posted @ 2016-01-22 14:10 shiningrise 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 现今大多数的网站尤其是购物网站都要求你登录后才能继续操作,当你匿名的将商品放入购物车后,不可能匿名购买这时可以转到登录界面让用户进行登录验证。适用系统自带的过滤器MVC5只要将属性[Authorize]置于相关的action之前就行,那么在调用Buy action之前,就会运用Authorize过滤... 阅读全文
posted @ 2015-12-11 15:02 shiningrise 阅读(2501) 评论(0) 推荐(1) 编辑
摘要: 画面上有个多个按钮时,如何绑定到各自的Action上?1.追加如下MultipleButtonAttribute类 1 using System; 2 using System.Reflection; 3 using System.Web.Mvc; 4 5 namespace DailyRepor... 阅读全文
posted @ 2015-12-11 14:54 shiningrise 阅读(416) 评论(0) 推荐(0) 编辑
摘要: PetaPoco最初的灵感来自Massive-通过dynamic Expando objects返回一切。对于大多数情况我觉得这比较麻烦,更喜欢强类型的类。但是有些时候支持dynamic也是有用的-特别是用于Join、Group By和其他计算查询时。构造一个dynamic查询只需使用现有的查询方法... 阅读全文
posted @ 2015-11-29 16:27 shiningrise 阅读(528) 评论(1) 推荐(1) 编辑
摘要: 1、降低IE安全级别 Win 2008默认IE的安全级别为“高”,并且不能随意调整,在浏览网页的时候有些会有一些限制,可以打开注册表编辑器进行设置,定位到 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet... 阅读全文
posted @ 2015-11-27 14:17 shiningrise 阅读(952) 评论(0) 推荐(0) 编辑
摘要: using (MemoryStream ms = new MemoryStream()) { using (ZipArchive archive = new ZipArchive(ms, ZipArchiveMode.Upd... 阅读全文
posted @ 2015-11-22 21:01 shiningrise 阅读(673) 评论(0) 推荐(0) 编辑
摘要: Thanks tohttp://stackoverflow.com/a/12350106/222748I got:using (var memoryStream = new MemoryStream()){ using (var archive = new ZipArchive(memorySt... 阅读全文
posted @ 2015-11-21 22:26 shiningrise 阅读(312) 评论(0) 推荐(0) 编辑
摘要: private void AutofacIoCRegister() { HttpConfiguration config = GlobalConfiguration.Configuration; if (_containerPr... 阅读全文
posted @ 2015-11-19 06:04 shiningrise 阅读(2348) 评论(0) 推荐(0) 编辑
摘要: 我们在建站的时候,通常有些目录必须给写入权限,这个时候这些目录就很可能被人写入脚本文件,为了将安全性维护得更好,我们可以关闭这些有写入权限的目录的脚本执行权限。IIS6的时候,我们很容易找到关闭的地方,而IIS7时代,由于架构的变化,很多人找不到,这里我就给大家稍微说明一下怎么关闭特定网站目录的脚本... 阅读全文
posted @ 2015-10-21 21:14 shiningrise 阅读(547) 评论(0) 推荐(0) 编辑
摘要: var ids = (from id in ed_ProjectClass.Values select Guid.Parse(id)).ToArray(); Entity.ProjectClassCollection.Where(p =>... 阅读全文
posted @ 2015-10-14 19:32 shiningrise 阅读(163) 评论(0) 推荐(0) 编辑
摘要: http://www.npoi.info/ 阅读全文
posted @ 2015-10-11 20:27 shiningrise 阅读(231) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/wfyfngu/p/4866434.html 在传统桌面项目中,进度条随处可见,但作为一个很好的用户体验,却没有在如今主流的B/S程序中得到传承,不能不说是个遗憾。这个遗憾并非WEB程序不支持进度条,很大的原因应该是我们由于种种麻烦懒的去实现。前段时间... 阅读全文
posted @ 2015-10-10 14:06 shiningrise 阅读(340) 评论(0) 推荐(0) 编辑
摘要: http://www.butlife.com/method-based-query-syntax/ 阅读全文
posted @ 2015-10-09 23:11 shiningrise 阅读(254) 评论(0) 推荐(0) 编辑
摘要: http://www.jb51.net/article/55941.htmC#实现:复制代码 代码如下: #region 计算字符串相似度 /// /// 计算字符串相似度 /// /// 字符串1 /// 字符串2 /// 相似度 public static float Leven... 阅读全文
posted @ 2015-10-07 17:35 shiningrise 阅读(599) 评论(0) 推荐(0) 编辑
摘要: private int CountWords(string text) { var count = Regex.Matches(text, @"[\u4e00-\u9fa5]|[a-zA-X]+").Count; return 30 + count; } 阅读全文
posted @ 2015-10-07 16:53 shiningrise 阅读(270) 评论(0) 推荐(0) 编辑
摘要: asp.net(C#)页面事件顺序http://www.cnblogs.com/henw/archive/2012/02/09/2343994.html 1 using System.Data; 2 using System.Configuration; 3 using System.Web;... 阅读全文
posted @ 2015-10-07 16:31 shiningrise 阅读(706) 评论(0) 推荐(0) 编辑
摘要: http://www.ipmsg.org.cn/ 阅读全文
posted @ 2015-10-06 19:27 shiningrise 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Windows8 的开发已经如火如荼开始了,在 Windows8 中提供的 .NET Framework 已经更新到了 4.5 版,其中又增加了一些新的特性,对压缩文件的支持就是其中之一。在 4.5 之前,处理压缩文件,我们经常需要使用第三方的类库 SharpZipLib, 现在可以直接实现了。1.... 阅读全文
posted @ 2015-10-06 14:39 shiningrise 阅读(176) 评论(0) 推荐(0) 编辑
摘要: _UserService = ((IContainerProviderAccessor)HttpContext.Current.ApplicationInstance).ContainerProvider.ApplicationContainer.Resolve(); 阅读全文
posted @ 2015-10-05 21:46 shiningrise 阅读(1264) 评论(0) 推荐(0) 编辑
摘要: http://www.ipmsg.org.cn/ 阅读全文
posted @ 2015-10-05 07:56 shiningrise 阅读(209) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/stoneniqiu/p/3806558.htmlhttp://www.cnblogs.com/KnightsWarrior/archive/2010/10/20/1856255.htmlhttp://autoupdater.codeplex.com/ 阅读全文
posted @ 2015-10-04 14:04 shiningrise 阅读(239) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/kingboy2008/p/3770321.html 阅读全文
posted @ 2015-09-28 10:54 shiningrise 阅读(174) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/daxnet/archive/2013/05/07/3064577.html 阅读全文
posted @ 2015-09-27 16:17 shiningrise 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 数据架构与INSERT脚本生成https://dbschemareader.codeplex.com/wikipage?title=Writing%20Data&referringTitle=Documentationhttps://github.com/martinjw/dbschemareade... 阅读全文
posted @ 2015-09-27 15:21 shiningrise 阅读(447) 评论(0) 推荐(0) 编辑
摘要: DELL服务器引导光盘图片及下载链接所有的下载地址均是ftp开头的,下载时,请拷贝下载地址,然后放到浏览器的地址栏进行下载!各个下载地址汇总:http://search.dell.com/results.aspx?s=biz&c=us&l=en&cs=555&k=Dell%20Systems%20M... 阅读全文
posted @ 2015-09-24 09:19 shiningrise 阅读(10289) 评论(0) 推荐(0) 编辑
摘要: //点击屏幕 关闭输入弹出框 @Override public boolean onTouchEvent(MotionEvent event) { InputMethodManager im = (InputMethodManager)getSystemService(Context.INPUT_... 阅读全文
posted @ 2015-09-22 23:29 shiningrise 阅读(1329) 评论(0) 推荐(0) 编辑
摘要: https://github.com/wyouflf/xUtilsHttpUtils使用方法:普通get方法HttpUtils http = new HttpUtils();http.send(HttpRequest.HttpMethod.GET, "http://www.lidroid.co... 阅读全文
posted @ 2015-09-22 04:09 shiningrise 阅读(655) 评论(0) 推荐(0) 编辑
摘要: fastjson的API十分简洁。String text = JSON.toJSONString(obj); //序列化VO vo = JSON.parseObject("{...}", VO.class); //反序列化https://github.com/alibaba/fastjson/wik... 阅读全文
posted @ 2015-09-22 04:08 shiningrise 阅读(872) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/deman/category/612505.htmlhttp://www.cnblogs.com/deman/category/612505.html 阅读全文
posted @ 2015-09-20 11:03 shiningrise 阅读(152) 评论(0) 推荐(0) 编辑
摘要: http://www.dell.com/support/home/cn/zh/cndhs1/Drivers/DriversDetails?driverId=68RWT&fileid=2731101038http://www.dell.com/support/home/cn/zh/cndhs1/Dri... 阅读全文
posted @ 2015-09-19 21:46 shiningrise 阅读(1014) 评论(0) 推荐(0) 编辑
摘要: https://msdn.microsoft.com/zh-cn/sqlserver/default.aspx 阅读全文
posted @ 2015-09-18 10:17 shiningrise 阅读(346) 评论(0) 推荐(0) 编辑
摘要: https://github.com/i66soft/osharp 阅读全文
posted @ 2015-09-14 22:16 shiningrise 阅读(662) 评论(0) 推荐(0) 编辑
摘要: https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=29062只能使用IE下载http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=29062 阅读全文
posted @ 2015-09-14 21:17 shiningrise 阅读(542) 评论(0) 推荐(0) 编辑
摘要: 一、不下载SDK启动Android Studio给一个解决方法:Android Studio安装目录下的bin,idea.properties;idea.properties文件末尾加一行:disable.android.first.run=true 阅读全文
posted @ 2015-09-12 09:58 shiningrise 阅读(239) 评论(0) 推荐(0) 编辑
摘要: public partial class WebForm2 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string... 阅读全文
posted @ 2015-09-10 09:50 shiningrise 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 网上已经有很多Web进度条的例子,但是很多都是估算时间,不能正真反应任务的真实进度。我自己结合多线程和ShowModalDialog制做了 一个实时进度条,原理很简单:使用线程开始长时间的任务,定义一个Session,当任务进行到不同的阶段改变Session的值,线程开始的同时使用 ShowModa... 阅读全文
posted @ 2015-06-14 17:16 shiningrise 阅读(1520) 评论(0) 推荐(0) 编辑
摘要: 今天给大家介绍一个开源.net混淆器——ConfuserExhttp://yck1509.github.io/ConfuserEx/由于项目中要用到.net混淆器,网上搜寻了很多款,比如Dotfuscator、xeoncode、foxit等等。但大部分收费,当然也有破解版的,公司要求不能用盗版软件。... 阅读全文
posted @ 2015-06-13 00:23 shiningrise 阅读(2790) 评论(3) 推荐(3) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 29 下一页
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css