Routing maps HTTP requests to handlers. In ASP.NET Core, `MapGet` associates a URL pattern with a function that produces the response. A parameterized pattern such as `/{text}` binds part of the URL to a handler parameter; binding depends on the parameter name and type. section 3.1
Listing 3.5 Program.cs with ASCII art request handling
using Figgle; #1
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
app.MapGet("/", () => "Hello World!");
app.MapGet("/{text}", #2
(string text) => #3
FiggleFonts.Standard.Render(text)); #4
app.Run();
See a minimal service mapping the root URL and a text parameter to responses. section 3.1
Render text from a route
A request to `/Testing%20123` matches `/{text}`; the handler receives the text and returns its ASCII-art rendering. section 3.1





















