Posts

Showing posts from February, 2017

Setup Hangfire in visual studio solution | Hello World Application

Image
Step 1: Open Visual Studio and Execute below command in Package Manager  Install-Package Hangfire After installation ensure highlighted reference added in project Step 2: Make sure SQL Server/Express or any edition reachable from your application - as Hangfire create set of tables Step 3: class Startup | Initialize hangfire Step 4: Register class|method that you want set as cron job Step 5: Run the application, hit the index url to register method - watch d:\ after a minute