为什么ASP.NET 4.6不通过HTTP / 2为我提供页面?

时间:2015-08-12 17:45:25

标签: asp.net .net asp.net-mvc visual-studio-2015 http2

我已经从Visual Studio 2015创建了一个ASP.NET 4.6 MVC应用程序,我在项目设置中设置了SSL = true,但是当我在IIS Express中调试Web应用程序时,页面是没有通过HTTP / 2提供

enter image description here

在Scott的blog中,它显示了通过HTTP / 2提供的页面

enter image description here

我使用的是Windows 10 RTM + VS2015 RTM。

是否还有其他一些我错过的设置?

1 个答案:

答案 0 :(得分:0)

在Visual Studio Community 2019中使用ASP.NET 5.2.7,我更改了Web设置,以便从print(new_data) # Col1 Col2 Col3 #0 1 6 a b c #1 2 7 b c d #2 3 8 c d e #3 4 9 d e f 网址提供Web应用程序。如此简单的更改使内容可以通过IIS Express中的HTTP2进行提供,如下面的屏幕截图所示。

Web project settings Browser inspector results