上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 25 下一页
摘要: 上传类: using System; using System.Text; using System.IO; using System.Net; namespace FtpLib { public class FtpWeb { string ftpServerIP; string ftpRemote 阅读全文
posted @ 2020-07-22 09:20 刘小吉 阅读(1471) 评论(0) 推荐(2)
摘要: 1 .Net Core 2.X时代 public IActionResult Index() { Request.EnableRewind(); using (var reader = new StreamReader(Request.Body)) { var body = reader.ReadT 阅读全文
posted @ 2020-06-23 14:04 刘小吉 阅读(1466) 评论(1) 推荐(0)
摘要: 原文地址: http://blog.cn/git-branch.html 许多公司的开发团队都采用Git来做代码版本控制。如何有效地协同开发人员之间,以及开发、测试、上线各环节的工作,可能都有各自的流程与规范。本文分享的是作者一直沿用的团队项目Git分支管理规范,希望给有缘阅读的人以参考,如果有更好 阅读全文
posted @ 2020-06-04 14:21 刘小吉 阅读(589) 评论(0) 推荐(0)
摘要: 一.NET core升级3.1 .NET Core 3.1 作为LTS长期支持版本,会提供3年的支持(明年就出.net5),值得升级(吗)。 目前主流的第三方包大多都已经提供了支持,2.x => 3.1还是变化不是特别多,EF Core坑就大咯,谨慎。 ASP.NET Core 3.1 的新增功能 阅读全文
posted @ 2020-05-06 17:09 刘小吉 阅读(833) 评论(0) 推荐(0)
摘要: 早期版本 string sql = ((System.Data.Objects.ObjectQuery)query).ToTraceString(); 2.0版本 using System.Linq; using System.Reflection; using Microsoft.EntityFr 阅读全文
posted @ 2020-04-24 10:55 刘小吉 阅读(1357) 评论(0) 推荐(0)
摘要: using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Data.SqlClient; using System.Linq; using System.Reflecti... 阅读全文
posted @ 2019-10-23 17:07 刘小吉 阅读(561) 评论(1) 推荐(0)
摘要: 参考地址:http://www.therealtimeweb.com/index.cfm/2011/10/24/iis-error-0x800704BE 阅读全文
posted @ 2019-10-23 17:05 刘小吉 阅读(580) 评论(0) 推荐(0)
摘要: 扩展方法 使用方式 高级用法: list转化 使用方式 阅读全文
posted @ 2019-10-10 15:56 刘小吉 阅读(292) 评论(0) 推荐(0)
摘要: 在项目中动态拼接sql语句,使用union all连接结果集,每个查询语句都使用了in(几百个数值)。语句如: 当in和union all 很多时执行就会发生异常 ”查询处理器用尽了内部资源,无法生成查询计划。这种情况很少出现,只有在查询极其复杂或引用了大量表或分区时才会出现。请简化查询。如果您认为 阅读全文
posted @ 2019-09-24 16:24 刘小吉 阅读(1453) 评论(0) 推荐(0)
摘要: 什么是中间件(Middleware)? 中间件是组装到应用程序管道中以处理请求和响应的软件。 每个组件: 选择是否将请求传递给管道中的下一个组件。 可以在调用管道中的下一个组件之前和之后执行工作。 请求委托(Request delegates)用于构建请求管道,处理每个HTTP请求。 请求委托使用R 阅读全文
posted @ 2019-09-09 10:34 刘小吉 阅读(354) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 25 下一页