It probably doesn't force the app-pool to recycle but then why does it work
when I re-save the .config file?
On Friday, May 13, 2016 at 2:28:01 PM UTC-5, hammett wrote:
>
> Does the recompilation force a recycle of the appdomain? given the
> error you posted, looks like it doesnt, hence the
Reading that any change in App_Code, bin, or web.config will force an app
recycle. The weird thing is that when I change the web.config and it
recompiles I don't get the error. When I change any App_Code file, I get
the error until I re-save windor.config, or if I change the App_Code file
the
Changing the config or anything in the bin folder, restarts the app.
That's why it works.
On Mon, May 16, 2016 at 11:11 AM, John Strzempa wrote:
> It probably doesn't force the app-pool to recycle but then why does it work
> when I re-save the .config file?
>
> On Friday,
I don't think that's true. Adding something to the bin folder, recompiles
the site just like changing something in App_Code. The site spins for a few
seconds as it recompiles. When I change the config file and save it, there
is no pause when I visit the site. Plus, if I change the config file
It's been a long time since I did any asp.net...
But AFAIK the app_code is for code supposed to be used by view code,
so kinda of ephemeral in a way (although the official guideline dont
state this https://msdn.microsoft.com/en-us/library/ex526337.aspx).
What you have is a domain type, that gets