Browse Source

Use ASP.NET Core RC2 and aspnet-contrib release packages

pull/89/head
Kévin Chalet 10 years ago
parent
commit
96b7671548
  1. 2
      NuGet.config
  2. 8
      README.md
  3. 2
      build.ps1
  4. 2
      build.sh
  5. 4
      external/NWebsec/project.json
  6. 26
      samples/Mvc.Client/project.json
  7. 32
      samples/Mvc.Server/project.json
  8. 4
      src/OpenIddict.Assets/project.json
  9. 10
      src/OpenIddict.Core/project.json
  10. 2
      src/OpenIddict.EF/project.json
  11. 2
      src/OpenIddict.Models/project.json
  12. 8
      src/OpenIddict.Mvc/project.json

2
NuGet.config

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="AspNetCiDev" value="https://www.myget.org/F/aspnetcidev/api/v3/index.json" />
<add key="AspNetCiRelease" value="https://www.myget.org/F/aspnetcirelease/api/v3/index.json" />
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
<add key="aspnet-contrib" value="https://www.myget.org/F/aspnet-contrib/api/v3/index.json" />
</packageSources>

8
README.md

@ -35,11 +35,7 @@ Note: OpenIddict uses **[EntityFramework 7](https://github.com/aspnet/EntityFram
To use OpenIddict, you need to:
- **Install [.NET CLI](https://github.com/dotnet/cli/) or the latest DNX runtime and update your packages to reference the RC2 nightly builds** (make sure to run these commands in a good old console, not in a PowerShell instance, as it doesn't support the SET command):
```
set DNX_UNSTABLE_FEED=https://www.myget.org/F/aspnetcidev/
dnvm upgrade -u
```
- **Install the latest [.NET CLI](https://github.com/dotnet/cli/) bits and update your packages to reference the RC2 release builds**.
- **Have an existing project or create a new one**: when creating a new project using Visual Studio's default ASP.NET Core template, using **individual user accounts authentication** is strongly recommended. When updating an existing project, you must provide your own `AccountController` to handle the registration process and the authentication flow.
@ -49,7 +45,7 @@ dnvm upgrade -u
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="AspNetCiDev" value="https://www.myget.org/F/aspnetcidev/api/v3/index.json" />
<add key="AspNetCiRelease" value="https://www.myget.org/F/aspnetcirelease/api/v3/index.json" />
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
<add key="aspnet-contrib" value="https://www.myget.org/F/aspnet-contrib/api/v3/index.json" />
</packageSources>

2
build.ps1

@ -3,7 +3,7 @@ cd $PSScriptRoot
$repoFolder = $PSScriptRoot
$env:REPO_FOLDER = $repoFolder
$koreBuildZip="https://github.com/aspnet/KoreBuild/archive/dev.zip"
$koreBuildZip="https://github.com/aspnet/KoreBuild/archive/release.zip"
if ($env:KOREBUILD_ZIP)
{
$koreBuildZip=$env:KOREBUILD_ZIP

2
build.sh

@ -2,7 +2,7 @@
repoFolder="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $repoFolder
koreBuildZip="https://github.com/aspnet/KoreBuild/archive/dev.zip"
koreBuildZip="https://github.com/aspnet/KoreBuild/archive/release.zip"
if [ ! -z $KOREBUILD_ZIP ]; then
koreBuildZip=$KOREBUILD_ZIP
fi

4
external/NWebsec/project.json

@ -18,8 +18,8 @@
"netstandard1.3": {
"dependencies": {
"Microsoft.CSharp": "4.0.1-*",
"System.Runtime": "4.1.0-*"
"Microsoft.CSharp": "4.0.1-rc2-*",
"System.Runtime": "4.1.0-rc2-*"
},
"imports": [

26
samples/Mvc.Client/project.json

@ -6,18 +6,18 @@
},
"dependencies": {
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-*",
"Microsoft.AspNetCore.Authentication.OpenIdConnect": "0.1.0-*",
"Microsoft.AspNetCore.Diagnostics": "1.0.0-*",
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNetCore.HttpOverrides": "1.0.0-*",
"Microsoft.AspNetCore.Hosting": "1.0.0-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
"Microsoft.Extensions.Logging.Debug": "1.0.0-*"
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-rc2-*",
"Microsoft.AspNetCore.Authentication.OpenIdConnect": "0.1.0-rc2-*",
"Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-*",
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-rc2-*",
"Microsoft.AspNetCore.HttpOverrides": "1.0.0-rc2-*",
"Microsoft.AspNetCore.Hosting": "1.0.0-rc2-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-rc2-*",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-*",
"Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-rc2-*",
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-*"
},
"frameworks": {
@ -29,7 +29,7 @@
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": { "type": "platform", "version": "1.0.0-*" }
"Microsoft.NETCore.App": { "type": "platform", "version": "1.0.0-rc2-*" }
},
"imports": [

32
samples/Mvc.Server/project.json

@ -6,21 +6,21 @@
},
"dependencies": {
"AspNet.Security.OAuth.GitHub": "1.0.0-*",
"AspNet.Security.OAuth.Introspection": "1.0.0-*",
"AspNet.Security.OAuth.Validation": "1.0.0-*",
"Microsoft.AspNetCore.Authentication.Google": "1.0.0-*",
"Microsoft.AspNetCore.Authentication.Twitter": "1.0.0-*",
"Microsoft.AspNetCore.Diagnostics": "1.0.0-*",
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNetCore.HttpOverrides": "1.0.0-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
"Microsoft.EntityFrameworkCore.SqlServer": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
"Microsoft.Extensions.Logging.Debug": "1.0.0-*",
"AspNet.Security.OAuth.GitHub": "1.0.0-alpha4-*",
"AspNet.Security.OAuth.Introspection": "1.0.0-alpha1-*",
"AspNet.Security.OAuth.Validation": "1.0.0-alpha1-*",
"Microsoft.AspNetCore.Authentication.Google": "1.0.0-rc2-*",
"Microsoft.AspNetCore.Authentication.Twitter": "1.0.0-rc2-*",
"Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-*",
"Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-rc2-*",
"Microsoft.AspNetCore.HttpOverrides": "1.0.0-rc2-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-rc2-*",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-*",
"Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-*",
"Microsoft.EntityFrameworkCore.SqlServer": "1.0.0-rc2-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-rc2-*",
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-*",
"OpenIddict": "1.0.0-*"
},
@ -33,7 +33,7 @@
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": { "type": "platform", "version": "1.0.0-*" }
"Microsoft.NETCore.App": { "type": "platform", "version": "1.0.0-rc2-*" }
},
"imports": [

4
src/OpenIddict.Assets/project.json

@ -36,8 +36,8 @@
"dependencies": {
"JetBrains.Annotations": { "type": "build", "version": "10.1.2-eap" },
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
"Microsoft.Extensions.FileProviders.Embedded": "1.0.0-*",
"Microsoft.AspNetCore.StaticFiles": "1.0.0-rc2-*",
"Microsoft.Extensions.FileProviders.Embedded": "1.0.0-rc2-*",
"OpenIddict.Core": "1.0.0-*"
},

10
src/OpenIddict.Core/project.json

@ -29,13 +29,13 @@
},
"dependencies": {
"AspNet.Security.OpenIdConnect.Server": "1.0.0-*",
"AspNet.Security.OpenIdConnect.Server": "1.0.0-beta5-*",
"CryptoHelper": "1.0.0-rc2-build04",
"JetBrains.Annotations": { "type": "build", "version": "10.1.2-eap" },
"Microsoft.AspNetCore.Cors": "1.0.0-*",
"Microsoft.AspNetCore.Identity": "1.0.0-*",
"Microsoft.Extensions.Configuration": "1.0.0-*",
"Microsoft.Extensions.Caching.Memory": "1.0.0-*"
"Microsoft.AspNetCore.Cors": "1.0.0-rc2-*",
"Microsoft.AspNetCore.Identity": "1.0.0-rc2-*",
"Microsoft.Extensions.Configuration": "1.0.0-rc2-*",
"Microsoft.Extensions.Caching.Memory": "1.0.0-rc2-*"
},
"frameworks": {

2
src/OpenIddict.EF/project.json

@ -30,7 +30,7 @@
"dependencies": {
"JetBrains.Annotations": { "type": "build", "version": "10.1.2-eap" },
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.0.0-*",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.0.0-rc2-*",
"OpenIddict.Core": "1.0.0-*",
"OpenIddict.Models": "1.0.0-*"
},

2
src/OpenIddict.Models/project.json

@ -33,7 +33,7 @@
"netstandard1.3": {
"dependencies": {
"System.Runtime": "4.1.0-*"
"System.Runtime": "4.1.0-rc2-*"
},
"imports": [

8
src/OpenIddict.Mvc/project.json

@ -31,11 +31,11 @@
"resource": "Views/**",
"dependencies": {
"AspNet.Hosting.Extensions": "1.0.0-*",
"AspNet.Hosting.Extensions": "1.0.0-alpha2-*",
"JetBrains.Annotations": { "type": "build", "version": "10.1.2-eap" },
"Microsoft.AspNetCore.Mvc": "1.0.0-*",
"Microsoft.Extensions.FileProviders.Embedded": "1.0.0-*",
"Microsoft.Extensions.FileProviders.Composite": "1.0.0-*",
"Microsoft.AspNetCore.Mvc": "1.0.0-rc2-*",
"Microsoft.Extensions.FileProviders.Embedded": "1.0.0-rc2-*",
"Microsoft.Extensions.FileProviders.Composite": "1.0.0-rc2-*",
"OpenIddict.Core": "1.0.0-*"
},

Loading…
Cancel
Save