PictureService has a method GetImagesPathUrlAsync old code var pathBase = _httpContextAccessor.HttpContext.Request.PathBase.Value ?? string.Empty; new code var pathBase = _httpContextAccessor.HttpContext.Request?.PathBase.Value ?? string.Empty;
If I use pictureservise from the task I have httpContextAccessor.HttpContext.Request = null I want to add ? after HttpContext.Request
Thank you >why is there no request at this time? I don't know. I'll investigate this issue and write to you. I creates the feed file using POST request in the background to nopcommerce. And I saw the _httpContextAccessor.HttpContext.Request == null I am sure that anyone will not have this issue.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Vous avez encore des questions ou avez besoin d'aide?