Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "bilalhaidar"

Thanks. I just wanted to let you know their feedback.

Hello Ismail,

I managed to solve out this issue by changing in the AppService I have. I opened a ticket on the NSWAG forum and the problem has to do with Swaggable generating more than one body parameter for the methods.

<a class="postlink" href="https://github.com/RSuter/NSwag/issues/992">https://github.com/RSuter/NSwag/issues/992</a>

The solution proposed to use one of the offered middlewares by NSWAG instead to generate more compatible json with NSWAG.

Maybe it is something worth checking it out, maybe you would like to update the template to make use of this instead of the swaggable.

Thanks

Hello Ismail,

I am facing the same problem out of a sudden. I went many times through the swagger to locate any duplicate method names I cannot find.

Is there a way to debug the nswag tool and see where exactly it is breaking?

Thank you Bilal

Thanks a lot. I will look into the ASPNET ZERO Core project to see what have been done.

Thanks

That's correct. Was that fact reflected in the way you generate the controllers? I assume you still generate controllers dynamically, right?

Thanks Ismail. I will check the link.

When you say, AppServices are considered as controllers in ASP.NET Core. What have been changed from ASP.NET MVC to ASP.NET Core to make AppServices as controllers? Isn't still the controllers dynamically generated in ASP.NET core?

Thanks

Hello @aaron,

I figured out the problem. I had a leftover record with an ID that is not present anymore in the system. Hence, the exception. Thanks for your time.

Hi Ismail,

I am using ASP.NET Core .NET 4.6.

I cannot find the log anywhere. Is there a specific file I should check to make sure of the path? I only checked web.config and the path is correct. The logging before was happening inside bin folder then AppData then Log etc.

Thanks

If you notice in my code that I shared, I am setting myself the RcmCoordinatorId. The other one I get from the client. So yes, I am debugging and I am seeing both ID's with values for existing users in the system.

Thanks

Thanks @aaron for your feedback.

But the RcmMemberId is always filled with a valid value coming from the client. Isn't that what you mean?

Thanks

Showing 21 to 30 of 461 entries