摘要: 如题再做查询的时候报了这个错误。 原代码如下: public virtual async Task<PagedList<ApiScope>> GetApiScopesAsync(string search, int page = 1, int pageSize = 10) { var pagedLi 阅读全文
posted @ 2024-03-12 16:36 hello_stone 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1、自己生成证书,需要用到openssl,官方下载地址 https://slproweb.com/products/Win32OpenSSL.html 2、到安装目录:C:\Program Files\OpenSSL-Win64\bin打开cmd,或配置class环境变量 3、创建密钥(zamone 阅读全文
posted @ 2024-01-02 10:57 hello_stone 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 如题, 查看日志发现错误信息: No signing credential for algorithms (rs256) registered 而客户端的配置里的“身份令牌算法”没有rs256 于是加上就ok了。 阅读全文
posted @ 2023-11-29 11:10 hello_stone 阅读(13) 评论(0) 推荐(0) 编辑
摘要: mvn install:install-file -DgroupId=zac.fc -DartifactId=aeswithjec-20171214 -Dversion=2.0.0 -Dpackaging=jar -Dfile=E:\shiqr\lib\aeswithjec-20171214.jar 阅读全文
posted @ 2023-11-09 15:52 hello_stone 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 最近碰到上传文件后,后台的vs调试自动终止的问题,postman则不会,百思不得其解。最后找到一篇文章(VS上传图片就终止调试问题_输出被调试程序截断_mike0127的博客-CSDN博客)解决了我的问题。 点击VS【工具】-【选项】-【项目和解决方案】-【Web项目】将【在浏览器窗口关闭时停止调试 阅读全文
posted @ 2023-10-27 10:37 hello_stone 阅读(17) 评论(0) 推荐(0) 编辑
摘要: package.json { "name": "CmsWap", "version": "1.0.0", "description": "", "main": "main.js", "dependencies": { "vue-pdf": "^4.3.0" }, "devDependencies": 阅读全文
posted @ 2023-08-04 14:04 hello_stone 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 步骤按照官方的来就行 API/Dynamic CSharp API Clients | Documentation Center | ABP.IO 但有一点要注意,这也是官方文档没提及的,比如你在application这一层调用另一个项目的api客户端 则要在application层的module里 阅读全文
posted @ 2023-08-03 15:54 hello_stone 阅读(58) 评论(0) 推荐(0) 编辑
摘要: net5 发布到ISS报错 500.19 “处理程序“aspNetCore”在其模块列表中有一个错误模块“AspNetCoreModule2” 重新安装了 aspnetcore-runtime-5.0.17-win-x64.exe dotnet-sdk-5.0.214-win-x64.exe dot 阅读全文
posted @ 2023-01-31 16:22 hello_stone 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 客户端代码 JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear(); services.AddAuthentication(options => { options.DefaultScheme = CookieAuthentication 阅读全文
posted @ 2023-01-30 15:03 hello_stone 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 在abp开发中遇到一个大坑 就是service的名称必须与接口名”I“后面的名称完全一致,否则不会注入 如: public class AccountService : ApplicationService, IAccountsService AccountService 与 IAccountsSe 阅读全文
posted @ 2022-12-07 11:05 hello_stone 阅读(92) 评论(1) 推荐(0) 编辑