摘要:
1.右键需要测试的url 2.Reply => shift + Reissue Requests 3.填写重复提交次数 ,点击ok即可。每秒可以处理1200个请求 4.使用postman来提交请求 添加一个Collection,添加一个post请求 点击ctrl + S会出现弹框,选择新添加的Col 阅读全文
摘要:
1.启动脚本 docker run -d --hostname rabbit1 --name myrabbit1 -p 15672:15672 -p 5672:5672 -e RABBITMQ_ERLANG_COOKIE='rabbitcookie' rabbitmq:3.8.18-manageme 阅读全文
摘要:
1.安装nuget包, Install-package Microsoft.EntityFrameworkCore Install-package Microsoft.EntityFrameworkCore.SqlServerInstall-package Microsoft.EntityFrame 阅读全文
摘要:
1.安装log4包 2.新建一个xml格式的配置文件,可以任意名字,例如起名叫log4config.xml 3.添加配置信息,主要是 <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender, 阅读全文
摘要:
1.读取默认的配置文件appsettings.json appsettings.json内容{ "Logging": {"Default": "Information", "Microsoft": "Warning", }, "AllowedHosts": "*", "ConnectionStrin 阅读全文
摘要:
1,找到dot net core项目所在文件夹的路径,包含.csproj的文件夹,使用cmd打开 2. 在cmd中输入dotnet run --urls="http://#:5726" --port=5726 (5726为端口号,可以是其他的端口号) ctrl+C退出 阅读全文
摘要:
1.查看linux版本 uname -a 2.安装完docker以后,查看docker版本 docker version 3.查看docker镜像 docker images --help(加help可以看到后面可跟的参数) 4.下载镜像 docker pull 仓库名称 Vim 打开文件: Vim 阅读全文
摘要:
1.以管理员方式打开Microsoft Sql Server Management Studio 2.以Window验证方式登录 3.执行脚本 alter login loginName with password = 'newpassword' --旧密码可以不填 4.如果创建的账号出现权限问题, 阅读全文
摘要:
1.function function Person(name) { this.name = name; } Person.prototype.getName = function () { return this.name; }; var john = new Person("John Doe") 阅读全文
摘要:
预备知识: //箭头函数一个参数时可以去掉箭头,返回语句只有一行的话,可以省略return (x)=>{return x*2} 等价于 x => x*2 //catch((e)=>console.log(e)) //或者 //catch(failueCallBack) 等价于 then(null,f 阅读全文