forked from auth0-samples/auth0-aspnetcore-mvc-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update OAuth sample for 2.0.0-preview2-final
- Loading branch information
Showing
7 changed files
with
92 additions
and
161 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,18 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp1.1</TargetFramework> | ||
<DebugType>portable</DebugType> | ||
<PreserveCompilationContext>true</PreserveCompilationContext> | ||
<AssemblyName>oauth2</AssemblyName> | ||
<OutputType>Exe</OutputType> | ||
<PackageId>oauth2</PackageId> | ||
<RuntimeFrameworkVersion>1.0.4</RuntimeFrameworkVersion> | ||
<PackageTargetFallback>$(PackageTargetFallback);dotnet5.6;dnxcore50;portable-net45+win8</PackageTargetFallback> | ||
<TargetFramework>netcoreapp2.0</TargetFramework> | ||
<AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Update="wwwroot\**\*;Views\**\*"> | ||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> | ||
</None> | ||
<PackageReference Include="BuildBundlerMinifier" Version="2.4.337" /> | ||
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-final" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.3" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Authentication.OAuth" Version="1.1.2" /> | ||
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0-preview2-final" /> | ||
<DotNetCliToolReference Include="Microsoft.DotNet.Watcher.Tools" Version="2.0.0-preview2-final" /> | ||
</ItemGroup> | ||
|
||
<Target Name="PrepublishScript" BeforeTargets="PrepareForPublish"> | ||
<Exec Command="npm install" /> | ||
<Exec Command="bower install" /> | ||
<Exec Command="gulp clean" /> | ||
<Exec Command="gulp min" /> | ||
<Exec Command="dotnet bundle" /> | ||
</Target> | ||
|
||
<ItemGroup> | ||
<DotNetCliToolReference Include="Microsoft.DotNet.Watcher.Tools" Version="1.0.0" /> | ||
</ItemGroup> | ||
|
||
</Project> | ||
</Project> |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Configure bundling and minification for the project. | ||
// More info at https://go.microsoft.com/fwlink/?LinkId=808241 | ||
[ | ||
{ | ||
"outputFileName": "wwwroot/css/site.min.css", | ||
// An array of relative input file paths. Globbing patterns supported | ||
"inputFiles": [ | ||
"wwwroot/css/site.css" | ||
] | ||
}, | ||
{ | ||
"outputFileName": "wwwroot/js/site.min.js", | ||
"inputFiles": [ | ||
"wwwroot/js/site.js" | ||
], | ||
// Optionally specify minification options | ||
"minify": { | ||
"enabled": true, | ||
"renameLocals": true | ||
}, | ||
// Optinally generate .map file | ||
"sourceMap": false | ||
} | ||
] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.