Hosting MVC application on linux server - asp.net-mvc

I am developing an MVC 4 application on windows and that is to be hosted on Debian. I am a newbie to web development. I am using Mariadb in backend.
I don't know how to deploy this application. Can anybody provide help to me?
UPDATE
I am using Mono 3.2.3

There is no way to host a Microsoft asp.net mvc 4 Application on Linux UNLESS you use Mono (Never tried it but the honey is here ).
OR
If you don't want to buy mono,
Wait for vNext ! He Will be among us around April 2015 as Microsoft Announced at the DotNet-Conf.
MEANWHILE
you can download VisualStudio 2014 CTP and taste the golden kvm
More resources

I'm running 4 MVC4 sites on my Ubuntu 16.04 server and all I did was install a ftp server and I put all the sites in my user home dir under public_html (eg: public_html/site1 public_html/site2) then use the ftp publish method of visual studio which will build the site and copy everything over via ftp then you can just browse your site.

Related

How to host asp.net core aplication on godaddy windows hosting server

I have an application running on asp.net core mvc architecture. I need to deploy and run the application on godaddy Shared hosting windows based server. All my files are already uploaded on godaddy server but the application is still not running. when ever i try to access the application using godaddy domain it says Future home of something quite cool.
Any suggestions or solutions would be much appritiated
ted
I believe that Godaddy is currently using Plesk Onyx which only supports dotnet core versions 1.0, 1.1 and 2.0.
Godaddy has not upgraded to the latest version of Plesk so they do not support later versions.
This post by their community manager confirms the versions
Note that dotnet core version 2.0 is no longer supported by Microsoft

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

Running a .NET 4.6 MVC application on IIS 8.5 (Windows Server 2012)

I have an MVC Web API 2 application that I am running quite successfully locally within Visual Studio 2015 RC. I have also successfully published this application to an IIS 8.5 instance running on Windows Server 2012. I have installed .NET Framework 4.6 on this machine also.
The behaviour that I am getting when I try to navigate to the root of the site (http://localhost:81) is that I get a directory listing of the files in the root folder. Clearly I was expecting the routing config of the application to kick in an execute the home controller, but this is not happening.
I am a developer and it has been some time since I configured IIS, but I do remember that I had to do some fiddling with IIS (6?) to get the routing to work.
What am I missing?
Make sure your application pool is running in integrated mode and not classic.

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?

Resources