-
Notifications
You must be signed in to change notification settings - Fork 1.6k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why slow response in .NET 6 vs IIS ? #1591
Comments
I have the same problem. It only happens on net 6. |
Can we post metrics showing the speed issue between .net 5 and .net 6? |
I have same problem too,why? |
I have been doing some tests for this issue and I've almost arrived at the conclusion that my issue is caused by IIS Express. I tried following this tutorial for the latest Ocelot implementation and when I created a new VS ASP.Net Core 7 Empty project it runs in the a debug console instead of IIS Express. This way the gateway works perfectly. https://www.youtube.com/watch?v=k4l3Ptd4yjw After that I tried changing the launchSettings.json file so that the application would run with IIS Express instead and the problem started again. The requests get queued for at least 2 minutes when upgrading from .net 5 to 6 or 7. I still can't explain why it would behave this way with IIS Express only though. |
Check the solution please in #1657. You have to use Out-of-process hosting. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I'm having an issue upgrading the project to .NET 6 and version 18.0.0.
In .NET 5, version 17.0.1 the API Gateway works great, but I 've tried several times to upgrade to .NET 6 and Ocelot version 18.0.0 and the response become extremely slow. They queue for minutes or just hang and the app gets no response. The first time this happened, I just upgraded the project to .NET 6, but stayed with Ocelot 17, for which I could say it might be an issue with .NET 6.
I have followed the latest documentation for .NET 6 and keep getting the same results.
This is my Program file:
My Startup file:
Any help on this would be appreciated.
The text was updated successfully, but these errors were encountered: