none
Angularjs (client) and .Net WebAPI not working on Windows server 2016 (IIS 10) RRS feed

  • Question

  • My client app is created using Angularjs and WebAPI is in.Net (framework 4.7.2)

    Problem: Earlier my app was hosted on Windows server 2012 R2 and app is working fine on it but now I am trying to host the same app on Windows Server 2016(IIS 10) but now client user login authentication isn't working on it (for login authentication i am using Identity server)

    Reasons according to my investigation:-

    1. By default, HTTP2 is supported on windows server 2016 and if I disable http2 on the server then the app works fine.

    2. Or if I change SSL setting (In IIS) by checking 'Require SSL' and select 'Accept' option then also application works well. But in this case, WebAPI calls uses http1.1 protocol so that's the reason it starts working.

    Please provide some solution so that my app also works on windows server (IIS 10) without disabling any setting.

    Tuesday, June 4, 2019 5:09 AM

Answers