9 references to InvalidUrlRewriteFormatException
Microsoft.AspNetCore.Rewrite (9)
IISUrlRewrite\UrlRewriteFileParser.cs (9)
28
throw new
InvalidUrlRewriteFormatException
(new XElement(RewriteTags.Rewrite), "The root element '<rewrite>' is missing");
77
throw new
InvalidUrlRewriteFormatException
(rule, "Condition must have an associated match");
83
throw new
InvalidUrlRewriteFormatException
(rule, "Rule does not have an associated action attribute");
96
throw new
InvalidUrlRewriteFormatException
(match, "Match must have Url Attribute");
136
throw new
InvalidUrlRewriteFormatException
(conditionElement, "Conditions must have an input attribute");
205
throw new
InvalidUrlRewriteFormatException
(urlAction, "Url attribute cannot contain an empty string");
229
throw new
InvalidUrlRewriteFormatException
(urlAction, "A valid status code is required");
263
throw new
InvalidUrlRewriteFormatException
(element, $"The {rewriteTag} parameter '{attribute.Value}' was not recognized");
279
throw new
InvalidUrlRewriteFormatException
(element, $"The {rewriteTag} parameter '{attribute.Value}' was not recognized");