上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 42 下一页
摘要: 今天启动window上的nginx总是报错 错误信息是bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions) 大概 阅读全文
posted @ 2016-08-15 10:29 小白ACE 阅读(3641) 评论(0) 推荐(0)
摘要: 将redis添加到windows服务中,如下图: 1、安装命令: redis-server.exe --service-install redis.windows.conf 或 redis-server.exe --service-install redis.windows.conf --logle 阅读全文
posted @ 2016-08-11 16:29 小白ACE 阅读(19679) 评论(4) 推荐(0)
摘要: nginx: [error] CreateFile() "E:\nginx\nginx-1.9.3/logs/nginx.pid" failed nginx: [error] Open() "E:\nginx\nginx-1.9.3/logs/nginx.pid" failed 解决方法: 使用命令 阅读全文
posted @ 2016-08-09 12:14 小白ACE 阅读(40681) 评论(0) 推荐(2)
摘要: 1.下载 nginx 2.配置nginx 文件 1)配置该目录下E:\nginx\nginx-1.9.3\conf: 3.在iis中部署两个网站分别为:127.0.0.1:80 ,127.0.0.1:82 4.效果如下: nginx相关使用命令: 验证配置是否正确: nginx -t 查看Nginx 阅读全文
posted @ 2016-08-09 11:45 小白ACE 阅读(681) 评论(0) 推荐(0)
摘要: /// /// 将DateTime时间格式转换为Unix时间戳格式 /// /// DateTime时间 /// 精度:Seconds-秒,Milliseconds-毫秒 /// public static long ToUnixTimeStamp(this DateTime dateTim... 阅读全文
posted @ 2016-08-09 09:55 小白ACE 阅读(1864) 评论(0) 推荐(0)
摘要: 1.nuget下载PagedList包 2.PageListHelper类: 3.创建一个部分页_PagedListPartial.cshtml 4.Index页面调用: 阅读全文
posted @ 2016-07-18 13:59 小白ACE 阅读(2456) 评论(0) 推荐(0)
摘要: 1、引用EF对应的程序集 使用命令安装EntityFramework包Install-Package EntityFramework Entity Framework简单目录: 1.context数据库上下文class: 2.Model实体类: 添加所需程序集: Install-Package Sy 阅读全文
posted @ 2016-07-18 11:52 小白ACE 阅读(907) 评论(0) 推荐(0)
摘要: 页面出现如下图: 第一种解决方案: 刚安装好IIS,这时需要注册IIS. 在Dos中进入Framework的安装文件夹 你将要发布的系统是什么.Net Framework版本,就注册什么版本 4.0版本进入 C:\Windows\Microsoft.NET\Framework\v4.0.30319 阅读全文
posted @ 2016-07-18 11:45 小白ACE 阅读(6722) 评论(1) 推荐(1)
摘要: using Newtonsoft.Json; using StackExchange.Redis; using System; using System.Configuration; using System.Reflection; using System.Threading.Tasks; using System.Text; namespace Lemon.Common { pub... 阅读全文
posted @ 2016-06-21 15:11 小白ACE 阅读(737) 评论(0) 推荐(0)
摘要: CREATE procedure [dbo].[cp_User_Increment] @channelId int, @currentPage int, @pageSize int, @userId int as if @channelId<=0 begin select CurrentTime, Cou... 阅读全文
posted @ 2016-06-01 09:36 小白ACE 阅读(992) 评论(1) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 42 下一页