Updated to use new UseServices API

This commit is contained in:
David Fowler 2014-04-17 21:13:43 -07:00
parent c4f01b8ec9
commit 73b7509368
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ namespace MvcSample.Web
{
public void Configuration(IBuilder app)
{
app.UseContainer(services =>
app.UseServices(services =>
{
services.AddMvc();
services.AddSingleton<PassThroughAttribute, PassThroughAttribute>();