c# - Assembly name for ASP.Net website project -


i have quartz.net integrated scheduler job in asp.net application.

but not working automatically , seems got stopped when iis recycling application pool. fires when send request server.

after reading iis app pool recycle + quartz scheduling trying configure same in iis 7.5 server resolving same.

<serviceautostartproviders>     <add name="prewarmmycache" type="prewarmcache, myassembly" />  </serviceautostartproviders>  

however prewarmcache class has been defined in website , kept logic, since uses template website pages.

how can define class website in type? value myassembly ?

i can use assembly name if project web application.

i created website. value or how should configure section?

note: prewarmcache placed under app_code directory

this has nothing quartz.net, iis server recycling application pool after period of inactivity.

i have same problem, trying cache data.

so need following in applicationhost.config file:

<serviceautostartproviders>     <add name="prewarmmycache" type="prewarmcache, myassembly" />  </serviceautostartproviders>  

this call function populates xml document , stores lookup table in cache used , when needed.

and problem if use assemblyqualifiedname attribute returns following class:

myapp.prewarmcache, app_code.<#########>, version=0.0.0.0, culture=neutral, publickkeytoken=null 

where ######### are, changed each time code compiled.

i not want separate dll, incur having replicate code.

so question still same.

can i/we provide explicit assembly name dynamically compiled asp.net website's app_code classes?

fixed now, taken code out separate assembly, compiled added reference, complete.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -