Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET 4.6 doesn't turn response in HTTP2 (azure website)

I've set my website to asp.net 4.6 runtime and the website was all ready only accessible in https so those two requirements are met. Also I visited the site with an HTTP2 supporting browser like Chrome or IE11. Also the website is hosted as a Microsoft Azure Website

I've used the following sites for reference https://channel9.msdn.com/Events/Visual-Studio/Connect-event-2014/812 and http://www.dotnetcurry.com/aspnet/1127/aspnet-webforms-new-features

Unfortunately I can't share the website with you because it's a client's and I guess he doesn't like that.

My question to you is, has anyone already used HTTP2 on Azure and maybe have some tips or input for me? Thanks!

like image 240
Casper Broeren Avatar asked Feb 03 '16 10:02

Casper Broeren


People also ask

How do I enable HTTP 2 on Azure Web Apps?

HTTP/2 is disabled by default for all customers. However, if you would like to opt-in and apply HTTP/2 for your site, follow the steps below: Through the Azure portal, browse to your app and search for the “Application settings”, where you will find the setting called “HTTP Version”. Select 1.1 or 2.0 by your needs.

Does Azure support ASP net?

Web applicationsBuild . NET web applications that can be hosted easily in Azure with ASP.NET, a set of tools and libraries for building web applications and services.

How do I troubleshoot Azure App Service?

To access App Service diagnostics, navigate to your App Service web app or App Service Environment in the Azure portal. In the left navigation, click on Diagnose and solve problems.

What is ANCM failed to start?

500.32 ANCM Failed to Load dll The app doesn't start. The most common cause for this error is that the app is published for an incompatible processor architecture. If the worker process is running as a 32-bit app and the app was published to target 64-bit, this error occurs.


1 Answers

@Casper,

short answer should be "NO", it is not supported yet.

there is an old discussion in below link

https://superuser.com/questions/926663/iis-and-http-2-server-support

to check what OS Azure App Service is running, you can create a site, go to your debug console from scm site (https://{your site name}.scm.azurewebsites.net/DebugConsole), and run "ver"

from wikipedia https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions

NT 6.2 is Windows Server 2012

enter image description here enter image description here

like image 85
Xiaomin Wu Avatar answered Sep 30 '22 19:09

Xiaomin Wu