-
Rougamo非常不错!简直太符合我的胃口了,简单明了,功能强大。感谢作者的心血投入。
这几天在做各种测试,目前发现一个问题,全网找来找去,还好找到这里了。
刚刚看了你的3.0版的文章,里面说2.0版本不支持步入调试,3.0以后支持了。
但这和我碰到的问题差别有点大。
我碰到的问题是:在4.0版本下,代码可以正常进入事务,但在具体的方法内部,所有的对象、变量的值均无法查看,调试仍然可以一步…
-
肉夹馍应该从实现类构造中拿到一个 IServiceProvider 才对
hzy-6 updated
1 month ago
-
版本:3.0
是我哪里没引用?
以下是模拟环境,另外的项目也差不多
类项目直接引用肉夹馍 并基于MoAttribute扩展了自己的特性,在入口项目中引用且已经引用rougamo.fody
![image](https://github.com/inversionhourglass/Rougamo/assets/3986116/f3e97196-2126-4963-89b4-5d84…
-
哈哈,还是我!
这次问题应该与之前的无关。
我有个抽象的blazor泛型组件(编译后就是个类)
blazor组件有几个生命周期方法,我在这些方法上应用了自定义的MoAttribute做拦截,处理全局异常。
但执行时,报错。
```
GenericArguments[0], 'TEntityDto', on 'BXJG.Utils.RCL.Components.TreeListBas…
-
最近接触 blazor SSR,使用 AsyncLocal 的方式存储 IServiceProvider 不再凑效了。
blazor SSR 的特点是长连接,ioc Scoped 正常使用没问题,AsyncLocal 在这种模式下很容易丢失上下文,原因是长链接各种异步 UI 操作,一言难尽。
希望肉夹馍提供与 IServiceProvider 设置有关的方式。
-
提示System.NotSupportedException
编译报错堆栈:
1>MSBUILD : error : Fody: An unhandled exception occurred:
1>MSBUILD : error : Exception:
1>MSBUILD : error : Failed to execute weaver C:\Users\Diego\.nu…
-
具体的异常信息如下:
严重性 代码 说明 项目 文件 行 禁止显示状态 详细信息
错误 Fody: An unhandled exception occurred:
Exception:
Failed to execute weaver C:\Users\admin\.nuget\packages\rougamo.fody\2.3.0\build\..\weaver\Rougamo.Fo…
-
> `public class TryCatchAttribute : MoAttribute`
> `public class TryCatchAttribute : MoAttribute`
我设置了这样两条特性,`TryCatchAttribute` 可以正常使用 但是 `TryCatchAttribute` **出错**。
代码上他们长这样
```
[TryCatch…
-
由于3.0版本中使用代理调用的方式进行代码织入,这种方式会导致async void方法织入的代码无法确保在实际方法执行完毕后执行`OnExit`系列方法,下面是3.0版本前后对于async void方法织入代码后的简单代码对比示例:
```csharp
// 原始方法
public async void MAsync()
{
Console.WriteLine(1);
…
-
方法返回自定义AsyncMethodBuilder,AOP异常,Rougamo的官方版本
>MSBUILD : error : Type:
10>MSBUILD : error : System.Exception
10>MSBUILD : error : StackTrace:
10>MSBUILD : error : 在 InnerWeaver.ExecuteWeavers() …