[Mono-dev] XSP and compilation on the fly
mabra at manfbraun.de
mabra at manfbraun.de
Wed Mar 12 17:04:36 EDT 2008
Hi !
If this list is not the right list for end-users using mono, please tell me.
I try to use xsp [1.1] under debian. I can execute a simple aspx file, but
my global.asax ist not used:
<%@Application
inherits="Test.Global"
src="/bin/global2.asax.cs"
%>
Excerpt from /bin/global2.asax.cs
namespace Test
{
public class Global:System.Web.HttpApplication
{
public static string rand() //random
( ... )
....
The /bin/global2.asax.cs is not used, I am missing my configuration, which
is made in namespace Test, class Global inside this file. If i write just
simply wrong statements, no errors are thrown if I execute a standard aspx
file, containing nothing else than <p><% = DateTime.Now %></p>. This works.
If I use a aspx-file, containing:
<%@ import namespace="Test" %>
<html>
<p><% = Global.rand() %></p>
it throws an exception, telling me:
The type or namespace name `Test' could not be found.
The shown code is already reduced to the very basic approach;The whole app
runs fine under windows.
What do I wrong here?
Thanks a lot,
Manfred
More information about the Mono-devel-list
mailing list