Skip to content

Commit 1237c7a

Browse files
authored
Removes extra tags from Index.cshtml code snippet
1 parent 7b0c65c commit 1237c7a

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

articles/azure-app-configuration/quickstart-aspnet-core-app.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ Add the [Secret Manager tool](https://docs.microsoft.com/aspnet/core/security/ap
128128
@using Microsoft.Extensions.Configuration
129129
@inject IConfiguration Configuration
130130

131-
<!DOCTYPE html>
132-
<html lang="en">
133131
<style>
134132
body {
135133
background-color: @Configuration["TestApp:Settings:BackgroundColor"]
@@ -139,13 +137,8 @@ Add the [Secret Manager tool](https://docs.microsoft.com/aspnet/core/security/ap
139137
font-size: @Configuration["TestApp:Settings:FontSize"];
140138
}
141139
</style>
142-
<head>
143-
<title>Index View</title>
144-
</head>
145-
<body>
146-
<h1>@Configuration["TestApp:Settings:Message"]</h1>
147-
</body>
148-
</html>
140+
141+
<h1>@Configuration["TestApp:Settings:Message"]</h1>
149142
```
150143

151144
7. Open *_Layout.cshtml* in the Views > Shared directory, and replace its content with the following code:

0 commit comments

Comments
 (0)