摘要: 原文链接 问题描述: 发送邮件程序,突然某一天遇到不能发送邮件。 IIS可以正常发送邮件 服务与程序不能发送 程序在本机能发送,在服务器不能发送,说明不是程序问题 一定有东西阻止了程序发送邮件 IIS能发送,说明不是端口问题,也大胆假设不存在端口同时占用的情况。。这个很容易验证,关闭IIS,启动程序 阅读全文
posted @ 2021-08-05 10:59 清风神剑 阅读(724) 评论(0) 推荐(0) 编辑
摘要: 域名不要带https等协议,可以查出来 using System; using System.Net.Security; using System.Net.Sockets; using System.Security.Authentication; using System.Security.Cry 阅读全文
posted @ 2021-08-02 09:33 清风神剑 阅读(591) 评论(0) 推荐(0) 编辑
摘要: 简单记录一下费了一个小时的坑 NET5教程 https://www.cnblogs.com/netlock/p/14101491.html 报错 ocelot Failed to match Route configuration for upstream path 解答 这是本质答案 ocelot 阅读全文
posted @ 2021-06-17 17:44 清风神剑 阅读(234) 评论(0) 推荐(0) 编辑
摘要: https://gitee.com/ZJ69719496/console-ext/blob/master/ConsoleColor/ConsoleExt.cs#源文档 已发布到nugethttps://www.nuget.org/packages/ConsoleExtClass/ 安装Install 阅读全文
posted @ 2021-05-17 16:42 清风神剑 阅读(121) 评论(0) 推荐(0) 编辑
摘要: using Aspose.Words;using Aspose.Words.Drawing;using Aspose.Words.Tables; /// <summary> /// 行合并,根据同名合并,同名必须先排序排好 /// </summary> /// <param name="table" 阅读全文
posted @ 2021-04-06 17:20 清风神剑 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: 安装NPOI.Excel ,NPOI using System;using System.Collections.Generic;using System.DirectoryServices;using System.IO;using System.Reflection;using Newtonso 阅读全文
posted @ 2021-03-20 13:45 清风神剑 阅读(596) 评论(0) 推荐(0) 编辑
摘要: docx插入域基本方法 打开文件 AsposeWordHelper helper = new AsposeWordHelper(); string templatePath = HttpContext.Current.Server.MapPath("~/Word/11.docx"); //模板路径 阅读全文
posted @ 2021-03-19 17:16 清风神剑 阅读(1079) 评论(0) 推荐(0) 编辑
摘要: 效果图,改了图标 样式树 <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xa 阅读全文
posted @ 2021-02-19 12:01 清风神剑 阅读(2112) 评论(1) 推荐(1) 编辑
摘要: <!--1V按钮样式--> <Style TargetType="Button" x:Key="UButtonStyleOneVideo"> <Setter Property="Height" Value="20" /> <Setter Property="Width" Value="20" /> 阅读全文
posted @ 2021-02-19 11:52 清风神剑 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 导出Excel在谷歌没问题,在IE下就。。。不得不吐槽,我用微软的技术导出微软的东西居然乱码,在谷歌居然不乱码。。。 解决办法:先贴高手的 https://blog.csdn.net/u014353113/article/details/84784680 /// <summary> /// 通过流导 阅读全文
posted @ 2020-02-25 17:22 清风神剑 阅读(646) 评论(2) 推荐(0) 编辑