Fix samples.
This commit is contained in:
parent
54c9794c2a
commit
5f7ae9cad6
|
|
@ -5,7 +5,7 @@ namespace ErrorPageSample
|
|||
{
|
||||
public class Startup
|
||||
{
|
||||
public void Configuration(IBuilder app)
|
||||
public void Configure(IBuilder app)
|
||||
{
|
||||
app.UseErrorPage();
|
||||
app.Run(context =>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
"Microsoft.AspNet.HttpFeature": "0.1-alpha-*",
|
||||
"Microsoft.AspNet.Server.WebListener": "0.1-alpha-*"
|
||||
},
|
||||
"commands": { "web": "Microsoft.AspNet.Hosting server.name=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5001" },
|
||||
"commands": { "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5001" },
|
||||
"configurations": {
|
||||
"net45": {},
|
||||
"k10": {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace WelcomePageSample
|
|||
{
|
||||
public class Startup
|
||||
{
|
||||
public void Configuration(IBuilder app)
|
||||
public void Configure(IBuilder app)
|
||||
{
|
||||
app.UseWelcomePage();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
"Microsoft.AspNet.HttpFeature": "0.1-alpha-*",
|
||||
"Microsoft.AspNet.Server.WebListener": "0.1-alpha-*"
|
||||
},
|
||||
"commands": { "web": "Microsoft.AspNet.Hosting server.name=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5001" },
|
||||
"commands": { "web": "Microsoft.AspNet.Hosting server=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5001" },
|
||||
"configurations": {
|
||||
"net45": { },
|
||||
"k10": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue