Fix sample.
This commit is contained in:
parent
e2d3598438
commit
cf7ffe1a75
|
|
@ -1,18 +1,12 @@
|
||||||
using System;
|
|
||||||
using System.Security.Claims;
|
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.AspNet.Builder;
|
||||||
using Microsoft.Framework.DependencyInjection;
|
using Microsoft.AspNet.Security.Cookies;
|
||||||
using Microsoft.Framework.DependencyInjection.Fallback;
|
|
||||||
|
|
||||||
namespace CookieSample
|
namespace CookieSample
|
||||||
{
|
{
|
||||||
public class Startup
|
public class Startup
|
||||||
{
|
{
|
||||||
public void Configuration(IBuilder app)
|
public void Configure(IBuilder app)
|
||||||
{
|
{
|
||||||
app.UseCookieAuthentication(new CookieAuthenticationOptions()
|
app.UseCookieAuthentication(new CookieAuthenticationOptions()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
"Microsoft.AspNet.Server.WebListener": "0.1-alpha-*",
|
"Microsoft.AspNet.Server.WebListener": "0.1-alpha-*",
|
||||||
"Microsoft.Framework.DependencyInjection": "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": {
|
"configurations": {
|
||||||
"net45": {
|
"net45": {
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue