diff --git a/samples/CookieSample/project.json b/samples/CookieSample/project.json
index 4464f21fe2..030c149834 100644
--- a/samples/CookieSample/project.json
+++ b/samples/CookieSample/project.json
@@ -1,21 +1,18 @@
{
- "dependencies": {
- "Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
- "Microsoft.AspNet.DataProtection": "1.0.0-*",
- "Microsoft.AspNet.Server.WebListener": "1.0.0-*",
- "Microsoft.AspNet.Server.IIS": "1.0.0-*",
- "Microsoft.Extensions.Logging.Console": "1.0.0-*",
- "Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
- },
- "commands": {
- "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345",
- "kestrel": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.Kestrel --server.urls http://localhost:5004"
- },
- "frameworks": {
- "dnx451": {
- },
- "dnxcore50": {
- }
- },
- "webroot":"wwwroot"
+ "dependencies": {
+ "Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
+ "Microsoft.AspNet.DataProtection": "1.0.0-*",
+ "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
+ "Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
+ "Microsoft.AspNet.Server.WebListener": "1.0.0-*",
+ "Microsoft.Extensions.Logging.Console": "1.0.0-*"
+ },
+ "commands": {
+ "web": "Microsoft.AspNet.Server.Kestrel",
+ "weblistener": "Microsoft.AspNet.Server.WebListener"
+ },
+ "frameworks": {
+ "dnx451": { },
+ "dnxcore50": { }
+ }
}
diff --git a/samples/CookieSample/wwwroot/web.config b/samples/CookieSample/wwwroot/web.config
new file mode 100644
index 0000000000..9a0d90abf8
--- /dev/null
+++ b/samples/CookieSample/wwwroot/web.config
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/CookieSessionSample/project.json b/samples/CookieSessionSample/project.json
index be0b1ae052..a1c5ad3c6c 100644
--- a/samples/CookieSessionSample/project.json
+++ b/samples/CookieSessionSample/project.json
@@ -1,20 +1,19 @@
{
- "dependencies": {
- "Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
- "Microsoft.AspNet.DataProtection": "1.0.0-*",
- "Microsoft.AspNet.Server.IIS": "1.0.0-*",
- "Microsoft.AspNet.Server.WebListener": "1.0.0-*",
- "Microsoft.Extensions.Caching.Memory": "1.0.0-*",
- "Microsoft.Extensions.Logging.Console": "1.0.0-*",
- "Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
- },
- "commands": {
- "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:12345",
- "kestrel": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.Kestrel --server.urls http://localhost:5004"
- },
- "frameworks": {
- "dnx451": { },
- "dnxcore50": { }
- },
- "webroot": "wwwroot"
+ "dependencies": {
+ "Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
+ "Microsoft.AspNet.DataProtection": "1.0.0-*",
+ "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
+ "Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
+ "Microsoft.AspNet.Server.WebListener": "1.0.0-*",
+ "Microsoft.Extensions.Caching.Memory": "1.0.0-*",
+ "Microsoft.Extensions.Logging.Console": "1.0.0-*"
+ },
+ "commands": {
+ "web": "Microsoft.AspNet.Server.Kestrel",
+ "weblistener": "Microsoft.AspNet.Server.WebListener"
+ },
+ "frameworks": {
+ "dnx451": { },
+ "dnxcore50": { }
+ }
}
diff --git a/samples/CookieSessionSample/wwwroot/web.config b/samples/CookieSessionSample/wwwroot/web.config
new file mode 100644
index 0000000000..9a0d90abf8
--- /dev/null
+++ b/samples/CookieSessionSample/wwwroot/web.config
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/OpenIdConnectSample/project.json b/samples/OpenIdConnectSample/project.json
index 6f27caa556..918dbcf3f1 100644
--- a/samples/OpenIdConnectSample/project.json
+++ b/samples/OpenIdConnectSample/project.json
@@ -1,20 +1,19 @@
{
- "dependencies": {
- "Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
- "Microsoft.AspNet.Authentication.OpenIdConnect": "1.0.0-*",
- "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
- "Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
- "Microsoft.AspNet.Server.WebListener": "1.0.0-*",
- "Microsoft.Extensions.Logging.Console": "1.0.0-*"
- },
- "frameworks": {
- "dnx451": { },
- "dnxcore50": { }
- },
- "commands": {
- "web": "Microsoft.AspNet.Server.Kestrel",
- "kestrel": "Microsoft.AspNet.Server.Kestrel --server.urls http://localhost:42023",
- "weblistener": "Microsoft.AspNet.Server.WebListener --server.urls http://localhost:42023"
- },
- "webroot": "wwwroot"
+ "dependencies": {
+ "Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
+ "Microsoft.AspNet.Authentication.OpenIdConnect": "1.0.0-*",
+ "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
+ "Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
+ "Microsoft.AspNet.Server.WebListener": "1.0.0-*",
+ "Microsoft.Extensions.Logging.Console": "1.0.0-*"
+ },
+ "frameworks": {
+ "dnx451": { },
+ "dnxcore50": { }
+ },
+ "commands": {
+ "web": "Microsoft.AspNet.Server.Kestrel",
+ "kestrel": "Microsoft.AspNet.Server.Kestrel --server.urls http://localhost:42023",
+ "weblistener": "Microsoft.AspNet.Server.WebListener --server.urls http://localhost:42023"
+ }
}
diff --git a/samples/SocialSample/Properties/launchSettings.json b/samples/SocialSample/Properties/launchSettings.json
index 3481e55c44..dcfe9f5144 100644
--- a/samples/SocialSample/Properties/launchSettings.json
+++ b/samples/SocialSample/Properties/launchSettings.json
@@ -3,7 +3,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
- "applicationUrl": "http://localhost:1789/",
+ "applicationUrl": "http://localhost:54540",
"sslPort": 0
}
},
diff --git a/samples/SocialSample/project.json b/samples/SocialSample/project.json
index 48b78d3584..823ac24c01 100644
--- a/samples/SocialSample/project.json
+++ b/samples/SocialSample/project.json
@@ -1,25 +1,23 @@
{
- "dependencies": {
- "Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
- "Microsoft.AspNet.Authentication.Facebook": "1.0.0-*",
- "Microsoft.AspNet.Authentication.Google": "1.0.0-*",
- "Microsoft.AspNet.Authentication.MicrosoftAccount": "1.0.0-*",
- "Microsoft.AspNet.Authentication.Twitter": "1.0.0-*",
- "Microsoft.AspNet.DataProtection": "1.0.0-*",
- "Microsoft.AspNet.Server.IIS": "1.0.0-*",
- "Microsoft.AspNet.Server.WebListener": "1.0.0-*",
- "Microsoft.Extensions.Logging.Console": "1.0.0-*",
- "Microsoft.AspNet.Server.Kestrel": "1.0.0-*"
- },
- "commands": {
- "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:54540",
- "kestrel": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.Kestrel --server.urls http://localhost:54540"
- },
- "frameworks": {
- "dnx451": {
- },
- "dnxcore50": {
- }
- },
- "webroot": "wwwroot"
+ "dependencies": {
+ "Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
+ "Microsoft.AspNet.Authentication.Facebook": "1.0.0-*",
+ "Microsoft.AspNet.Authentication.Google": "1.0.0-*",
+ "Microsoft.AspNet.Authentication.MicrosoftAccount": "1.0.0-*",
+ "Microsoft.AspNet.Authentication.Twitter": "1.0.0-*",
+ "Microsoft.AspNet.DataProtection": "1.0.0-*",
+ "Microsoft.AspNet.IISPlatformHandler": "1.0.0-*",
+ "Microsoft.AspNet.Server.Kestrel": "1.0.0-*",
+ "Microsoft.AspNet.Server.WebListener": "1.0.0-*",
+ "Microsoft.Extensions.Logging.Console": "1.0.0-*"
+ },
+ "commands": {
+ "web": "Microsoft.AspNet.Server.Kestrel",
+ "kestrel": "Microsoft.AspNet.Server.Kestrel --server.urls http://localhost:54540",
+ "weblistener": "Microsoft.AspNet.Server.WebListener --server.urls=http://localhost:54540"
+ },
+ "frameworks": {
+ "dnx451": { },
+ "dnxcore50": { }
+ }
}
diff --git a/samples/SocialSample/wwwroot/.gitkeep b/samples/SocialSample/wwwroot/.gitkeep
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/samples/SocialSample/wwwroot/web.config b/samples/SocialSample/wwwroot/web.config
new file mode 100644
index 0000000000..9a0d90abf8
--- /dev/null
+++ b/samples/SocialSample/wwwroot/web.config
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file