I am working on a MVC project and the performance was fine.
On application_start the database gets indexed for the lucene.net search (and on every change on an object the index is extended). But application_start runs on every action I call on the page.
Why is it firing application_start not only once? I will post any code when I know where to look ;)
I'm not sure if the web.config may cause this behaviour...
Solution: Lucene.net wrote its index to the bin folder, after changing the path the application is not melting my face anymore :)
It could be because when Lucene builds its index it modifies some of the files (web.config, global.asax, bin folder, etc...) that would cause AppDomain to unload.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With