摘要:
第一,ssl 问题看下面 https://docs.microsoft.com/zh-CN/sql/connect/ado-net/sqlclient-troubleshooting-guide?view=sql-server-linux-ver15 第二,连接问题看下面, https://www. 阅读全文
摘要:
我的环境是 .net 5.0 在 但是应该是所有版本的 CrystalQuartz 都通用这个思路. public static class ApplicationBuilderExtensions { public static void UseCrystalQuartzAuthenticate( 阅读全文
摘要:
项目 .csproj 中添加以下两个选项 为了正常发布可以生成 Views.dll 可以不加 <MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish> <RazorCompileOnBuild>false</RazorCompileOnBu 阅读全文
摘要:
.net Entity Framework 修改主键会提示这玩意,需要删除表,然后重建.. To change the IDENTITY property of a column, the column needs to be dropped and recreated. 对于没有数据的表,可以这样 阅读全文
摘要:
官方 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 阅读全文
摘要:
直接上代码,很好理解~~~ 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 ... 阅读全文