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.

    • Moved by Dave PatrickMVP Tuesday, June 4, 2019 12:05 PM looking for forum
    Tuesday, June 4, 2019 5:09 AM


  • I'd try asking for help over here.





    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by Guido Franzke Tuesday, June 4, 2019 1:31 PM
    • Marked as answer by pituachMVP Tuesday, June 11, 2019 1:39 AM
    Tuesday, June 4, 2019 12:05 PM