摘要: 第一,ssl 问题看下面 https://docs.microsoft.com/zh-CN/sql/connect/ado-net/sqlclient-troubleshooting-guide?view=sql-server-linux-ver15 第二,连接问题看下面, https://www. 阅读全文
posted @ 2021-02-22 16:30 路漫漫其修远兮~~~ 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 我的环境是 .net 5.0 在 但是应该是所有版本的 CrystalQuartz 都通用这个思路. public static class ApplicationBuilderExtensions { public static void UseCrystalQuartzAuthenticate( 阅读全文
posted @ 2020-12-11 10:42 路漫漫其修远兮~~~ 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 项目 .csproj 中添加以下两个选项 为了正常发布可以生成 Views.dll 可以不加 <MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish> <RazorCompileOnBuild>false</RazorCompileOnBu 阅读全文
posted @ 2020-12-08 14:58 路漫漫其修远兮~~~ 阅读(243) 评论(0) 推荐(0) 编辑
摘要: .net Entity Framework 修改主键会提示这玩意,需要删除表,然后重建.. To change the IDENTITY property of a column, the column needs to be dropped and recreated. 对于没有数据的表,可以这样 阅读全文
posted @ 2020-07-16 16:33 路漫漫其修远兮~~~ 阅读(628) 评论(1) 推荐(1) 编辑
摘要: 官方 dockerfile ARG REPO=mcr.microsoft.com/dotnet/core/runtime FROM $REPO:3.1-buster-slim # Install ASP.NET Core RUN aspnetcore_version=3.1.5 \ && curl 阅读全文
posted @ 2020-07-07 09:48 路漫漫其修远兮~~~ 阅读(824) 评论(1) 推荐(0) 编辑
摘要: 直接上代码,很好理解~~~ 1 public static class ImageHeader 2 { 3 const string errorMessage = "Could not recognise image format."; 4 5 private static Dictionary<byte[], Func<BinaryReader, Size>> imageFormatDecoders = new Dictionary<byte[], Func<BinaryReader, Size>>() 6 ... 阅读全文
posted @ 2012-11-19 13:06 路漫漫其修远兮~~~ 阅读(2454) 评论(4) 推荐(0) 编辑