diff --git a/samples/CookieSample/Startup.cs b/samples/CookieSample/Startup.cs index cd8bf76211..d648a15235 100644 --- a/samples/CookieSample/Startup.cs +++ b/samples/CookieSample/Startup.cs @@ -1,18 +1,12 @@ -using System; using System.Security.Claims; -using Microsoft.AspNet; -using Microsoft.AspNet.Http; -using Microsoft.AspNet.Security.Cookies; -using Microsoft.AspNet.RequestContainer; using Microsoft.AspNet.Builder; -using Microsoft.Framework.DependencyInjection; -using Microsoft.Framework.DependencyInjection.Fallback; +using Microsoft.AspNet.Security.Cookies; namespace CookieSample { public class Startup { - public void Configuration(IBuilder app) + public void Configure(IBuilder app) { app.UseCookieAuthentication(new CookieAuthenticationOptions() { diff --git a/samples/CookieSample/project.json b/samples/CookieSample/project.json index 5b4245f7c6..c3378914be 100644 --- a/samples/CookieSample/project.json +++ b/samples/CookieSample/project.json @@ -12,7 +12,7 @@ "Microsoft.AspNet.Server.WebListener": "0.1-alpha-*", "Microsoft.Framework.DependencyInjection": "0.1-alpha-*" }, - "commands": { "web": "Microsoft.AspNet.Hosting server.name=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345" }, + "commands": { "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345" }, "configurations": { "net45": { },