MCPcopy Create free account
hub / github.com/OpenFunction/samples / Configure

Method Configure

functions/knative/hello-world-dotnet/Startup.cs:29–40  ·  view source on GitHub ↗
(IApplicationBuilder app, IWebHostEnvironment env)

Source from the content-addressed store, hash-verified

27 }
28
29 public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
30 {
31 app.UseRouting();
32
33 app.UseEndpoints(endpoints =>
34 {
35 endpoints.MapGet("/", async context =>
36 {
37 await context.Response.WriteAsync("hello, world");
38 });
39 });
40 }
41 }
42}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected