.netcore
文章平均质量分 55
ling7xin
这个作者很懒,什么都没留下…
展开
-
CentOS7.6 部署.netcore6.0
前置工作 安装宝塔,MYSQL,FTP等软件 宝塔官网 目录 安装.netcore 3.1 SDK 配置Nginx反向代理 2.1 运行.netcore项目 2.2 https无法访问 配置Supervisor守护进程 安装.netcore 3.1 SDK # 添加微软官方源 rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm # 安装SDK yum install dotnet-s.原创 2020-06-15 20:32:16 · 2174 阅读 · 1 评论 -
.netcore 获取请求内容
Request.EnableBuffering(); using (var reader = new StreamReader(Request.Body, encoding: Encoding.UTF8)) { var body = reader.ReadToEndAsync(); // Do some processing with body… // Reset the request body stream position so the next middleware can read it原创 2020-06-06 21:53:16 · 663 阅读 · 0 评论