且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

文件->在MonoDevelop中打开网站?

更新时间:2023-12-01 21:06:16

MonoDevelop支持Visual Studio的 Web应用程序项目,但不支持网站.

MonoDevelop supports Visual Studio's Web Application Projects but not Web Sites.

  • Web应用程序项目是真正的MSBuild项目,可编译为dll.这意味着您可以编写单元测试,可以更好地控制项目结构,可以在部署之前的编译时捕获更多错误,等等.

  • Web Application projects are real MSBuild projects, compiling to a dll. This means you can write unit tests, have more control over the project structure, can catch more errors at compile time before deploying, and so on.

网站只是目录.设置存储在web.config中,所有编译都在服务器上进行.这意味着您可以直接在服务器上编辑站点(尽管我个人认为这是不好的做法).

Web Sites are simply directories. Settings are stored in web.config, all compilation happens on the server. This means you can edit sites directly on the server (though I personally think this is bad practice).

网上有很多解释- 看起来不错,尽管像我一样,它偏向于Web应用程序项目...

There are many explanations on the net - here's one that seems good, though like me it's biased towards web application projects...