How to run a asp.net MVC4 web application in RedHat OS - asp.net-mvc

I have created an MVC4 web application using visual studio. I published/hosted that website in IIS. It works fine in IIS. I want to run this same web site in RedHat. How can I do that?

Please refer to the Mono article on running ASP.NET and ASP.NET MVC on Mono on Linux.

Related

how to deploy asp.net mvc application on iis server in mono develop

I am trying to learn asp.net and my operating system is Linux. So I decided to install mono develop and on creating my application, I could deploy that asp.netmvc application on iis server. I know that in visual studio we go to property->web->select iis server.
Is there any way to select iis server in mono develop.

How to deploy an asp.net mvc app to IIS 8 on azure virtual machine

Trying to deploy an asp.net mvc application with IIS 8 on azure virtual machine but Im getting the following error:
This is what ive done so far in azure Virtual machine:
Installed IIS
Installed Web deploy 3.6, web deploy for hosting server, web deploy tools 2.1, web deploy without sql bundled support
In IIS azure Virtual machine:
Created a website "Nextix" in IIS
Disabled Default Web site in IIS
In my Visual Studio 2013 (asp.net mvc project), selected publish -> web deploy package
Copied the deployed package to the virtual machine
In IIS, clicked website "Nextix" and selected import application
Followed all instructions in Import Application Package Wizard to install Web deploy package
I also installed ASP.net 4 in iis by following the instruction in the link
ASP.NET MVC on IIS 7.5
After the steps I did, this is how my IIS application pools looks like:
And how the advance settings of my nextix website looks like:
Is there something else I need to check or do? Im still getting the above error message screen.
Fixed by following the instruction in this link: http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45

Why do I need to switch off module inheritance to make my ASP.NET MVC site work on Windows Server 2008?

I am developing an ASP.NET MVC 5 site targeting .NET 4.5.1 and for some reason I am struggling to deploy it on a Windows Server 2008 Standard edition server.
To be clear the site runs fine on my Windows 7 development machine and my Windows Server 2012 test environment but when I deploy it to the Windows Server 2008 in question I get this error:
At this point I tried all the advice about reinstalling ASP.NET and enabling runAllManagedModulesForAllRequests that I found in threads like this one ASP.NET MVC on IIS 7.5 but nothing would make it work.
Eventually I found that I could fix the problem by switching off the "Invoke only requests to ASP.NET applications or managed handlers" option for all managed modules in the application. What this did in essence was to make the following changes to the web.config file:
So my question is two-fold. Firstly, why is this change necessary to get the site to work? Secondly, am I safe to change the web.config permanently given that it will be installed on other servers as well, not all of which will be Windows Server 2008?

Run ASP.NET MVC Application on Hosting

Is it necessary that we need to install asp.net mvc on hosting server to run application develop in asp.net mvc?
I had developed a application and i am uploading on ixwebhosting hosting.
my application is not working.
If the host supports ASP.NET 2.0 or later I think you should be able to just include the System.Web.MVC DLLs in your bin folder when you deploy to the server. The DLLs you need are:
System.Web.Mvc
System.Web.Routing
System.Web.Abstractions
See Phil Haack's article on bin-deploying with MVC.

How do you deploy MVC 2.0 to IIS6 running .Net 4.0?

i have an MVC app and i'm trying to deploy it to a 2008 server running IIS6 with .Net 4 installed. The project is built with VS2010. Thanks!
It shouldn't be any different from what Phil Haack lays out in ASP.NET MVC on IIS 6 Walkthrough.

Resources