Skip to content

Commit

Permalink
Change how to fetch XML data from WebRequest to HttpClient
Browse files Browse the repository at this point in the history
  • Loading branch information
ytabuchi committed Jul 21, 2016
1 parent 1830a62 commit 9b4b8bf
Show file tree
Hide file tree
Showing 4 changed files with 1,991 additions and 15 deletions.
30 changes: 30 additions & 0 deletions AmazonProductAdvtApiSampleCSharpQuery/Sample/Sample.csproj
Expand Up @@ -53,11 +53,38 @@
<Reference Include="System.Data" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="System.Net.Http.Primitives">
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Extensions">
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http" />
<Reference Include="System.Net.Http.WebRequest" />
<Reference Include="Validation">
<HintPath>..\packages\Validation.2.2.8\lib\portable-net45+dnxcore50+win+wpa81+wp80+MonoAndroid10+xamarinios10+MonoTouch10\Validation.dll</HintPath>
</Reference>
<Reference Include="PInvoke.Windows.Core">
<HintPath>..\packages\PInvoke.Windows.Core.0.3.2\lib\portable-net45+win+wpa81+MonoAndroid10+xamarinios10+MonoTouch10\PInvoke.Windows.Core.dll</HintPath>
</Reference>
<Reference Include="PInvoke.Kernel32">
<HintPath>..\packages\PInvoke.Kernel32.0.3.2\lib\net40\PInvoke.Kernel32.dll</HintPath>
</Reference>
<Reference Include="PInvoke.BCrypt">
<HintPath>..\packages\PInvoke.BCrypt.0.3.2\lib\net40\PInvoke.BCrypt.dll</HintPath>
</Reference>
<Reference Include="PInvoke.NCrypt">
<HintPath>..\packages\PInvoke.NCrypt.0.3.2\lib\net40\PInvoke.NCrypt.dll</HintPath>
</Reference>
<Reference Include="PCLCrypto">
<HintPath>..\packages\PCLCrypto.2.0.147\lib\net45\PCLCrypto.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="src\ItemLookupSample.cs" />
<Compile Include="src\SignedRequestHelper.cs" />
<Compile Include="src\AmazonXml.cs" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
Expand Down Expand Up @@ -91,6 +118,9 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
12 changes: 12 additions & 0 deletions AmazonProductAdvtApiSampleCSharpQuery/Sample/packages.config
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="net451" />
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net451" />
<package id="Microsoft.Net.Http" version="2.2.29" targetFramework="net451" />
<package id="PCLCrypto" version="2.0.147" targetFramework="net451" />
<package id="PInvoke.BCrypt" version="0.3.2" targetFramework="net451" />
<package id="PInvoke.Kernel32" version="0.3.2" targetFramework="net451" />
<package id="PInvoke.NCrypt" version="0.3.2" targetFramework="net451" />
<package id="PInvoke.Windows.Core" version="0.3.2" targetFramework="net451" />
<package id="Validation" version="2.2.8" targetFramework="net451" />
</packages>

0 comments on commit 9b4b8bf

Please sign in to comment.