06 2017 档案
摘要:1,先加入命名空间: using System.Net.Security; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; 2,再重载CheckValidationResult方法,返回true public bool CheckValidationResu...
阅读全文
摘要:后台使用thinkphp返回json: jquery选中特定的text:
阅读全文
摘要:1、在项目上点击右键,点击“查看” 》“查看类图”: 2、生成的类图如下:
阅读全文
摘要:static void Main(string[] args) { private static readonly string sqlconnection =""; //遍历循环client表 IList StuList; using (var connection = new Sys...
阅读全文
摘要:static string get_html(string url) { var request = WebRequest.Create(url); var response = request.GetResponse(); var html = ""; using (StreamR...
阅读全文
摘要:git add git commit -m '添加了页面' git push -u origin master git log --查看提交历史 git pull --获取最新更新
阅读全文
摘要:apt-get install apache2 ---ubuntu按照apache apt-get install apache2-utils ---ubuntu下安装apache 下的ab工具 ab -n 1000 -c1 0 http://192.168.1.95:8082/
阅读全文
摘要:一、Web项目中加入log4net: 1、nuget中加入log4net 2、webconfig中的<configuration></configuration>中加入以下节点: 3、在Global.asax.cs中加入: log4net.Config.XmlConfigurator.Configu
阅读全文
摘要:define('APP_DEBUG',false); 这个设置从true改为false后,一定要清空缓存,否则会出错。
阅读全文
摘要:1、LF will be replaced by CRLF in 解决方法: $ git config --global core.autocrlf false 2、$ git push -u origin master如果当前分支与多个主机存在追踪关系,则可以使用-u选项指定一个默认主机,这样后面
阅读全文
摘要:T-SQL语句: Linq语句: Linq生成的语句:
阅读全文

浙公网安备 33010602011771号