- 博客(14)
- 收藏
- 关注
原创 Windows DockerDesktop安装
Windows DockerDesktop Install用管理员身份打开Powershell执行以下步骤1. 安装 WSL 1dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart**2. 启用Virtual Machine功能 **dism.exe /online /enable-feature /featurename:VirtualMachinePlat
2021-07-13 12:32:25 138
原创 Git 常用命令
@Git ComandGit 常用命令创建Branchgit checkout -b Test提交变更git commit -m "Test branch first commit"撤销本地提交git reset --soft HEAD~1git restore --staged Controllers/TodosController.cs代码变更比较git diff HEAD~1 Controllers/TodosController.cs拉取主分支最新代码
2021-07-09 17:00:19 93
原创 Mac Asp.NetCore+Postgres+Docker部署
MAC系统 Asp.NetCore+Postgres+Docker部署一、安装docker1.下载docker安装包https://docs.docker.com/docker-for-mac/install/选择Mac with Intel chip下载2. 安装dockerhttps://docs.docker.com/docker-for-mac/按官方文档步骤安装即可二、安装Postgres获取imagedocker pull postgres安装imagedock
2021-05-28 09:32:13 268 1
转载 NHibernate连多个数据库,NHibernate X-Factories
NHibernate X-Factories v1.2.0NHibernate X-Factories allow you to combine multiple .cfg.xml into one. X-Factories does this by allowing each session-factory to be named and refer to them individual
2016-09-04 18:30:39 895
转载 NHibernate常见问题及解决方法
NHibernate常见问题及解决方法曾经学过NHibernate的,但是自从工作到现在快一年了却从未用到过,近来要巩固一下却发现忘记了许多,一个“in expected: (possibly an invalid or unmapped class name was used in the query).”错误查了好半天终于查到了。这篇文章是我转载的NHibernate的常见错误。。。
2016-09-03 13:15:40 1411
转载 Robot framework中元素的定位
在Robot framework中元素的定位。 因为Robot framework 引入的selenium2 包,所以,假如我们学过selenium 的话,定位是一样的。因为没找到相关资料,所以,经过验证id 、name ,xpath 、css 四种定位方式是可以的,尤其后两种是“万能的”,所以可以解决99%的定位问题。 id 和name 定位
2015-09-21 23:15:51 3007
原创 ASP.net Web API允许跨域访问解决办法
遇到此跨域访问问题,解决办法如下:1. 在web.config中增加customHeaders,如下图: <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" pat
2015-09-18 13:03:01 7237
转载 StyleCop默认的规则
在StyleCop中有一些官方自己写好的检测规则下面就是英文的解释文档规则1、SA1600:ElementsMustBeDocumented元素必须添加注释2、SA1601: PartialElementsMustBeDocumented Partial修饰的成员必须添加注释3、
2015-09-14 22:15:18 699
转载 Robot Framework自动化测试环境搭建
一、 robot framework环境搭建: 官网:http://robotframework.org/序号安装包名安装方法下载地址备注1pythonexe文件,直接双击安装https://www.python.org/download/releases/2.7.8/ 一切的基础
2015-09-13 17:21:48 3977
转载 CentOS上搭建Nginx + Mono 运行 asp.net
CentOS上搭建Nginx + Mono 运行 asp.net安装步骤:一、获取开源相关程序:1、利用CentOS Linux系统自带的yum命令安装、升级所需的程序库:sudo -sLANG=Cyum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetyp
2015-04-26 12:12:57 438
转载 WebDAV Windows配置
在Win 8/7中建立WebDAV服务器的方法: 转自http://www.xitonghome.com/article/html/5461.html 第一、您必须安装互联网信息服务(IIS)和WebDAV publishing。在Windows 7中,点击“开始”,输入“Windows features”,然后按下回车。在Windows 8中,在开始屏幕上,输入“Windows f
2015-04-25 18:41:39 11436 1
原创 Oledb方式读csv文件
1. 创建Schema文件private string GenerateTextDriverSchema(string pFileFullName, CSVDelimiter pDelimiter, bool pFirstRowAsHeader){// ===Refer to:http://msdn.microsoft.com/en-us/library/windows/desktop
2013-09-30 13:33:02 2615
原创 追踪线程池所有线程是否执行完毕
RegisteredWaitHandle registeredWaitHandle = null;registeredWaitHandle = ThreadPool.RegisterWaitForSingleObject(new AutoResetEvent(false), new WaitOrTimerCallback(delegate(object obj, bool timeout)
2013-09-30 10:05:22 498
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人