1
我正在webmatrix开发网站。我在变量和数据库插入时遇到了一些问题,因此决定尝试使用visual studio(从webmatrix启动按钮)进行调试。网站从webmatrix正常启动,但视觉工作室显示目录列表
当我从Visual Studio运行该网站时,它只显示我的目录列表。 的网址是:http://localhost:50051/learning/
当我从webmatrix运行相同的页面时没问题。 网址是:http://localhost:31430/Default.cshtml
我可以看到localhost号码不同,并且visual studio没有指向默认页面,而只是指向根文件夹。但我不知道如何解决它。