[Mono-list] known to work Apache2+ASP.NET configurations

Igor Shmukler igor.shmukler at gmail.com
Thu Jan 15 10:25:36 UTC 2015


Hello Timotheus,

Thank you for your email and links.
Tried running fastcgi [fastcgi-mono-server4] with both nginx and
lighttpd, now. Did not spend too much time on either. Say, one hour or
perhaps two, on each. Neither worked, yet. XSP4 gives us enough room
to be able to use what we got, for the time being.

As far as other servers and ASP.NET/Mono, QA is a little bit lacking.
I am of course grateful for what is out there, already. If someone has
time to dig in, I would be delighted to share more information. For
work, we have options. I have to more onto other tasks.

XSP4 is great!!! Glad that it is out there. :)

Sincerely,

Igor Shmukler

On Wed, Jan 14, 2015 at 5:28 PM, Timotheus Pokorra
<timotheus.pokorra at solidcharity.com> wrote:
> Hello Igor,
>
> this is how I use Mono as a webserver:
>
> I use fastcgi-mono-server4
> here is the start part of the script:
> https://github.com/openpetra/openpetra/blob/master/setup/petra0300/linuxserver/postgresql/centos/openpetraorg-server.sh#L55
>
> Configuration of lighttpd for fastcgi:
> https://github.com/openpetra/openpetra/blob/master/setup/petra0300/linuxserver/postgresql/centos/openpetraorg-server.sh#L200
>
> fastcgi-mono-server4 is provided by the XSP package.
> I have built it from tag
> https://github.com/mono/xsp/releases/tag/3.0.11:
> https://build.opensuse.org/package/show/home:tpokorra:mono/mono-xsp
> to install this package:
> http://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono&package=mono-xsp-opt
>
> As far as I understand, fastcgi-mono-server4 is ready for production use.
> My production use is not much heavy load yet, but works ok so far.
>
> hope this helps,
>   Timotheus
>
> On 13 January 2015 at 18:52, Igor Shmukler <igor.shmukler at gmail.com> wrote:
>> Hello,
>>
>> After spending much time trying to figure out how to get apache2
>> properly host my ASP.NET "project," I decided to slightly change
>> hunting grounds.
>>
>> I believe that sites, including the Mono project itself, have been
>> developed using ASP.NET and hosted on apache+mono. Hence, this should
>> be doable. All I want is to load some classes from a few assemblies.
>>
>> If you have gotten ASP.NET to host on apache2 [not XSP], please let me
>> know what versions of
>> mono_apache_server/mono_apache_server2/mono_apache_server4 and mono
>> have you used.
>>
>> I was pretty sure that my issues are purely configuration-related. By
>> now, I am starting to have doubts. I have tried various
>> configurations. Whether autohosting or with manually configured site,
>> I get at best a TypeLoadException and a stack trace with missing line
>> numbers. The apache log has nothing useful.
>>
>> Please provide insights, if you happen to know how to trace
>> TypeLoadException. I posted about this earlier. Sorry to be bothering
>> the good folks on this list. I have hit the wall and was unable to
>> move ahead for the second day. now. Please help, if you have
>> successfully solved this at some point. I see this error referenced in
>> multiple forums.
>>
>> Sincerely,
>>
>> Igor Shmukler
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>
> --
> Kontaktdaten:
> in Plauen: 03741 7424995


More information about the Mono-list mailing list