We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我使用小程序支付的微信通知处理回调函数时,出现了异常报错 我是用的时asp.net core 3.1,猜测是否由于.net api修改,而项目未更新。 跟随DigDes/SoapCore#293的修改方式进行修改,将EnableRewind改为了EnableBuffering 可是发现Request为null,随后追踪到Web中的Ioc.Create无法构建出IHttpContextAccessor,返回值为null
EnableRewind
EnableBuffering
static Web() { try { HttpContextAccessor = Ioc.Create<IHttpContextAccessor>(); Environment = Ioc.Create<IHostingEnvironment>(); } catch { } }
请问我已通过AddHttpContextAccessor设置了DI,此处Ioc.Create无法正常构建该如何处理呢?
AddHttpContextAccessor
The text was updated successfully, but these errors were encountered:
项目是否还在维护?是否接收pr?
Sorry, something went wrong.
No branches or pull requests
我使用小程序支付的微信通知处理回调函数时,出现了异常报错
我是用的时asp.net core 3.1,猜测是否由于.net api修改,而项目未更新。
跟随DigDes/SoapCore#293的修改方式进行修改,将
EnableRewind
改为了EnableBuffering
可是发现Request为null,随后追踪到Web中的Ioc.Create无法构建出IHttpContextAccessor,返回值为null
请问我已通过
AddHttpContextAccessor
设置了DI,此处Ioc.Create无法正常构建该如何处理呢?The text was updated successfully, but these errors were encountered: