C# 在没有 Visual Studio 的情况下为 ASP.NET-MVC 开发
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2154/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Developing for ASP.NET-MVC without Visual Studio
提问by GateKiller
Instead of writing my ASP.NET C# applications in Visual Studio, I used my favorite text editor UltraEdit32.
我没有在 Visual Studio 中编写我的 ASP.NET C# 应用程序,而是使用了我最喜欢的文本编辑器 UltraEdit32。
Is there any way I can implement MVC without the use of VS?
有什么方法可以在不使用 VS 的情况下实现 MVC?
采纳答案by Ronnie
There is nothing VS specific with the MVC framework - it is just a bunch of DLLs that you can use. The wizards in VS just build you a quick-start framework.
MVC 框架没有任何 VS 特定的东西——它只是一堆你可以使用的 DLL。VS 中的向导只是为您构建一个快速启动框架。
ASP.NET MVC is "bin-deployable" - there is nothing too clever to set up on the server either - just point the wildcard ISAPI filter to ASP.NET
ASP.NET MVC 是“bin-deployable” - 在服务器上设置也没有什么太聪明的 - 只需将通配符 ISAPI 过滤器指向 ASP.NET
回答by John Downey
Assuming you have the correct assemblies and a C# compiler you in theory can use whatever you want to edit the code and then just run the compiler by hand or using a build script. That being said it is a real pain doing .NET development without Visual Studio/SharpEdit/Monodevelop in my opinion.
假设您有正确的程序集和 C# 编译器,理论上您可以使用任何您想要编辑的代码,然后手动或使用构建脚本运行编译器。话虽如此,我认为在没有 Visual Studio/SharpEdit/Monodevelop 的情况下进行 .NET 开发真的很痛苦。
回答by Will Dean
Even if you didn't want to actually editin VS, you could create the project there and edit the files in another editor.
即使您不想在 VS 中实际编辑,您也可以在那里创建项目并在另一个编辑器中编辑文件。