Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Commit 45836c8

Browse files
committed
Update UseMiddleware dependencies.
1 parent 84dfcf5 commit 45836c8

File tree

10 files changed

+19
-19
lines changed

10 files changed

+19
-19
lines changed

samples/CookieSessionSample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class Startup
1010
{
1111
public void Configure(IApplicationBuilder app)
1212
{
13-
app.UseServices(services => { });
13+
app.UseRequestServices();
1414
app.UseCookieAuthentication(options =>
1515
{
1616
options.SessionStore = new MemoryCacheSessionStore();
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
{
2-
"dependencies": {
3-
"Microsoft.AspNet.Security.Cookies": "1.0.0-*",
4-
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
5-
"Microsoft.Framework.Cache.Memory": "1.0.0-*",
6-
"Microsoft.Framework.DependencyInjection": "1.0.0-*"
7-
},
8-
"commands": { "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345" },
9-
"frameworks": {
10-
"aspnet50": {
2+
"dependencies": {
3+
"Microsoft.AspNet.RequestContainer": "1.0.0-*",
4+
"Microsoft.AspNet.Security.Cookies": "1.0.0-*",
5+
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
6+
"Microsoft.Framework.Cache.Memory": "1.0.0-*",
7+
"Microsoft.Framework.DependencyInjection": "1.0.0-*"
118
},
12-
"aspnetcore50": {
9+
"commands": { "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345" },
10+
"frameworks": {
11+
"aspnet50": { },
12+
"aspnetcore50": { }
1313
}
14-
}
1514
}

samples/SocialSample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void Configure(IApplicationBuilder app)
2626

2727
app.UseServices(services =>
2828
{
29-
services.ConfigureOptions<ExternalAuthenticationOptions>(options =>
29+
services.Configure<ExternalAuthenticationOptions>(options =>
3030
{
3131
options.SignInAsAuthenticationType = CookieAuthenticationDefaults.AuthenticationType;
3232
});

src/Microsoft.AspNet.Security.Cookies/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": "1.0.0-*",
33
"dependencies": {
4-
"Microsoft.AspNet.RequestContainer": "1.0.0-*",
4+
"Microsoft.AspNet.Http.Extensions": "1.0.0-*",
55
"Microsoft.AspNet.Security": "1.0.0-*",
66
"Microsoft.AspNet.Security.DataProtection": "1.0.0-*",
77
"Microsoft.Framework.DependencyInjection": "1.0.0-*",

src/Microsoft.AspNet.Security.Facebook/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": "1.0.0-*",
33
"dependencies": {
4-
"Microsoft.AspNet.RequestContainer": "1.0.0-*",
4+
"Microsoft.AspNet.Http.Extensions": "1.0.0-*",
55
"Microsoft.AspNet.Security": "1.0.0-*",
66
"Microsoft.AspNet.Security.DataProtection": "1.0.0-*",
77
"Microsoft.AspNet.Security.OAuth": "1.0.0-*",

src/Microsoft.AspNet.Security.Google/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": "1.0.0-*",
33
"dependencies": {
4-
"Microsoft.AspNet.RequestContainer": "1.0.0-*",
4+
"Microsoft.AspNet.Http.Extensions": "1.0.0-*",
55
"Microsoft.AspNet.Security": "1.0.0-*",
66
"Microsoft.AspNet.Security.DataProtection": "1.0.0-*",
77
"Microsoft.AspNet.Security.OAuth": "1.0.0-*",

src/Microsoft.AspNet.Security.MicrosoftAccount/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": "1.0.0-*",
33
"dependencies": {
4-
"Microsoft.AspNet.RequestContainer": "1.0.0-*",
4+
"Microsoft.AspNet.Http.Extensions": "1.0.0-*",
55
"Microsoft.AspNet.Security": "1.0.0-*",
66
"Microsoft.AspNet.Security.DataProtection": "1.0.0-*",
77
"Microsoft.AspNet.Security.OAuth": "1.0.0-*",

src/Microsoft.AspNet.Security.OAuth/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": "1.0.0-*",
33
"dependencies": {
4-
"Microsoft.AspNet.RequestContainer": "1.0.0-*",
4+
"Microsoft.AspNet.Http.Extensions": "1.0.0-*",
55
"Microsoft.AspNet.Security": "1.0.0-*",
66
"Microsoft.AspNet.Security.DataProtection": "1.0.0-*",
77
"Microsoft.AspNet.WebUtilities": "1.0.0-*",

src/Microsoft.AspNet.Security.Twitter/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": "1.0.0-*",
33
"dependencies": {
4-
"Microsoft.AspNet.RequestContainer": "1.0.0-*",
4+
"Microsoft.AspNet.Http.Extensions": "1.0.0-*",
55
"Microsoft.AspNet.Security": "1.0.0-*",
66
"Microsoft.AspNet.Security.DataProtection": "1.0.0-*",
77
"Microsoft.AspNet.WebUtilities": "1.0.0-*",

test/Microsoft.AspNet.Security.Test/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
},
55
"dependencies": {
66
"Microsoft.AspNet.Http": "1.0.0-*",
7+
"Microsoft.AspNet.RequestContainer": "1.0.0-*",
78
"Microsoft.AspNet.Security": "1.0.0-*",
89
"Microsoft.AspNet.Security.Cookies": "1.0.0-*",
910
"Microsoft.AspNet.Security.Facebook": "1.0.0-*",

0 commit comments

Comments
 (0)