会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
v587yy
博客园
首页
新随笔
联系
管理
订阅
2022年5月25日
linux安装consul集群
摘要: nohup consul agent -server -ui -bootstrap-expect=1 -data-dir=/tmp/consul -node=consul-1 -client=0.0.0.0 -bind=0.0.0.0 -datacenter=dc1 -config-dir /etc
阅读全文
posted @ 2022-05-25 17:44 v587yy
阅读(72)
评论(0)
推荐(0)
2021年6月1日
.net core mvc 中 List超过100条会置为null
摘要: start.up 添加FormOptions services.Configure<FormOptions>(options => { options.ValueCountLimit = int.MaxValue; // 5000 items max //options.ValueLengthLim
阅读全文
posted @ 2021-06-01 14:18 v587yy
阅读(121)
评论(0)
推荐(0)
2021年5月27日
韩文显示为??
摘要: Console.OutputEncoding = Encoding.UTF8;
阅读全文
posted @ 2021-05-27 13:51 v587yy
阅读(40)
评论(0)
推荐(0)
.net core 中 图片转pdf 报错'windows-1252' is not a supported encoding name
摘要: .net core 缺少 需要在 NuGet 里添加 System.Text.Encoding.CodePages 然后再startup添加注册 或者使用时注册 Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
阅读全文
posted @ 2021-05-27 13:35 v587yy
阅读(201)
评论(0)
推荐(0)
2021年4月12日
.net core web 调试中修改页面
摘要: 添加nuget包 Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation; Startup.cs 添加services.AddControllersWithViews().AddRazorRuntimeCompilation();
阅读全文
posted @ 2021-04-12 16:19 v587yy
阅读(224)
评论(0)
推荐(0)
2021年1月7日
http post 请求数据时提示 基础连接已关闭 发送时发生错误
摘要: ServicePointManager.ServerCertificateValidationCallback = delegate { return true; }; ServicePointManager.SecurityProtocol = (SecurityProtocolType)192
阅读全文
posted @ 2021-01-07 14:36 v587yy
阅读(561)
评论(0)
推荐(0)
2020年12月17日
http Get 发送body数据
摘要: public static string HttpGet(string Url, string header = "", string senddata = "") { //byte[] dataArray = System.Text.Encoding.UTF8.GetBytes(senddata)
阅读全文
posted @ 2020-12-17 17:15 v587yy
阅读(1643)
评论(0)
推荐(0)
2020年4月14日
基于iis下 wcf接口发布
摘要: 添加新建项目 在默认程序中 配置 web.config文件 配置 system.serviceModel <services> <service name="s.Service1"> <endpoint binding="webHttpBinding" behaviorConfiguration="
阅读全文
posted @ 2020-04-14 16:07 v587yy
阅读(336)
评论(0)
推荐(0)
2020年3月9日
Centos7安装分区工具gparted
摘要: 作为一个linux小白 当然是选择可视化界面分区工具 sudo yum install epel-release sudo yum install gparted
阅读全文
posted @ 2020-03-09 16:49 v587yy
阅读(4617)
评论(0)
推荐(0)
2020年1月7日
windows下 .Net Core 运行环境部署
摘要: .Net Core 运行环境部署 安装运行环境 https://dotnet.microsoft.com/download/dotnet-core/current/runtime 下载安装完成后 运行cmd 输入dotnet --version 如果系统提示如下 安装c++环境 https://ww
阅读全文
posted @ 2020-01-07 15:15 v587yy
阅读(3890)
评论(0)
推荐(0)
下一页
公告