I did the deployment of a web app, and I realized that the background image that I put in the body makes it difficult to read the content, so I want to change it, I already tried to do the publish and rebuild again but it has not worked that way .
<body background="~/Content/fit-gif.gif">
fit-gif would be the new background image or gif in the _Layout.cshtml
You have to use the style tag to add css.
background-image to assign it a background image.
background-size: cover to assign a total size to the body.
Updated:
@Url.Content
Absolute is added