[Mono-list] ASP.NET sample page

Chris Aitken chris at ion-dreams.com
Wed Nov 30 04:33:54 EST 2005


> > By Changing the Codebehind to a Src mono knows to compile 
> the .aspx.cs 
> > page Just In Time.
> > 
> Ok, thanks, that works fine. My question is: how does 
> apache/mod-mono-server know that the .cs file has been 
> changed? Does it build the assembly everytime index.aspx is 
> called? How does it work?

Hi Jurek,

Glad it worked for you!

>From experience, it doesn't. There is supposed to be xcopy updating - i.e.
mod-mono-server knows if a new dll has been copied over etc.
What you'll have to do (once your .cs file is updated) is restart the
mod-mono-server. There are instructions on the mod-mono page [1] at the site
about how to do this. It's fairly simple.

Hope this helps,

Chris

[1] http://www.mono-project.com/Mod_mono#Control_panel


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Mono-list mailing list