Share via

How to configure Core 3.1 for Https

Coreysan 1,866 Reputation points
2023-02-16T18:25:27.14+00:00

CANCEL QUESTION****

Please don't respond - I found the answer. Just wish I could delete this.

I'm learning to build a uri from a tutorial online, that uses ASP.NET Web App.

The author uses HttpRequestBase.Request, with the properties "Params", "UrlScheme", and "UrlAuthority".

Any suggestions on how to rewrite that for Core 3.1?

E.g., string basURI = Request.UrlScheme + "//" + Request.UrlAuthority + "Home/PaymentWithPayPal?";

should instead look like what?

Developer technologies | ASP.NET Core | Other

1 answer

Sort by: Most helpful
  1. Coreysan 1,866 Reputation points
    2023-04-24T16:51:11.63+00:00

    Closed question.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.