views:

559

answers:

2

Hello:

I have developed an ASP.NET web application that has the following files (after being published): Default.aspx, Web.config, .dll (in bin folder), .pdb (in bin folder), and an App_Data folder that currently has nothing in it. This application runs well in Visual Studio.

My company uses Apache so the IT department decided to try Mono to run my application. Unfortunately, the application does not run. A question that was asked of me was where the .cs file was located. Out of the output files, after publishing, I cannot seem to find the .cs file that the .aspx file is suppose to refer to. Am I missing a file out of the list that I provided above?

Also, does anyone know soem rules of thumb or processes for getting an ASP.NET web application to run through Mono. I just need some direction.

I really appreciate everyone's feedback on this.

Thank you,

DFM

+2  A: 

The .cs files would be compiled into the DLL, so they are not needed for deployment. Other than that, we would probably need some more information to figure out why the app won't run under Apache/Mono.

Eric Petroelje
+4  A: 

You need to install mod_mono on Apache. There is more information about this on the Mono ASP.NET page. The .cs is compiled into the DLL is not needed at run-time.

Martin Liversage
+1, but I don't know about that last part- will he need to re-compile his .cs file using mono?
Joel Coehoorn
And does Mono 'play' nice with Web Site's instead of Web Applications?
Colin
Mono is binary compatible with .NET, so the .cs files are not necessary. The latest releases of Mono also fully support compiled web applications and web sites.
rusvdw