随笔分类 -  abp

摘要:原因:代码安全机制 但是吧,他这个还是不够安全,因为我发现,可以通过手动修改URL为/UI的方式,将页面指到正确的登录页面。 堵死这个通道的方式,还需要从根源解决: https://www.cnblogs.com/lishidefengchen/p/14945798.html 阅读全文
posted @ 2021-09-06 09:57 lishidefengchen 编辑
摘要:对IDE进行一下设置即可:https://aspnetboilerplate.com/Pages/Documents/Debugging 阅读全文
posted @ 2021-06-29 14:42 lishidefengchen 编辑
摘要:abp项目默认继承swagger,但我们不想随意的把我们的接口文档暴漏给外部,这样是极其不安全的; 但,我在网上找了一圈,针对.net的解决方案我反正是没找到,没办法,最后自己想了个招儿,我让api在生产部署的时候不暴漏,只允许在我们的测试环境上才可以查看; 其实,很简单,就是对环境变量进行一下判断 阅读全文
posted @ 2021-06-28 18:33 lishidefengchen 编辑
摘要:参考官网介绍:https://aspnetboilerplate.com/Pages/Documents/Audit-Logging 阅读全文
posted @ 2019-10-25 09:57 lishidefengchen 编辑
摘要:新建页面 创建按对应的模块和实体 新建的模块需要进行注册 阅读全文
posted @ 2019-05-09 10:16 lishidefengchen 编辑
摘要:import { AppComponentBase } from '@shared/app-component-base'; this.permission.isGranted(menuItem.permissionName); 阅读全文
posted @ 2019-04-30 09:34 lishidefengchen 编辑
摘要:public class SchedulerManager : ISingletonDependency { private ILogger logger; public SchedulerManager(ILogger Loger) { logger = Loger; } 阅读全文
posted @ 2019-04-17 14:48 lishidefengchen 编辑
摘要:app.UseHangfireServer() 放到 app.UseAbp() 前面 作者: zhaok 出处: http://dotnetmonkey.cnblogs.com/ 阅读全文
posted @ 2019-04-15 15:46 lishidefengchen 编辑
摘要:前引 apb部署 后端服务9900端口,域名访问地址是:http://nihao-api.hellow.com; 前端4200端口,域名访问地址是:http://nihao.hellow.com; 前后端的配置文件该如何配置? (注意:下面图片中的地址写错了,按上面的对应替换理解,都是子域名) 前端 阅读全文
posted @ 2019-04-12 09:52 lishidefengchen 编辑
摘要:用的字体建议下载到本地,否则部署环境没有网络的话,则图片字体会不正常显示。 阅读全文
posted @ 2019-04-04 11:19 lishidefengchen 编辑
摘要:abp 项目默认的路由没有使用hash,这会导致手动刷新浏览器时,页面404错误; 解决方法网上很多,就是在路由里添加一个{useHash: true},就行了。 #用Hash带来的新问题# abp框架,用hash后,发现登录界面不跳转; 调试跟踪后,发现我们需要在它的登录服务里再单独处理一下这中h 阅读全文
posted @ 2019-04-04 10:13 lishidefengchen 编辑
摘要:安装 Current .NET Core Hosting Bundle installer (direct download) 阅读全文
posted @ 2019-04-03 17:13 lishidefengchen 编辑
摘要:EntityFrameworkCore项目--Nuget包管理,卸载包: Microsoft.EntityFrameworkCore.SqlServer; EntityFrameworkCore项目和Host项目--Nuget包管理,添加包: Pomelo.EntityFrameworkCore.M 阅读全文
posted @ 2017-11-14 16:00 lishidefengchen 编辑

点击右上角即可分享
微信分享提示