Fix typo
parent
7511fb5e2e
commit
89c9bcea86
|
@ -24,7 +24,7 @@ This document covers the low level ASP.NET Core routing. For ASP.NET Core MVC ro
|
|||
|
||||
## Routing basics
|
||||
|
||||
Routing uses *routes* (implementations of `IRouter``) to:
|
||||
Routing uses *routes* (implementations of `IRouter`) to:
|
||||
|
||||
* map incoming requests to *route handlers*
|
||||
|
||||
|
@ -204,7 +204,7 @@ Routes must configured in the `Configure` method in the `Startup` class. The sam
|
|||
|
||||
<!-- literal_block {"xml:space": "preserve", "source": "fundamentals/routing/sample/RoutingSample/Startup.cs", "ids": [], "linenos": false, "highlight_args": {"linenostart": 1}} -->
|
||||
|
||||
```
|
||||
```csharp
|
||||
public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
|
||||
{
|
||||
var trackPackageRouteHandler = new RouteHandler(context =>
|
||||
|
@ -231,6 +231,7 @@ public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
|
|||
|
||||
var routes = routeBuilder.Build();
|
||||
app.UseRouter(routes);
|
||||
}
|
||||
```
|
||||
|
||||
The table below shows the responses with the given URIs.
|
||||
|
|
Loading…
Reference in New Issue