c# - Running aspx.cs in Windows Service -
i'm new whole concept of windows service. i'm trying achieve following:
- i have execute function periodically written in asp.net
- i want use windows service schedule that.
can windows service that? don't want open web application happen , must run in background @ times. installed on web server.
sorry, if couldn't frame question better.
please suggest me should done. there other way or should go ahead.
there's not such thing "function .. written in asp.net". have isolate code of function want run in separate dll, , call code windows service. if install dll in gac, can share code between web app , windows service.
another solution expose function web service (wcf or webapi) , call windows service too.
asp.net not suitable long running or periodically execution of code, that's why need separate both functionalities.
Comments
Post a Comment