Search code examples
c#httpasp.net-web-apiowinhttp2

Using Http/2 with ASP.NET self hosted webapi


Is it possible to handle HTTP/2 requests using OWIN Self-Host ASP.NET Web API 2? I want to allow both, HTTP 1.1 and HTTP/2 but could not found a lot about this.

Does any one use this already and know how to use it?

Thank you all!


Solution

  • HTTP/2 support comes in .NET Framework 4.6 (and 4.6.1) on Windows 10 only,

    https://blogs.msdn.microsoft.com/dotnet/2015/07/20/announcing-net-framework-4-6/