Fix routing sample
This commit is contained in:
parent
3693002b02
commit
fe5b6d67c5
|
|
@ -9,6 +9,7 @@ namespace Microsoft.Framework.DependencyInjection
|
|||
{
|
||||
public static IServiceCollection AddRouting(this IServiceCollection services)
|
||||
{
|
||||
services.AddOptions();
|
||||
services.TryAdd(ServiceDescriptor.Transient<IInlineConstraintResolver, DefaultInlineConstraintResolver>());
|
||||
return services;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue