Skip to content

Commit fef37de

Browse files
authored
Merge pull request #52862 from vlad-ro/patch-1
Fix code formatting
2 parents 3b0ee6f + c06b147 commit fef37de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/azure-monitor/app/asp-net-core.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@ The preceding steps are enough to help you start collecting server-side telemetr
158158

159159
Alternatively to using the `FullScript` the `ScriptBody` is available starting in SDK v2.14. Use this if you need to control the `<script>` tag to set a Content Security Policy:
160160

161-
```cshtml
162-
<script> // apply custom changes to this script tag.
163-
@Html.Raw(JavaScriptSnippet.ScriptBody)
164-
</script>
165-
```
161+
```cshtml
162+
<script> // apply custom changes to this script tag.
163+
@Html.Raw(JavaScriptSnippet.ScriptBody)
164+
</script>
165+
```
166166

167167
The `.cshtml` file names referenced earlier are from a default MVC application template. Ultimately, if you want to properly enable client-side monitoring for your application, the JavaScript snippet must appear in the `<head>` section of each page of your application that you want to monitor. You can accomplish this goal for this application template by adding the JavaScript snippet to `_Layout.cshtml`.
168168

0 commit comments

Comments
 (0)