会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
miwa441
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2024年1月8日
Prism中使用DryIoc时,使用IServiceCollection注入
摘要: 安装DryIoc.Microsoft.DependencyInjection.Extension public partial class App : PrismApplication { protected override Window CreateShell() { return Contai
阅读全文
posted @ 2024-01-08 10:35 ayatip
阅读(458)
评论(0)
推荐(0)
2023年12月30日
WPF嗲用COM组件时报错“" COMException: 没有注册类(0x80040154(REGDB E CLASSNOTREG))”
摘要: 项目属性中修改目标平台为x86
阅读全文
posted @ 2023-12-30 23:56 ayatip
阅读(77)
评论(0)
推荐(0)
2023年12月1日
Debian下Docker中安装Postgres SQL
摘要: sudo docker pull postgres docker run --name pgsql -e POSTGRES_PASSWORD=123456 -d -p 5432:5432 -v /mydata/postgres/pgdata:/var/lib/postgressql/data pos
阅读全文
posted @ 2023-12-01 23:04 ayatip
阅读(81)
评论(0)
推荐(0)
2023年11月29日
使用RabbitMQ时使用MemoryPack序列化和反序列化对象
摘要: [MemoryPackable] public partial class UserEto { public String Name { get; set; } } 发送端 public class EventBus : IEventBus { public void Publish(string
阅读全文
posted @ 2023-11-29 23:22 ayatip
阅读(239)
评论(0)
推荐(0)
2023年11月5日
解决Visual Studio中基于.NET的Winform项目不显示设计器的问题
摘要: “环境” ——“预览功能”选项下可以打开该功能
阅读全文
posted @ 2023-11-05 22:37 ayatip
阅读(605)
评论(1)
推荐(1)
2023年8月7日
Cookie生命周期设置为Session,重启浏览器后Cookie仍然存在
摘要: 在Chrome中,设置下次打开浏览器时恢复当前页面,会话级别生命周期的Cookie将不会在关闭浏览器时被删除。 
阅读全文
posted @ 2023-08-07 15:07 ayatip
阅读(316)
评论(0)
推荐(0)
2023年4月27日
git删除本地缓存,使后添加的.gitignore文件生效
摘要: git rm -r --cached . // 删除本地缓存 git add . // 添加要提交的文件 git commit -m 'update .gitignore' // 更新本地的缓存
阅读全文
posted @ 2023-04-27 16:47 ayatip
阅读(91)
评论(0)
推荐(0)
2023年4月14日
EF Core配置
摘要: ### DbContext中只需要一个构造函数 点击查看代码 ``` public DemoDbContext(DbContextOptions options) : base(options) { } ``` ### 项目文件配置 api项目引用dbcontxt所在项目时,去掉dbcontext所
阅读全文
posted @ 2023-04-14 20:07 ayatip
阅读(109)
评论(0)
推荐(0)
2023年3月7日
yarn 编译react-app项目时报错[eslint] Failed to load config...
摘要: 使用 yarn start 编译项目时报错 [eslint] Failed to load config "react-app" to extend from. Referenced from: D:\hhh\react-component-demo\package.json 解决方法: 安装依赖
阅读全文
posted @ 2023-03-07 23:54 ayatip
阅读(525)
评论(0)
推荐(0)
2023年2月20日
.NET 7中连接字符串的变化
摘要: 在迁移数据库时报错,需要在连接字符串最后加上一句 server=127.0.0.1;database=xxxdb;uid=sa;pwd=123456;TrustServerCertificate=yes"
阅读全文
posted @ 2023-02-20 01:09 ayatip
阅读(62)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告