会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
备忘录~
记录下碰到的各种问题和解决方案~
博客园
首页
新随笔
联系
管理
订阅
2021年2月22日
.net core 数据库问题
摘要: 第一,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 路漫漫其修远兮~~~
阅读(315)
评论(0)
推荐(0)
2020年12月11日
.net 5.0 中 CrystalQuartz 增加授权校验
摘要: 我的环境是 .net 5.0 在 但是应该是所有版本的 CrystalQuartz 都通用这个思路. public static class ApplicationBuilderExtensions { public static void UseCrystalQuartzAuthenticate(
阅读全文
posted @ 2020-12-11 10:42 路漫漫其修远兮~~~
阅读(327)
评论(0)
推荐(0)
2020年12月8日
.net core Razor 视图预编译、动态编译
摘要: 项目 .csproj 中添加以下两个选项 为了正常发布可以生成 Views.dll 可以不加 <MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish> <RazorCompileOnBuild>false</RazorCompileOnBu
阅读全文
posted @ 2020-12-08 14:58 路漫漫其修远兮~~~
阅读(274)
评论(0)
推荐(0)
2020年7月16日
实体框架修改主键
摘要: .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 路漫漫其修远兮~~~
阅读(757)
评论(1)
推荐(1)
2020年7月7日
docker .net core 3.1.5 镜像制作
摘要: 官方 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 路漫漫其修远兮~~~
阅读(838)
评论(1)
推荐(0)
2012年11月19日
C# 中读取图片头判断图片宽高
摘要: 直接上代码,很好理解~~~ 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 路漫漫其修远兮~~~
阅读(2516)
评论(4)
推荐(0)
公告