I installed Microsoft.AspNet.WebApi.Core, and in interface of AppService I put [HttpPost] to change method from Get to Post, but it didn't work. Method is still Get.
It looks like it was a bug in our code. Sorry cause disturbing.
Yes it will call it as many times as many Services(controllers) we have in the application.
Is there any solution/recommendation for this problem?
We found out that delay cause call constructor class {ProjectName}AppServiceBase as many times as many services we have on the first app load. Since we have around 100 services that cause delay of at least a minute. Also, this happens if we make a request via Postman. We made a test with clean ASP NET Zero framework and situation is same except it is faster because there are fewer services, what is interesting in that case if we make a particular request via Postman {ProjectName}AppServiceBase class is instanced once only. This is becoming business-critical so help be very appreciated. Thanks in advance!
We were testing this but did not help. We also notice that after site restart first load takes few minutes. Do you know why that happens?
Our application mostly works fine, but sometimes (after it is inactive for some time like an hour or two) it could take ages for login only. At first we suspect on some IIS configuration settings like Application pool settings from screenshot below but changing these values did not help. Does this behavior sounds familiar to you and do you have any additional IIS configuration recommendation for hosting application based on ASP.NET Zero framework?
We are still stucked with this, can you give us more detail instructions how to solve this issue? It is very important since we can not have benefits of unit testing.
Hi @ismcagdas, if user is logged in PC with active directory account we want to enable him access to application without logging in the application.
LDAP authentication works fine on Zero framework but I would like to set up SSO for it, do you have solution for that?