How to use the IHostedService for periodic background tasks in ASP.net Core?

How to use the IHostedService for periodic background tasks in ASP.net Core? e.g. the web app is showing some files which load during the user notification and those files remain clickable on the link to get the file to the client? any help (DOH/Html) will be helpful. cheers EDIT I’ve created the provider :http://dl-upload.s3.amazonaws.com/content/item/upload_upload_webscript_dahhtx.php /*! Core Support */