会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
maxwelltsai
博客园
首页
新随笔
联系
订阅
管理
2023年4月18日
winform 使用依赖注入
摘要: using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensi
阅读全文
posted @ 2023-04-18 16:34 maxwelltsai
阅读(641)
评论(0)
推荐(0)
2023年4月14日
WPF 使用依赖注入
摘要: 修改App.xaml.cs 重新OnStartup和OnExit方法 并使用Host启动 解析appsettings.json配置文件 在App.xaml中删除StartUri属性,否则会启动多个MainWindow 包引用信息如下: Microsoft.Extensions.Configurati
阅读全文
posted @ 2023-04-14 09:24 maxwelltsai
阅读(336)
评论(0)
推荐(0)
2023年2月24日
ubuntu安装mysql并设置忽略大小写
摘要: 更新apt包管理 sudo apt-get update 安装mysql-server sudo apt-get install mysql-serverc 正常情况下安装完后mysql已启动,查看mysql状态 systemctl status mysql.service 配置远程访问 sudo
阅读全文
posted @ 2023-02-24 09:01 maxwelltsai
阅读(89)
评论(0)
推荐(0)
2021年10月14日
net5 接入 paypal支付 v2
摘要: paypal支付流程 1、创建订单(Checkout) => 获取订单中返回的rel=approve的连接,这是需要用户授权的账单 => 用户授权后paypal回调CHECKOUT.ORDER.APPROVED事件,账单授权后服务端发起扣款请求(Capture)=> paypal回调CAPTURE.
阅读全文
posted @ 2021-10-14 18:04 maxwelltsai
阅读(840)
评论(0)
推荐(0)
2021年8月5日
linux安装docker错误 'overlay2' is not supported over overlayfs
摘要: linux docker error
阅读全文
posted @ 2021-08-05 10:09 maxwelltsai
阅读(3215)
评论(0)
推荐(0)
2019年7月29日
grpc C# 应用
摘要: grpc共有四种模式:一般模式、输入流式、输出流式、双向流式 该demo采用一个普通grpc例子和一个输出流式例子 entity.proto user.proto 执行tool命令生成c#类文件 protoc.exe -I=. --csharp_out=. --grpc_out=. --plugin
阅读全文
posted @ 2019-07-29 15:50 maxwelltsai
阅读(1448)
评论(0)
推荐(0)
2019年4月2日
Method not found: 'System.Reflection.MethodInfo Microsoft.EntityFrameworkCore.Query.EntityQuery Model Visitor.get_SelectAsyncMethod()'.
摘要: 使用efcore获取dbset的记录数时异常,添加nuget引用
阅读全文
posted @ 2019-04-02 10:04 maxwelltsai
阅读(1217)
评论(0)
推荐(0)
公告
点击右上角即可分享