摘要:
前面还好好的,今天线上就反馈出这个问题。百度一下,就是iframe框不能返回数据,下面解决方法 解决方法一//代码中添加响应头app.Use(async (context, next) => { // Do work that can write to the Response. context.R 阅读全文
摘要:
服务的创建在创建对象时有多个构造函数符合条件,会报错System.InvalidOperationException:“Unable to activate type 'App.Qux'. The following constructors are ambiguous:要有唯一的才行 new Se 阅读全文
摘要:
using App; using System.Diagnostics; var cat = new Cat() .Register<IFoo, Foo>(Lifetime.Transient) .Register<IBar, Bar>(Lifetime.Transient) .Register(t 阅读全文