We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66dc4c9 commit 571eb3eCopy full SHA for 571eb3e
doc/how_to_use_code_behind.md
@@ -36,13 +36,9 @@ var builder = WebApplication.CreateBuilder(args);
36
37
var app = builder.Build();
38
39
-+ SetCodeBehind.CodeBehindCompiler.Initialization();
++SetCodeBehind.CodeBehindCompiler.Initialization();
40
41
-app.Run(async context =>
42
-{
43
-+ CodeBehind.CodeBehindExecute execute = new CodeBehind.CodeBehindExecute();
44
-+ await context.Response.WriteAsync(execute.Run(context));
45
-});
++app.UseCodeBehind();
46
47
app.Run();
48
```
0 commit comments