Skip to content

Commit 06f600e

Browse files
Update modularity_in_the_default_mode.md
1 parent 571eb3e commit 06f600e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

doc/modularity_in_the_default_mode.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@ var app = builder.Build();
3434

3535
CodeBehindCompiler.Initialization();
3636

37-
app.Run(async context =>
38-
{
39-
CodeBehindExecute execute = new CodeBehindExecute();
40-
await context.Response.WriteAsync(execute.Run(context));
41-
});
37+
app.UseCodeBehind();
4238

4339
app.Run();
4440
```

0 commit comments

Comments
 (0)