[Mono-list] Precompiling c# files for an ASP.net webpage

Ariel Rios ariel@gnu.org
30 Jul 2003 11:27:09 -0500


On Wed, 2003-07-30 at 10:35, Dan Bradley wrote:
> I've been playing with mod_mono and although I can get an ASP.net page 
> working using code-behind using c#, I cannot work out how to compile the 
> c# files before hand, so that the web server doesn't need to do that itself.
I do:
	
mcs persistencia.cs -r Npgsql -r System.Data -r System.Web.dll -target:library 

then on the .aspx file:
<%@ Language="C#"%>
<%@ Assembly name = "persistencia" %>

> Any help would be greatly appreciated,
> 
> Dan
> 
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-- 
Ariel Rios <ariel@gnu.org>