[Mono-list] C# and web applications in visual studio

Madars Vitolins madars.vitolins at gmail.com
Fri Dec 28 09:15:09 EST 2007


Hi Enediel,

Basically you could do the deploy in visual studio 2005 to some folder...
And then copy off to linux server.
Firstly you need mono on debian so that you could try to run this
application with development server 'xsp2' on linux box (in root folder
where *aspx pages lives).
If it works well, then you need to install apache and mod_mono.

Then configure apache so that web application could run.

I use following apache config:

Alias /MyWebApplication /var/www/dotnet/siers/
MonoApplications xsp "/MyWebApplication:/var/www/dotnet/siers/"
MonoServerPath xsp "/usr/bin/mod-mono-server2"
<Directory /var/www/dotnet/siers/>
Allow from all
Order allow,deny
SetHandler mono
MonoSetServerAlias xsp
</Directory>

/var/www/dotnet/siers/ - path to web app root
MyWebApplication - name which will appear on the server,
(www.myserver.com/MyWebApplication)

Try to use latest mono versions as asp.net 2.0 support is improved

Regards,
Madars

On Dec 28, 2007 3:53 PM, enediel gonzalez <enediel at hotmail.com> wrote:

>  Hello everyone
>
> Having a web application that interact with Postgresql, written in C#, and
> developed in Visual Studio, I'd like to know what should I do to deploy it
> in a debian server, I guess having apache and mono installed it could be
> done in some way.
>
> Thanks in advance for any suggestion.
>
> Greetings
> Enediel
>
> Today's scientists have substituted mathematics for experiments, and they
> wander off through equation after equation, and eventually build a structure
> which has no relation to reality
> Nikola Tesla
>
>
> SCJP 1.5 ( Sun Certified Java Programmer)
> Linux user 300141
> Debian GNU/Linux
> ------------------------------
> Express yourself instantly with MSN Messenger! MSN Messenger<http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071228/bb6d0b16/attachment.html 


More information about the Mono-list mailing list