会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
talentzemin
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
16
17
18
19
20
21
22
23
24
···
46
下一页
2020年4月14日
Medium Free
摘要: fetch(window.location.href,{credentials:"omit",redirect:"follow",mode:"no-cors"}) .then(function(b){return b.text()}) .then(function(b){ var a=b; a=b.
阅读全文
posted @ 2020-04-14 13:36 talentzemin
阅读(143)
评论(0)
推荐(0)
2020年4月12日
Selenium Grid
摘要: 原理 下载Selenium Server(即RemoteWebDriver) https://www.selenium.dev/downloads/ 我们以3.3.1为例 启动hub 启动node hub和node使用的是同一个可执行文件,只是在启动的时候,指定-role不同。 在启动node的时候
阅读全文
posted @ 2020-04-12 13:39 talentzemin
阅读(163)
评论(0)
推荐(0)
使用 Selenium WebDriver 进行本地自动化测试
摘要: 原理 通过官方提供的类库(包)向浏览器Driver(比如ChromeDriver、FirefoxDriver等)发送命令。 引入WebDriver.dll 当然,我们可以下载C#版本的WebDriver源代码,放在项目中进行调试或者修改,我们以v3.141.59为例: 源代码:https://git
阅读全文
posted @ 2020-04-12 12:43 talentzemin
阅读(262)
评论(0)
推荐(0)
2020年4月10日
Selenium和ChromeDriver下载地址
摘要: Selenium 官方所有版本: https://selenium-release.storage.googleapis.com/index.html 镜像所有版本:https://npm.taobao.org/mirrors/selenium 最新版本:https://www.selenium.d
阅读全文
posted @ 2020-04-10 19:44 talentzemin
阅读(2419)
评论(0)
推荐(0)
2020年4月2日
CQRS Event Sourcing介绍
摘要: 什么是CQRS模式? CQRS是Command and Query Responsibility Segregation的缩写,直译就是命令与查询责任分离的意思。 命令会改变对象的状态,但不返回任何数据。 查询会返回数据,但并不改变对象的状态。 如果将查询和命令简化理解成对数据的读写操作,CQRS模
阅读全文
posted @ 2020-04-02 11:29 talentzemin
阅读(1059)
评论(0)
推荐(0)
CQRS+Event Sourcing
摘要: using System; using System.Collections.Generic; using System.Linq; namespace CQRS { public class EventBroker { public List<Event> AllEvents = new List
阅读全文
posted @ 2020-04-02 10:38 talentzemin
阅读(236)
评论(0)
推荐(0)
2020年3月27日
在WLS2下开发和部署NET Core3.1目录
摘要: 前言 在youtube推送上看到WSL2的消息(https://www.youtube.com/watch?v=MrZolfGm8Zk&t=1s),觉得很棒。恰好最近在学习PowerShell相关的东西,就想着安装Windows Terminal和WSL2体验一下。 安装好之后,我们其实就同时有了W
阅读全文
posted @ 2020-03-27 14:00 talentzemin
阅读(1275)
评论(0)
推荐(0)
WSL2 使用Docker运行.NET Core
摘要: Docker的安装在前面说过了,此处就不说了,我们检查一下版本: 步入正题。 首先,我们为项目创建Dockerfile(无扩展名) 确保Docker是启动状态: 构建镜像,注意名称必须是全部小写(此处是错误示范) 重新输入: 构建完成之后,我们运行Docker: -it 是指用交互的方式启动,而不是
阅读全文
posted @ 2020-03-27 11:59 talentzemin
阅读(847)
评论(0)
推荐(0)
2020年3月26日
WSL2 VS Code远程开发.Net Core
摘要: 修改 我们打开一个页面,随便修改一下,保存,结果会出现错误:Unable to write file (NoPermissions (FileSystemError): Error: EACCES: permission denied, 我们在这里找到答案:https://github.com/mi
阅读全文
posted @ 2020-03-26 21:05 talentzemin
阅读(1669)
评论(0)
推荐(0)
WSL2 VS Code远程开发准备
摘要: 上一节我们在linux中创建了mvc项目,但是要是在linux中用命令行直接开发的话,就有些扯了。 我们可以使用VS Code进行远程开发,简单来说,就是在windows中打开VS Code,打开Linux项目文件,编辑修改调试。 我们安装VS Code的插件:Remote-WSL 安装好之后,打开
阅读全文
posted @ 2020-03-26 18:19 talentzemin
阅读(1139)
评论(0)
推荐(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
···
46
下一页
公告