Alternatives of HttpContext in ASP.Net

on Oct 17, 2021 10:58 PM

Alternative to get httpcontext.current.request.url without httpcontext

I have a function that runs on new thread. I'm unable to get httpcontext in the new thread.

Is there a way to get my website URL without using httpcontext?

Thank you


Download FREE API for Word, Excel and PDF in ASP.Net: Download