Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lightest way to run IIS on Mac?

Tags:

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 :)

like image 501
TruMan1 Avatar asked May 26 '12 10:05

TruMan1


People also ask

Can you run IIS on a Mac?

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.

Can I run IIS Express on Mac?

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.

What is the difference between IIS Express and local IIS?

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.

Is IIS Express free?

Internet Information Services (IIS) 10.0 Express is a free, simple and self-contained version of IIS that is optimized for developers.


1 Answers

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

like image 82
knocte Avatar answered Sep 19 '22 08:09

knocte