[Mono-list] Trouble with refreshing the binaries and config files

Andrew Arnott AndrewArnott@byu.edu
Mon, 19 Apr 2004 19:59:58 -0600


This is a multi-part message in MIME format.

------_=_NextPart_001_01C4267B.25B5AB46
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I have ASP.NET running under mod_mono on Apache 2.0.  Once I have the
site up and running, and I have browsed over several pages, I have a
problem. =20

=20

If I rename/replace the DLLs in the bin folder, the pages that have
already been generated are not affected.  It is as if the DLLS  were
either cached and have not been refreshed, or the ASPX pages themselves
are cached and are not regenerated.  Either way, it seems like a
problem.  If I just clear out the bin folder, all the pages that were
already generated continue to come up just fine, but new pages crash
because the DLL cannot be found.

=20

Similarly, if I change the Web.config file, the changes do not seem to
take affect.

=20

Both problems resolve when I restart Apache.  But I can't always do
that.  IIS 6 seems to "watch" these files and flush things automatically
when they change.  Does/will Mono have a similar feature?  Or do I have
something configured wrong?

=20

Thanks.


------_=_NextPart_001_01C4267B.25B5AB46
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Bookman Old Style";
	panose-1:2 5 6 4 5 5 5 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:Arial;
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Bookman Old Style";
	color:navy;
	font-weight:normal;
	font-style:normal;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have ASP.NET running under mod_mono on Apache 2.0.
&nbsp;Once I have the site up and running, and I have browsed over =
several
pages, I have a problem. &nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>If I rename/replace the DLLs in the bin folder, the =
pages
that have already been generated are <i><span =
style=3D'font-style:italic'>not</span></i>
affected. &nbsp;It is as if the DLLS &nbsp;were either cached and have =
not been
refreshed, or the ASPX pages themselves are cached and are not =
regenerated.
&nbsp;Either way, it seems like a problem.&nbsp; If I just clear out the =
bin
folder, all the pages that were already generated continue to come up =
just
fine, but new pages crash because the DLL cannot be =
found.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Similarly, if I change the Web.config file, the =
changes do
not seem to take affect.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Both problems resolve when I restart Apache.&nbsp; =
But I
can&#8217;t always do that. &nbsp;IIS 6 seems to &#8220;watch&#8221; =
these
files and flush things automatically when they change. &nbsp;Does/will =
Mono
have a similar feature?&nbsp; Or do I have something configured =
wrong?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks.<o:p></o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C4267B.25B5AB46--