[Mono-list] Re: ASP.Net

Gonzalo Paniagua Javier gonzalo@ximian.com
03 Dec 2002 13:56:03 +0100


El mar, 03-12-2002 a las 07:47, Kevin Williams escribió:
> Gonzalo,
> 
>   I haven't had time (Thanksgiving holiday and all considered) to play
> with this again until tonight.  I built the latest CVS class libraries
> and xsp and fired up server.exe.  Plain ASPX pages are working fine, but
> everything I've tried that loads a custom control from an assembly fails
> (this includes the tabcontrol files in the test directory in addition to
> my own test files).  By fails, I mean nothing is ever returned to the
> browser...  I'd try to debug server.exe if I knew how, but being new to
> Mono - I have no idea how to debug C# programs <grin>.  Is something
> currently broken that could be causing my failure?

Yes. See bug #34776.
You can make them work with a little trick: copy the dlls in bin
directory to the base directory (ie, from server/test/bin to
server/test).

> 
>   I'm getting WARNING messages ("Failed to load libkernel32.dll.so"
> twice) when I start up server.exe - is this normal?

Yes. One class (don't remember which one) under System.Diagnostics uses
DllImport attribute to import a function from that library. But don't
worry about it, the function is not used if you see that warning.

-Gonzalo


> 
> Thanks!
> --Kevin
> 
> -----Original Message-----
> From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com] On
> Behalf Of Gonzalo Paniagua Javier
> Sent: Monday, November 25, 2002 12:20 PM
> To: Monkey Business
> Subject: [non-spam] RE: [Mono-list] ASP.Net
> 
> 
> El lun, 25-11-2002 a las 18:42, Kevin Williams escribió:
> > 
> > On 25 Nov 2002, Gonzalo Paniagua Javier wrote:
> > 
> > > User controls are broken right now. The fix will be on CVS in a few 
> > > hours. Code behind will be next.
> > 
> > I'm not looking at user controls at the moment.  Rather, custom 
> > controls (derived from System.Web.UI.WebControls.WebControl) and 
> > implemented in a compiled assembly.
> > 
> > ie: <%@ Register
> > TagPrefix="x" Namespace="MyWebControls" Assembly="MyWebControls" %>
> > 
> > I'm guessing this won't be available as part of either the user 
> > control or code behind work?
> 
> Yes, it will be available because the user controls that are under
> xsp/test directory are loaded from an assembly and use the @register
> directive in their test pages.
> 
> -Gonzalo
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
>