+```
+
+If the static file exists in the directory *..wwwroot/images/asplogo.png* the generated html is similar to the following (the hash will be different):
+
+```html
+
+```
+
+The value assigned to the parameter `v` is the hash value of the file on disk. If the web server is unable to obtain read access to the static file referenced, no `v` parameters is added to the `src` attribute.
+
+- - -
+
+### src
+
+To activate the Image Tag Helper, the src attribute is required on the `Use this area to provide additional information.
diff --git a/aspnetcore/mvc/views/tag-helpers/built-in/sample/TagHelpersBuiltInAspNetCore/src/TagHelpersBuiltInAspNetCore/Views/Home/Contact.cshtml b/aspnetcore/mvc/views/tag-helpers/built-in/sample/TagHelpersBuiltInAspNetCore/src/TagHelpersBuiltInAspNetCore/Views/Home/Contact.cshtml new file mode 100644 index 000000000000..15c12c6d1269 --- /dev/null +++ b/aspnetcore/mvc/views/tag-helpers/built-in/sample/TagHelpersBuiltInAspNetCore/src/TagHelpersBuiltInAspNetCore/Views/Home/Contact.cshtml @@ -0,0 +1,17 @@ +@{ + ViewData["Title"] = "Contact"; +} ++ Swapping to Development environment will display more detailed information about the error that occurred. +
++ Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. +
diff --git a/aspnetcore/mvc/views/tag-helpers/built-in/sample/TagHelpersBuiltInAspNetCore/src/TagHelpersBuiltInAspNetCore/Views/Shared/_Layout.cshtml b/aspnetcore/mvc/views/tag-helpers/built-in/sample/TagHelpersBuiltInAspNetCore/src/TagHelpersBuiltInAspNetCore/Views/Shared/_Layout.cshtml new file mode 100644 index 000000000000..97297ade79e7 --- /dev/null +++ b/aspnetcore/mvc/views/tag-helpers/built-in/sample/TagHelpersBuiltInAspNetCore/src/TagHelpersBuiltInAspNetCore/Views/Shared/_Layout.cshtml @@ -0,0 +1,67 @@ + + + + + +