I have some value in meta tag like this
<meta property="og:image" content="/Content/images/share-image.jpg"" />
The problem is that Facebook wants tag to be like this
<meta property="og:image" content="http://www.example.com/Content/images/share-image.jpg"" />
I know in MVC how to get base URL like this @Request.Url.AbsoluteUri
The problem is when I try something like this in view
<meta property="og:image" content="@Request.Url.AbsoluteUriContent/images/share-image.jpg"" />
I got Error, how can i merge string in view with this
@Request.Url.AbsoluteUri
and
Content/images/share-image.jpg
[email protected]+"/images/share-image.jpg"?