Clean up samples.

This commit is contained in:
Chris Ross 2014-12-12 14:20:47 -08:00
parent 3ebda03df9
commit 1b2415c5b3
6 changed files with 29 additions and 7 deletions

View File

@ -18,6 +18,6 @@ namespace HelloMvc
app.UseMvc();
app.UseWelcomePage();
}
}
}
}

View File

@ -1,17 +1,28 @@
{
"version": "1.0.0-*",
"webroot": "wwwroot",
"exclude": [
"wwwroot"
],
"packExclude": [
"**.kproj",
"**.user",
"**.vspscc"
],
"dependencies": {
"Kestrel": "1.0.0-*",
"Microsoft.AspNet.Diagnostics": "1.0.0-*",
"Microsoft.AspNet.Hosting": "1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Server.IIS": "1.0.0-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-*"
},
"commands": {
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5001",
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
},
"frameworks": {
"aspnet50": { },
"aspnetcore50": { }
"frameworks": {
"aspnet50": { },
"aspnetcore50": { }
}
}

View File

Before

Width:  |  Height:  |  Size: 303 KiB

After

Width:  |  Height:  |  Size: 303 KiB

View File

@ -1,6 +1,6 @@
using Microsoft.AspNet.Builder;
namespace KWebStartup
namespace HelloWeb
{
public class Startup
{

View File

@ -1,8 +1,19 @@
{
"version": "1.0.0-*",
"webroot": "wwwroot",
"exclude": [
"wwwroot"
],
"packExclude": [
"**.kproj",
"**.user",
"**.vspscc"
],
"dependencies": {
"Kestrel": "1.0.0-*",
"Microsoft.AspNet.Diagnostics": "1.0.0-*",
"Microsoft.AspNet.Hosting": "1.0.0-*",
"Microsoft.AspNet.Server.IIS": "1.0.0-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
"Microsoft.AspNet.StaticFiles": "1.0.0-*"
},
@ -11,7 +22,7 @@
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
},
"frameworks": {
"aspnet50": { },
"aspnetcore50": { }
"aspnet50": { },
"aspnetcore50": { }
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB