Blog.Core
Blog.Core copied to clipboard
💖 ASP.NET Core 8.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:
【PermissionController】中【Assign】我改了代码如下: ``` /// /// 保存菜单权限分配 /// /// /// [HttpPost] public async Task Assign([FromBody] AssignView assignView) { var data = new MessageModel(); if (assignView.rid > 0) { //重新赋予的菜单按钮集合 var currentownpermissionIdlist =...
1.让配置文件更具可读性,根据功能等信息分类 2.直接配置需要加入的自定义配置文件夹,自动完成配置合并 3.支持绝对路径文件夹,为某些秘钥配置提供便利 (将秘钥配置文件存放在项目之外,push 源代码时就不会上传了,生成时会自动生成到项目输出目录)
如何创建新的队列。EventBus里参数SubscriptionClientName是对应的队列,整个系统只能有一个队列吗?我尝试向这个队列里增加新的业务,只能增加RoutingKey。我想增加新的队列,如何增加呢?谢谢!
UnitOfWork 中取消ILogger _logger日志记录 仅Console输出 可能记录不到回滚日志
``` using System; using System.Collections.Generic; using System.ComponentModel; using System.Reflection; using System.Text; namespace SEP.Common { /// /// 对象转换 /// public class ModelMapHelper { /// /// 合并数据 把origin的数据合并到obj中 /// /// 原类型 ///...
IBaseRepository接口: ``` //使用其他Model的方法 Task Query(); Task Query(Expression whereExpression); Task QueryById(object objId); Task Add(T model) where T : class, new(); Task Add(List listEntity) where T : class, new(); Task Update(T model)...
`Error unprotecting the session cookie. System.Security.Cryptography.CryptographicException: The key {cb2affcd-2b20-482d-9e79-602bc4b5868d} was not found in the key ring. For more information go to https://aka.ms/aspnet/dataprotectionwarning at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status) at...