FutureWithIT
FutureWithIT

Reputation: 65

How to convert the Absolute Uri path from .net to .net core?

I am converting my asp.net project to asp.net core. It throws a few errors that i need your assistance to fix. enter image description here

enter code here

enter image description here

Upvotes: 0

Views: 182

Answers (1)

Arsalan Valoojerdi
Arsalan Valoojerdi

Reputation: 1026

Try this:

HttpContext.Request.GetDisplayUrl()

Upvotes: 1

Related Questions