Closed pjmagee closed 7 years ago
What was the actual runtime exception? Type, message, stack trace, etc?
There are a few scenarios where you need to use the middleware instead of the web.config. E.g. the IsFile condition does not work in web.config because it assumes a different file layout than our projects use.
@Tratcher I will post the stacktrace tomorrow.
We are closing this issue because no further action is planned for this issue. If you still have any issues or questions, please log a new issue with any additional details that you have.
I'm getting .NET Core runtime exceptions when I enable my rewrite rule in the web.config. However when I disable the rewrite rule (force http to https) the application works fine.
I am also behind an ELB and so I had to modify a generic rule a little to support being behind an ELB.
The rewrite "happens" but then I get a runtime exception in .NET core about a missing URL. So I just wanted to know if I do need to use this middlware. If I disable the rewrite rule, the application works fine.