HttpContext does not have Server property in .net 6
Please is there any other way of achieving this code?
string path = Path.Combine(HttpContext.Server.MapPath("~/Logs"), $"{logDate}.txt");
Hi Bello,
Refer below article.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.