会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
游子善心
游子的梦想
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
19
下一页
2018年12月19日
SQL Server SQL语句删除索引
摘要: 当删除索引提示超时时候,可以使用SQL语句删除索引,可以避免删除索引超时问题。 use [数据库名] drop index [索引名称] on [表名]
阅读全文
posted @ 2018-12-19 21:29 游子善心
阅读(24)
评论(0)
推荐(0)
2018年11月8日
nuget.org 发布自己的程序包
摘要: 安装 nuget 在 https://docs.microsoft.com/zh-cn/nuget/install-nuget-client-tools 选择 nuget.exe 安装。 下载下来是一个 nuget.exe 不可直接运行,随意放在一个目录,在环境变量 Path 中配置路径。 安装好了
阅读全文
posted @ 2018-11-08 10:23 游子善心
阅读(21)
评论(0)
推荐(0)
2018年10月9日
net core Autofac
摘要: 参考: https://autofaccn.readthedocs.io/zh/latest/integration/aspnetcore.html https://www.cnblogs.com/Andre/p/9604759.html
阅读全文
posted @ 2018-10-09 09:59 游子善心
阅读(7)
评论(0)
推荐(0)
2018年10月8日
asp.net api core 添加应用版本切换
摘要: 主要参考: https://github.com/Microsoft/aspnet-api-versioning Startup.cs public void ConfigureServices(IServiceCollection services) { services.AddMvc().Set
阅读全文
posted @ 2018-10-08 18:35 游子善心
阅读(9)
评论(0)
推荐(0)
2018年9月17日
.net core 使用 ConfigurationManager 读取config配置文件
摘要: 1、dotnet core 默认不支持 ConfigurationManager ,需要单独应用。 nuget System.Configuration.ConfigurationManager 2、使用 ConfigurationManager.ConnectionStrings["xxxxx"]
阅读全文
posted @ 2018-09-17 17:35 游子善心
阅读(46)
评论(0)
推荐(0)
2018年8月15日
Elasticsearch Reindex 性能提升10倍
摘要: 1、reindex的速率极慢,是否有办法改善? 以下问题来自社区:https://elasticsearch.cn/question/3782 问题1:reindex和snapshot的速率极慢,是否有办法改善? reindex和snapshot的速率比用filebeat或者kafka到es的写入速
阅读全文
posted @ 2018-08-15 10:06 游子善心
阅读(41)
评论(0)
推荐(0)
2018年6月23日
ffmpeg 视频格式转换
摘要: 转 Mp4 格式 #> ffmpeg -i input.avi -c:v libx264 output.mp4 #> ffmpeg -i input.avi -c:v libx264 -strict -2 output.mp4 #> ffmpeg -i input.avi -c:v libx264
阅读全文
posted @ 2018-06-23 16:53 游子善心
阅读(9)
评论(0)
推荐(0)
2018年5月24日
SQL Server 字段和对应的说明操作(SQL Server 2005 +)
摘要: 添加说明 EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'【说明文字】' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level
阅读全文
posted @ 2018-05-24 18:20 游子善心
阅读(11)
评论(0)
推荐(0)
2018年5月10日
Ef 数据结构变化更新(保留数据)
摘要: 1. 打开工具-->NuGet包管理器-->程序包管理器控制台 2.在PM>后面输入Enable-Migrations -ContextTypeName DatabaseName(如果执行失败,就参考失败信信息重新输入,失败信息提示的非常明确;DatabaseName是你生成的数据库名字),然后你发
阅读全文
posted @ 2018-05-10 19:57 游子善心
阅读(14)
评论(0)
推荐(0)
2018年4月4日
elasticsearch 的安全配置
摘要: 在 config/elasticsearch.yml 中为9200端口设置认证: http.basic.enabled true #开关,开启会接管全部HTTP连接 http.basic.user "admin" #账号 http.basic.password "admin_pw" #密码 http
阅读全文
posted @ 2018-04-04 14:34 游子善心
阅读(40)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
19
下一页
公告