Closed Sarmadjavediqbal closed 1 year ago
any solutions??? s’il vous plaît
Not sure, but it could be related to this:
I found the solution. The definition of the Interface (IPipelineBehavior<TRequest, TResponse>) is:
Task
where as the class ValidationBehavior was implementing the above definition in wrong sequence as below:
Task
The definitions in both lines look the same but work differently. So I switched these two and it works just fine. Thanks @MikaelHild again for guiding.
It took a while but a little focus on the little details can save you hours of research.
Web-api is throwing exception after clicking Dashboard in frontend (blazor-wasm).