下面基本上是我读取pdf文件的代码,下面代码的输出是要求客户端下载pdf文件并从客户端打开它,这不是我想要的,我想要的是在另一个浏览器窗口打开pdf或在内部打开它。
标签在相同的浏览器窗口下,但我如何才能做到这一点呢?
var fi = new FileInfo(Server.MapPath(@"~/AIA2.pdf"));
Response.Clear();
Response.AddHeader("Content-Disposition",
String.Format("attachment;
(我知道现有的非常相似,但不完全相同,而且还没有解决方案)
在我的mac (Catalina10.15.7)上,我通过这个.NET没有问题地安装了这个内核。
命令
dotnet --help
正确返回帮助。
当尝试初始化一个新项目时,它会失败,因为:
$ dotnet new –lang f#
Getting ready...
Couldn't find an installed template that matches the input, searching online for one that does...
No templates found matching: '