[mono-vb] MonoBasic and asp.net

Arnhoffer Károly karnhoffer at ecron.hu
Wed Jan 18 03:09:24 EST 2006


Yes it is possible. 
(Of course you have to have a working XSP/mod_mono environment.)

As I know mbas is still not fully functional that is why you should (as Kornél Pál adviced me)
-use code behind (VB codes in a separate aspx.vb file)
-use C# as default language 
(in your Web.config file do something like this:
    <compilation defaultLanguage="C#" debug="true" />
-use C# as page language
(in the beginning of your aspx file: 
<%@ Page Language="C#" %>
It means you should use C# instead of VB in <%%> ASP tags.)

Good luck! ;-)

-----Original Message-----
From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-bounces at lists.ximian.com] On Behalf Of beniniva at csr.unibo.it
Sent: Tuesday, January 17, 2006 8:28 PM
To: mono vb
Subject: [mono-vb] MonoBasic and asp.net

could Mono (mbas compiler) run simple .aspx pages with vb.net code?



Mono-vb mailing list
Mono-vb at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-vb

More information about the Mono-vb mailing list