问题描述
我有一个ASP.NET MVC应用程序4,我想在Mac计算机上运行。我不想运行一个完全成熟的Windows虚拟机的时候我真正需要的是IIS7运行MVC应用程序。什么是运行这个最轻的方式(VirtualBox的,的Parallels,IIS7防爆preSS等)?真的是我的目标是code在我的Mac应用程序的使用Javascript /客户端,我想真的很难不这样做在Windows机器上我的开发:)
I have an ASP.NET MVC 4 app that I would like to run on a Mac machine. I would hate to run a full blown Windows virtual machine when all I really need is IIS7 to run the MVC app. What is the lightest way to run this (VirtualBox, Parallels, IIS7 Express, etc)? Really my goal is to code the Javascript/client-side of the app on my Mac and I am trying really hard not to do my development on a Windows machine :)
推荐答案
请按照莱克斯李提供给知道如何设置你的MVC ENV的链接。
Follow the link that Lex Li provided to know how to set up your MVC env.
至于IIS,据我知道这能不能做到。你应该用你的操作系统的本地Web服务器。 IIS无法在Mac上运行,所以我想你应该尝试的Apache,然后再安装模块是mod_mono。
With regards to IIS, as far as I know it cannot be done. You should use the native web server of your operating system. IIS doesn't run on Mac, so I guess you should try Apache, and then install module "mod_mono".
,或如果变得太毛茸茸的,只是使用名为XSP独立的单声道Web服务器。
Or if that gets too hairy, just use the standalone mono web server called XSP.
或者运行的FastCGI或Nginx的。
Or run FastCGI, or NGinx.
这是一切都在这里解释:
It is all explained here: http://www.mono-project.com/ASP.NET
这篇关于在Mac上运行IIS的最轻的方式吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!