Skip to content

Commit dd17c0c

Browse files
committed
Updated lab document to add optional lab for ALM & updated package references to latest versions.
1 parent e0f6ca1 commit dd17c0c

7 files changed

Lines changed: 76 additions & 30 deletions

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
################################################################################
44

55
/src/.vs/ProductListAPI
6+
/src/packages
7+
/src/ProductListAPI/bin
8+
/src/ProductListAPI/obj
9+
/src/ProductListAPI/Properties/PublishProfiles
Binary file not shown.
2.43 MB
Binary file not shown.

src/ProductListAPI/ProductListAPI.csproj

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,28 @@
4646
<HintPath>..\packages\Microsoft.Azure.AppService.ApiApps.Service.0.9.64\lib\net45\Microsoft.Azure.AppService.ApiApps.Service.dll</HintPath>
4747
</Reference>
4848
<Reference Include="Microsoft.CSharp" />
49-
<Reference Include="Microsoft.IdentityModel.JsonWebTokens, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
50-
<HintPath>..\packages\Microsoft.IdentityModel.JsonWebTokens.5.5.0\lib\net461\Microsoft.IdentityModel.JsonWebTokens.dll</HintPath>
49+
<Reference Include="Microsoft.IdentityModel.JsonWebTokens, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
50+
<HintPath>..\packages\Microsoft.IdentityModel.JsonWebTokens.5.6.0\lib\net461\Microsoft.IdentityModel.JsonWebTokens.dll</HintPath>
5151
</Reference>
52-
<Reference Include="Microsoft.IdentityModel.Logging, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
53-
<HintPath>..\packages\Microsoft.IdentityModel.Logging.5.5.0\lib\net461\Microsoft.IdentityModel.Logging.dll</HintPath>
52+
<Reference Include="Microsoft.IdentityModel.Logging, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
53+
<HintPath>..\packages\Microsoft.IdentityModel.Logging.5.6.0\lib\net461\Microsoft.IdentityModel.Logging.dll</HintPath>
5454
</Reference>
55-
<Reference Include="Microsoft.IdentityModel.Tokens, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
56-
<HintPath>..\packages\Microsoft.IdentityModel.Tokens.5.5.0\lib\net461\Microsoft.IdentityModel.Tokens.dll</HintPath>
55+
<Reference Include="Microsoft.IdentityModel.Tokens, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
56+
<HintPath>..\packages\Microsoft.IdentityModel.Tokens.5.6.0\lib\net461\Microsoft.IdentityModel.Tokens.dll</HintPath>
5757
</Reference>
5858
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
5959
<Private>True</Private>
6060
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
6161
</Reference>
6262
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
63-
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
63+
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
6464
</Reference>
6565
<Reference Include="Swashbuckle.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd1bb07a5ac7c7bc, processorArchitecture=MSIL">
6666
<HintPath>..\packages\Swashbuckle.Core.5.6.0\lib\net40\Swashbuckle.Core.dll</HintPath>
6767
</Reference>
6868
<Reference Include="System.Data.DataSetExtensions" />
69-
<Reference Include="System.IdentityModel.Tokens.Jwt, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
70-
<HintPath>..\packages\System.IdentityModel.Tokens.Jwt.5.5.0\lib\net461\System.IdentityModel.Tokens.Jwt.dll</HintPath>
69+
<Reference Include="System.IdentityModel.Tokens.Jwt, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
70+
<HintPath>..\packages\System.IdentityModel.Tokens.Jwt.5.6.0\lib\net461\System.IdentityModel.Tokens.Jwt.dll</HintPath>
7171
</Reference>
7272
<Reference Include="System.Net.Http" />
7373
<Reference Include="System.Net.Http.Formatting, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
@@ -117,6 +117,9 @@
117117
<ItemGroup>
118118
<None Include="Properties\PublishProfiles\PAProductList - FTP.pubxml" />
119119
<None Include="Properties\PublishProfiles\PAProductList - Web Deploy.pubxml" />
120+
<None Include="Properties\PublishProfiles\plistapi - FTP.pubxml" />
121+
<None Include="Properties\PublishProfiles\plistapi - ReadOnly - FTP.pubxml" />
122+
<None Include="Properties\PublishProfiles\plistapi - Web Deploy.pubxml" />
120123
<None Include="Properties\PublishProfiles\PowerAppsAzureLab - FTP.pubxml" />
121124
<None Include="Properties\PublishProfiles\PowerAppsAzureLab - ReadOnly - FTP.pubxml" />
122125
<None Include="Properties\PublishProfiles\PowerAppsAzureLab - Web Deploy.pubxml" />
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
5+
<UseIISExpress>true</UseIISExpress>
6+
<Use64BitIISExpress />
7+
<IISExpressSSLPort />
8+
<IISExpressAnonymousAuthentication />
9+
<IISExpressWindowsAuthentication />
10+
<IISExpressUseClassicPipelineMode />
11+
<UseGlobalApplicationHostFile />
12+
<NameOfLastUsedPublishProfile>plistapi - Web Deploy</NameOfLastUsedPublishProfile>
13+
</PropertyGroup>
14+
<ProjectExtensions>
15+
<VisualStudio>
16+
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
17+
<WebProjectProperties>
18+
<StartPageUrl>
19+
</StartPageUrl>
20+
<StartAction>CurrentPage</StartAction>
21+
<AspNetDebugging>True</AspNetDebugging>
22+
<SilverlightDebugging>False</SilverlightDebugging>
23+
<NativeDebugging>False</NativeDebugging>
24+
<SQLDebugging>False</SQLDebugging>
25+
<ExternalProgram>
26+
</ExternalProgram>
27+
<StartExternalURL>
28+
</StartExternalURL>
29+
<StartCmdLineArguments>
30+
</StartCmdLineArguments>
31+
<StartWorkingDirectory>
32+
</StartWorkingDirectory>
33+
<EnableENC>True</EnableENC>
34+
<AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug>
35+
</WebProjectProperties>
36+
</FlavorProperties>
37+
</VisualStudio>
38+
</ProjectExtensions>
39+
</Project>

