这个不是nginx的问题,也不是dotnet core的问题,也不是mvc的问题,更不是防火墙的问题!原因在于这个SeLinux把它关了就可以了setsebool -P httpd_can_network_connect 1作者:仓储大叔,张占岭, 荣誉:微软MVP
原创 2022-08-26 07:56:06
51阅读
基础环境配置# 域名和服务器请先自行购买 基于 云服务器ECS 创建一个应用实例,选择系统镜像为 Ubuntu 16.04,在本机通过 SSH 进行远程连接,并进行相关配置 Copy ssh root@http://39.108.48.203/ sudo apt-get update sudp ap
qt
原创 2021-07-15 15:24:46
92阅读
安装docker系统还是之前centos 7.1 yum update创建源: /etc/yum.repos.d/docker.repotee /etc/yum.repos.d/docker.repo <<-'EOF'[dockerrepo]name=Docker Repositorybaseurl=https://yum.dockerproject.org/repo/main/cen
原创 2021-04-01 22:24:34
404阅读
title author date CreateTime categories dot net core 使用 usb lindexi 2018-09-21 19:53:34 +0800 2018-04-14 15:22:47 +0800 dotnetcore usb dotnet ...
原创 2021-06-29 15:07:44
153阅读
title author date CreateTime categories dotnet core 编程规范 lindexi 2018-08-10 19:16:52 +0800 2018-05-06 14:57:14 +0800 dotnet 本文实际只是翻译 .NET C...
原创 2021-06-29 13:59:20
266阅读
   dotnetcore执行shell脚本         我们可以使有dotnetcore跨平台的特性,优雅的实现在dotnetcore执行shell (bash).  代码如下:using System;using System.Collections.Generic;using System.Text;namespace hshoc{    using System.Diagn
转载 2021-05-04 23:47:37
287阅读
2评论
NETCORE3.0开始,可以发布单文件,参考https://..com/ZaraNet/p/117905.html 发布后(config目录 是手工复制进去的) 运行时,先解压释放至临时目录 执行路径 杜绝一切外部config的可能了简单的反编译(知道原理,直接上临时文件夹中去找解压后的文件即可)  关于ReadyToRun的描述,参考https://lindexi.os
转载 2020-01-09 10:13:00
94阅读
2评论
title author date CreateTime categories dotnet core 使用 GBK 编码 lindexi 2019-11-29 08:32:11 +0800 2019-8-29 9:38:8 +0800 dotnet 本文告诉大家如何在 .NET...
原创 2021-06-29 11:17:15
561阅读
原创 2021-07-19 13:47:25
73阅读
title author date CreateTime categories dotnet core 使用 GBK 编码 lindexi 2019-11-17 16:36:27 +0800 2019-8-29 9:38:8 +0800 dotnet 本文告诉大家如何在 .NET...
原创 2021-06-25 14:59:30
302阅读
title author date CreateTime categories dotnet core 使用 GBK 编码 lindexi 2019-11-17 16:36:27 +0800 2019-8-29 9:38:8 +0800 dotnet 本文告诉大家如何在 .NET...
原创 2021-06-25 14:59:41
234阅读
win10,iis安装 WindowsHosting 1、链接地址https://chocolatey.org/packages/dotnetcore-windowshosting/2.2.3 2、新建一个bat文件 choco install dotnetcore-windowshosting -
原创 2021-07-20 15:39:05
565阅读
title author date CreateTime categories dotnet core 导出 COM 组件 lindexi 2019-09-22 20:25:38 +0800 2019-09-22 20:13:16 +0800 dotnet 在 dotnet co...
原创 2021-06-25 15:00:33
337阅读
title author date CreateTime categories dotnet core 使用 PowerShell 脚本 lindexi 2019-08-31 16:55:58 +0800 2019-02-24 11:54:11 +0800 dotnet dotnetcore P...
原创 2021-06-25 15:27:37
213阅读
dotnetCore 线程终止问题,我们用中断解决不想看废话的直接用这个方法:Interrupt();链接
原创 2022-10-21 18:11:12
210阅读
 最近公司框架升级到DotNetCore了,但是在用post请求的时候,发现页面的post data后台并没有接收到数据,经过调查发现,netcore用法和之前的MVC5不一样,想要接收post里的data,就需要在写接口的入参增加个属性[FromBody] #region 发布订单 /// <summary> /// 发布订单
转载 2023-09-08 17:55:09
31阅读
title author date CreateTime categories dotnet core 添加 SublimeText 编译插件 lindexi 2018-08-29 08:53:47 +0800 2018-08-12 10:52:54 +0800 dotnetcore subli...
原创 2021-06-25 18:09:37
861阅读
按照文中步骤,很简单
原创 2021-07-23 16:47:01
91阅读
定义接口 public interface IPerson { void Speak(string msg); } 实现比较简单,直接上代码 :) public class Builder { public string Test() { var myType= BuilderClass(); va ...
转载 2021-07-13 14:06:00
226阅读
本教程的前提是,你已经在Linux服务器上已经成功的安装了Docker,我会大概介绍在此过程中用到的Docker命令,并不会介绍所有的Docker命令(因为我也不会)。一、在Docker中运行Dotnet Core Hello World微软官方提供了已经集成好Dotnet Core运行所需环境的Docker Image,我们可以直接使用命令:docker run -it microsoft/do
转载 2023-07-14 10:37:51
89阅读
  • 1
  • 2
  • 3
  • 4
  • 5