Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want the server to run a function on my asp.net website dailly without me necessary opening the web browser
Posted

If I understood your scenario you want to periodically run some code on the server.If this is the case then I think windows service is better suited.
 
Share this answer
 
 
Share this answer
 
 
Share this answer
 
Comments
Member 10316149 14-Nov-14 11:04am    
thanks soji for your responds, I tried hangfire but it gives me this error in the
Package manager console:
"
Install failed. Rolling back...
Install-Package : Could not install package 'Hangfire.Core 1.1.1'. You are trying to install this package into a project that targets '.NETFramework,Version=
v4.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the p
ackage author.
At line:1 char:16
+ install-package <<<< hangfire
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900