src/ProductListAPI/Web.config

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
33
For more information on how to configure your ASP.NET application, please visit
44
http://go.microsoft.com/fwlink/?LinkId=301879
55
-->
66
<configuration>
7-
<appSettings/>
7+
<appSettings />
88
<!--
99
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
1010
@@ -14,35 +14,35 @@
1414
</system.Web>
1515
-->
1616
<system.web>
17-
<compilation debug="true" targetFramework="4.6.1"/>
18-
<httpRuntime targetFramework="4.6"/>
17+
<compilation debug="true" targetFramework="4.6.1" />
18+
<httpRuntime targetFramework="4.6" />
1919
</system.web>
2020
<runtime>
2121
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
2222
<dependentAssembly>
23-
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
24-
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
23+
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
24+
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
2525
</dependentAssembly>
2626
<dependentAssembly>
27-
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
28-
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
27+
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
28+
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
2929
</dependentAssembly>
3030
<dependentAssembly>
31-
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
32-
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
31+
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
32+
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
3333
</dependentAssembly>
3434
<dependentAssembly>
35-
<assemblyIdentity name="System.IdentityModel.Tokens.Jwt" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
36-
<bindingRedirect oldVersion="0.0.0.0-5.5.0.0" newVersion="5.5.0.0"/>
35+
<assemblyIdentity name="System.IdentityModel.Tokens.Jwt" publicKeyToken="31bf3856ad364e35" culture="neutral" />
36+
<bindingRedirect oldVersion="0.0.0.0-5.6.0.0" newVersion="5.6.0.0" />
3737
</dependentAssembly>
3838
</assemblyBinding>
3939
</runtime>
4040
<system.webServer>
4141
<handlers>
42-
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
43-
<remove name="OPTIONSVerbHandler"/>
44-
<remove name="TRACEVerbHandler"/>
45-
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
42+
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
43+
<remove name="OPTIONSVerbHandler" />
44+
<remove name="TRACEVerbHandler" />
45+
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
4646
</handlers>
4747
</system.webServer>
4848
</configuration>

src/ProductListAPI/packages.config

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.7" targetFramework="net472" />
66
<package id="Microsoft.AspNet.WebApi.WebHost" version="5.2.7" targetFramework="net472" />
77
<package id="Microsoft.Azure.AppService.ApiApps.Service" version="0.9.64" targetFramework="net472" />
8-
<package id="Microsoft.IdentityModel.JsonWebTokens" version="5.5.0" targetFramework="net472" />
9-
<package id="Microsoft.IdentityModel.Logging" version="5.5.0" targetFramework="net472" />
10-
<package id="Microsoft.IdentityModel.Tokens" version="5.5.0" targetFramework="net472" />
8+
<package id="Microsoft.IdentityModel.JsonWebTokens" version="5.6.0" targetFramework="net461" />
9+
<package id="Microsoft.IdentityModel.Logging" version="5.6.0" targetFramework="net461" />
10+
<package id="Microsoft.IdentityModel.Tokens" version="5.6.0" targetFramework="net461" />
1111
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net46" />
12-
<package id="Newtonsoft.Json" version="12.0.2" targetFramework="net472" />
12+
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net461" />
1313
<package id="Swashbuckle" version="5.6.0" targetFramework="net472" />
1414
<package id="Swashbuckle.Core" version="5.6.0" targetFramework="net472" />
15-
<package id="System.IdentityModel.Tokens.Jwt" version="5.5.0" targetFramework="net472" />
15+
<package id="System.IdentityModel.Tokens.Jwt" version="5.6.0" targetFramework="net461" />
1616
<package id="WebActivatorEx" version="2.2.0" targetFramework="net472" />
1717
</packages>

0 commit comments

Comments
 (0)