Skip to content

Commit

Permalink
updated more samples
Browse files Browse the repository at this point in the history
  • Loading branch information
leastprivilege committed Feb 22, 2016
1 parent a12b0f0 commit 00e710b
Show file tree
Hide file tree
Showing 23 changed files with 85 additions and 1,346 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc;
using System.Web.Routing;

namespace MvcViewServiceSample
Expand Down
320 changes: 0 additions & 320 deletions source/MVC ViewService/MvcViewServiceSample/Configuration/Clients.cs

This file was deleted.

This file was deleted.

60 changes: 0 additions & 60 deletions source/MVC ViewService/MvcViewServiceSample/Configuration/Users.cs

This file was deleted.

8 changes: 1 addition & 7 deletions source/MVC ViewService/MvcViewServiceSample/Global.asax.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc;
using System.Web.Routing;
using System.Web.Security;
using System.Web.SessionState;

namespace MvcViewServiceSample
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<Reference Include="HtmlSanitizationLibrary">
<HintPath>..\packages\AntiXSS.4.3.0\lib\net40\HtmlSanitizationLibrary.dll</HintPath>
</Reference>
<Reference Include="IdentityServer3, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\IdentityServer3.2.0.1\lib\net45\IdentityServer3.dll</HintPath>
<Reference Include="IdentityServer3, Version=2.4.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\IdentityServer3.2.4.0\lib\net45\IdentityServer3.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.CSharp" />
Expand All @@ -62,19 +62,19 @@
<Private>True</Private>
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.8.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Owin">
<HintPath>..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
</Reference>
<Reference Include="Serilog, Version=1.5.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.1.5.9\lib\net45\Serilog.dll</HintPath>
<HintPath>..\packages\Serilog.1.5.14\lib\net45\Serilog.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Serilog.FullNetFx, Version=1.5.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
<HintPath>..\packages\Serilog.1.5.9\lib\net45\Serilog.FullNetFx.dll</HintPath>
<HintPath>..\packages\Serilog.1.5.14\lib\net45\Serilog.FullNetFx.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Web.DynamicData" />
Expand Down Expand Up @@ -159,11 +159,17 @@
<Content Include="Web.config" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\_sharedConfiguration\Clients.cs">
<Link>Configuration\Clients.cs</Link>
</Compile>
<Compile Include="..\..\_sharedConfiguration\Scopes.cs">
<Link>Configuration\Scopes.cs</Link>
</Compile>
<Compile Include="..\..\_sharedConfiguration\Users.cs">
<Link>Configuration\Users.cs</Link>
</Compile>
<Compile Include="App_Start\RouteConfig.cs" />
<Compile Include="Configuration\Cert.cs" />
<Compile Include="Configuration\Clients.cs" />
<Compile Include="Configuration\Scopes.cs" />
<Compile Include="Configuration\Users.cs" />
<Compile Include="Controllers\LogonWorkflowController.cs" />
<Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
5 changes: 2 additions & 3 deletions source/MVC ViewService/MvcViewServiceSample/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Threading.Tasks;
using System.Web;
using System.Web;
using EnhancedCoding.Samples.IdSvrServices;
using IdentityServer3.Core.Services;
using Microsoft.Owin;
Expand All @@ -9,6 +7,7 @@
using Configuration;
using IdentityServer3.Core.Configuration;
using Serilog;
using IdentityServer3.Host.Config;

[assembly: OwinStartup(typeof(MvcViewServiceSample.Startup))]

Expand Down
6 changes: 3 additions & 3 deletions source/MVC ViewService/MvcViewServiceSample/packages.config
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="AntiXSS" version="4.3.0" targetFramework="net45" />
<package id="IdentityServer3" version="2.0.1" targetFramework="net45" />
<package id="IdentityServer3" version="2.4.0" targetFramework="net45" />
<package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebPages" version="3.2.3" targetFramework="net45" />
<package id="Microsoft.Owin" version="3.0.1" targetFramework="net45" />
<package id="Microsoft.Owin.Host.SystemWeb" version="3.0.1" targetFramework="net45" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" />
<package id="Newtonsoft.Json" version="8.0.2" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="Serilog" version="1.5.9" targetFramework="net45" />
<package id="Serilog" version="1.5.14" targetFramework="net45" />
</packages>
9 changes: 6 additions & 3 deletions source/SelfHost (InMem with WS-Fed)/SelfHost/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<trace autoflush="true" indentsize="4">
<listeners>
<remove name="Default" />
<add name="myListener" type="System.Diagnostics.TextWriterTraceListener"
initializeData="c:\logs\IdentityServer3.WsFed.log" />
<add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\logs\IdentityServer3.WsFed.log" />
</listeners>
</trace>
</system.diagnostics>
Expand All @@ -18,7 +17,11 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Expand Down
320 changes: 0 additions & 320 deletions source/SelfHost (InMem with WS-Fed)/SelfHost/Config/Clients.cs

This file was deleted.

60 changes: 0 additions & 60 deletions source/SelfHost (InMem with WS-Fed)/SelfHost/Config/Scopes.cs

This file was deleted.

33 changes: 0 additions & 33 deletions source/SelfHost (InMem with WS-Fed)/SelfHost/Config/Users.cs

This file was deleted.

Loading

0 comments on commit 00e710b

Please sign in to comment.