How to always start website?
because I run a thread in background and want to run always.but when nobody login to site,thread doesn't run
I find this link but doesn't help me
How to always start website?
because I run a thread in background and want to run always.but when nobody login to site,thread doesn't run
I find this link but doesn't help me
Running a background thread application is not a good idea if your website is having high traffic. I suggest you to create windows service which will run on a regular time interval. But still if you want to run then you can choose make your application pool to always running like following(IIS 7.5 and high version).
<applicationPools>
<add name="MyAppWorkerProcess" managedRuntimeVersion="v4.0" startMode="AlwaysRunning" />
</applicationPools>
For more details see following link.