摘要: Windows查看TCP连接(netstat) netstat -ant -p TCP 点击查看详细 显示协议统计信息和当前 TCP/IP 网络连接。 NETSTAT [-a] [-b] [-e] [-f] [-n] [-o] [-p proto] [-r] [-s] [-t] [-x] [-y] 阅读全文
posted @ 2022-10-10 14:00 任锋 阅读(44) 评论(0) 推荐(0)
摘要: 一般 ASP.NET Core Documentation - 官方ASP.NET核心文档站点。 .NET Core Documentation - .NET Core,C#,F#和Visual Basic技术文档的主页,包括基本概念,入门说明,教程和示例。 .NET Core SDK - .NET 阅读全文
posted @ 2022-08-23 19:50 任锋 阅读(1945) 评论(0) 推荐(0)
摘要: 一、下载 https://www.enterprisedb.com/download-postgresql-binaries 进入网址,选择适合自己系统的版本 二、下载好的zip包解压,并创建一个data文件用来存放数据 三、初始化数据库 命令行进入bin目录,执行以下代码: initdb.exe 阅读全文
posted @ 2022-04-04 17:05 任锋 阅读(602) 评论(0) 推荐(0)
摘要: 安装postgresql: sudo apt-get install postgresql sudo -u postgres psql 以下内容内容都是在 postgres=# 下输入 ALTER USER postgres WITH PASSWORD '123456'; # 密码设置为123455 阅读全文
posted @ 2022-01-06 11:23 任锋 阅读(194) 评论(0) 推荐(0)
摘要: Consul 是一个支持多数据中心分布式高可用的服务发现和配置共享的服务软件, 由 HashiCorp 公司用 Go 语言开发, 基于 Mozilla Public License 2.0 的协议进行开源。 启动 cmd 命令窗口执行:consul agent -dev consul 自带 UI 界 阅读全文
posted @ 2021-10-27 11:59 任锋 阅读(672) 评论(0) 推荐(0)
摘要: 下载网址 https://www.elastic.co/cn/elastic-stack/ elasticsearch.yml 修改 network.host 为 0.0.0.0 配置cluster.initial_master_nodes为当前node,默认为注释,放开注释就行了 cluster. 阅读全文
posted @ 2021-09-14 13:04 任锋 阅读(120) 评论(0) 推荐(0)
摘要: C:\Program Files\dotnet\sdk\3.1.408\NuGet.targets(128,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [C: 阅读全文
posted @ 2021-05-05 23:09 任锋 阅读(452) 评论(0) 推荐(0)
摘要: 动态添加dll string callingDomainName = AppDomain.CurrentDomain.FriendlyName; AppDomain ad = AppDomain.CreateDomain("DLL Unload test"); ProxyObject obj = ( 阅读全文
posted @ 2021-03-30 23:34 任锋 阅读(415) 评论(0) 推荐(0)
摘要: dotnet ef dbcontext scaffold "Host=localhost;Database=skywind_structure;Username=postgres;Password=123456" Npgsql.EntityFrameworkCore.PostgreSQL -d -f 阅读全文
posted @ 2020-10-21 15:29 任锋 阅读(274) 评论(0) 推荐(0)
摘要: 1.先在服务器添加证书 makecert.exe -sr LocalMachine -ss My -a sha1 -n CN=TestServer -sky exchange -pe 2.设置证书的权限,everyone添加读取权限 3.服务器端配置 <security mode="Message" 阅读全文
posted @ 2020-05-29 16:09 任锋 阅读(141) 评论(0) 推荐(0)