昨天刚解决 asp.net core 中使用 AddIISUrlRewrite 时遇到 null 引用问题,今天又遇 null 引用异常,这次发生在 IISUrlRewrite.ConditionEvaluator.Evaluate 方法中
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.AspNetCore.Rewrite.Internal.IISUrlRewrite.ConditionEvaluator.Evaluate(ConditionCollection conditions, RewriteContext context, BackReferenceCollection backReferences)请问如何解决?
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1741/viewspace-3152276/ ,如需转载,请注明出处,否则将追究法律责任。