-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update sample to work with RTM (#1516)
Modify sample for dependency-injection
- Loading branch information
1 parent
d2eebd2
commit 9b70958
Showing
11 changed files
with
63 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"projects": [ "src", "test" ], | ||
"sdk": { | ||
"version": "1.0.0-rc1-update1" | ||
"version": "1.0.0-preview2-003102" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...vc/views/dependency-injection/sample/src/ViewInjectSample/Controllers/HelperController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using Microsoft.AspNet.Mvc; | ||
using Microsoft.AspNetCore.Mvc; | ||
|
||
namespace ViewInjectSample.Controllers | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
...c/views/dependency-injection/sample/src/ViewInjectSample/Controllers/ProfileController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../mvc/views/dependency-injection/sample/src/ViewInjectSample/Controllers/ToDoController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 21 additions & 20 deletions
41
aspnet/mvc/views/dependency-injection/sample/src/ViewInjectSample/project.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
{ | ||
"version": "1.0.0-*", | ||
"compilationOptions": { | ||
"emitEntryPoint": true | ||
"buildOptions": { | ||
"emitEntryPoint": true, | ||
"preserveCompilationContext": true | ||
}, | ||
|
||
"dependencies": { | ||
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-final", | ||
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final", | ||
"Microsoft.AspNet.Mvc": "6.0.0-rc1-final" | ||
}, | ||
|
||
"commands": { | ||
"web": "Microsoft.AspNet.Server.Kestrel" | ||
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0", | ||
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0", | ||
"Microsoft.AspNetCore.Mvc": "1.0.0" | ||
}, | ||
|
||
"frameworks": { | ||
"dnx451": { }, | ||
"dnxcore50": { } | ||
"netcoreapp1.0": { | ||
"dependencies": { | ||
"Microsoft.NETCore.App": { | ||
"type": "platform", | ||
"version": "1.0.0" | ||
} | ||
} | ||
}, | ||
"net451": {} | ||
}, | ||
|
||
"exclude": [ | ||
"wwwroot", | ||
"node_modules" | ||
], | ||
"publishExclude": [ | ||
"**.user", | ||
"**.vspscc" | ||
] | ||
"publishOptions": { | ||
"exclude": [ | ||
"**.user", | ||
"**.vspscc" | ||
] | ||
} | ||
} |