Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
⬆️ Update Nancy template to RC1. Fixes #553
Browse files Browse the repository at this point in the history
This commit updates Nancy template to support RC1.
- project dependencies update to RC1
- Nancy package update to latest version
- support new hosting model from RC1
- small white-space fixes
  • Loading branch information
peterblazejewicz committed Jan 14, 2016
1 parent 94c0b59 commit 706d27e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions templates/projects/nancy/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ public void Configure(IApplicationBuilder app)
{
app.UseOwin(x => x.UseNancy());
}

// Entry point for the application.
public static void Main(string[] args) => Microsoft.AspNet.Hosting.WebApplication.Run<Startup>(args);
}
}
12 changes: 8 additions & 4 deletions templates/projects/nancy/project.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"tooling": {
"defaultNamespace": "<%= namespace %>"
"defaultNamespace": "<%= namespace %>"
},
"dependencies": {
"Microsoft.AspNet.Server.Kestrel": "1.0.0-beta8",
"Microsoft.AspNet.Owin": "1.0.0-beta8",
"Nancy": "1.3.0"
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final",
"Microsoft.AspNet.Owin": "1.0.0-rc1-final",
"Nancy": "1.4.3"
},
"commands": {
"web": "Microsoft.AspNet.Server.Kestrel"
Expand Down

0 comments on commit 706d27e

Please sign in to comment.