📅  最后修改于: 2022-03-11 14:48:49.906000             🧑  作者: Mango
Then I went to Visual Studio and changed the server setting (Right mouse on the project, properties, tab Web, click Use local IIS Web Server and click Create Virtual Directory. When I did this, it worked under IIS with the code above.