07-23-2023, 09:16 AM
Writing
@Url.Content("~/Something/Something.html")
in razor renders
/AppFolder/Something/Something.html
Is there a way to render the full URL like `http://www.something.com/AppFolder/Something/Something.html` without atrocious hacks? (like storing the protocol and domain in the `AppConfig`, and concatenate the string to it)
Is there a helper like `@Url.FullPath("~/asdf/asdf")` or similar?
@Url.Content("~/Something/Something.html")
in razor renders
/AppFolder/Something/Something.html
Is there a way to render the full URL like `http://www.something.com/AppFolder/Something/Something.html` without atrocious hacks? (like storing the protocol and domain in the `AppConfig`, and concatenate the string to it)
Is there a helper like `@Url.FullPath("~/asdf/asdf")` or similar?