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 :)
Microsoft IIS is not available for Mac but there are plenty of alternatives that runs on macOS with similar functionality. The best Mac alternative is Apache HTTP Server, which is both free and Open Source.
IIS doesn't run on Mac, so I guess you should try Apache, and then install module "mod_mono". Or if that gets too hairy, just use the standalone mono web server called XSP. Or run FastCGI, or nginx. Save this answer.
An important difference is the way worker processes are managed. In IIS, the Windows Process Activation Service (WAS) silently activates and deactivates Web applications and the user has no direct control. In IIS Express, there is no WAS and the user has full control of application activation and deactivation.
Internet Information Services (IIS) 10.0 Express is a free, simple and self-contained version of IIS that is optimized for developers.
Follow this link (provided by @LexLi in a comment above) to know how to set up your MVC environment.
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".
Or if that gets too hairy, just use the standalone mono web server called XSP.
Or run FastCGI, or nginx.
It is all explained here: http://www.mono-project.com/ASP.NET
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With