Fix routing sample

This commit is contained in:
Kiran Challa 2015-03-20 14:55:05 -07:00
parent 3693002b02
commit fe5b6d67c5
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}