aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2017-12-01 17:56:38 +0100
committermarcinzelent <zelent.marcin@gmail.com>2017-12-01 17:56:38 +0100
commit79bf391df757c50374a5acde3008860d48295926 (patch)
treeb11cbc30c006f5062f31acabc18f963280f8f850
parent7b1511ef9b0aa26d4591ff6cae60fb7377912ea7 (diff)
Added periodical checking of pollution and sending e-mail.
-rw-r--r--PollutometerWebApi.Tests/PollutometerWebApi.Tests.csproj46
-rw-r--r--PollutometerWebApi.Tests/Test.cs14
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/Microsoft.Web.Infrastructure.dllbin0 -> 45416 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.Tests.dllbin0 -> 4096 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.Tests.pdbbin0 -> 484 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.dllbin0 -> 16384 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.pdbbin0 -> 4064 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Net.Http.Formatting.dllbin0 -> 185032 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Net.Http.Formatting.xml2094
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.Http.WebHost.dllbin0 -> 82120 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.Http.WebHost.xml135
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.Http.dllbin0 -> 471248 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.Http.xml6664
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.Mvc.dllbin0 -> 566472 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.Mvc.xml11485
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.Razor.dllbin0 -> 272072 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.Razor.xml5742
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.WebPages.Deployment.dllbin0 -> 41672 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.WebPages.Deployment.xml60
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.WebPages.Razor.dllbin0 -> 39624 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.WebPages.Razor.xml292
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.WebPages.dllbin0 -> 211656 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/System.Web.WebPages.xml2706
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/nunit.framework.dllbin0 -> 151552 bytes
-rw-r--r--PollutometerWebApi.Tests/bin/Debug/nunit.framework.xml10984
-rw-r--r--PollutometerWebApi.Tests/obj/Debug/PollutometerWebApi.Tests.csproj.CopyComplete0
-rw-r--r--PollutometerWebApi.Tests/obj/Debug/PollutometerWebApi.Tests.csproj.CoreCompileInputs.cache1
-rw-r--r--PollutometerWebApi.Tests/obj/Debug/PollutometerWebApi.Tests.csproj.FileListAbsolute.txt27
-rw-r--r--PollutometerWebApi.Tests/obj/Debug/PollutometerWebApi.Tests.csprojResolveAssemblyReference.cachebin0 -> 109342 bytes
-rw-r--r--PollutometerWebApi.Tests/obj/Debug/PollutometerWebApi.Tests.dllbin0 -> 4096 bytes
-rw-r--r--PollutometerWebApi.Tests/obj/Debug/PollutometerWebApi.Tests.pdbbin0 -> 484 bytes
-rw-r--r--PollutometerWebApi.Tests/packages.config4
-rw-r--r--PollutometerWebApi.sln6
-rw-r--r--PollutometerWebApi.userprefs12
-rw-r--r--PollutometerWebApi/Controllers/ReadingsController.cs10
-rw-r--r--PollutometerWebApi/EmailSender.cs40
-rw-r--r--PollutometerWebApi/EmailService.cs119
-rw-r--r--PollutometerWebApi/PollutometerWebApi.csproj1
-rw-r--r--packages/NUnit.2.6.4/NUnit.2.6.4.nupkgbin0 -> 99004 bytes
-rw-r--r--packages/NUnit.2.6.4/lib/nunit.framework.dllbin0 -> 151552 bytes
-rw-r--r--packages/NUnit.2.6.4/lib/nunit.framework.xml10984
-rw-r--r--packages/NUnit.2.6.4/license.txt15
42 files changed, 51419 insertions, 22 deletions
diff --git a/PollutometerWebApi.Tests/PollutometerWebApi.Tests.csproj b/PollutometerWebApi.Tests/PollutometerWebApi.Tests.csproj
new file mode 100644
index 0000000..c27a06c
--- /dev/null
+++ b/PollutometerWebApi.Tests/PollutometerWebApi.Tests.csproj
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProjectGuid>{D19CA1E0-796F-480A-996D-3DFABFC6203F}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <RootNamespace>PollutometerWebApi.Tests</RootNamespace>
+ <AssemblyName>PollutometerWebApi.Tests</AssemblyName>
+ <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug</OutputPath>
+ <DefineConstants>DEBUG;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="nunit.framework">
+ <HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Test.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\PollutometerWebApi\PollutometerWebApi.csproj">
+ <Project>{22C32F4C-0DEB-40EA-9D56-48942CBB2A07}</Project>
+ <Name>PollutometerWebApi</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+</Project> \ No newline at end of file
diff --git a/PollutometerWebApi.Tests/Test.cs b/PollutometerWebApi.Tests/Test.cs
new file mode 100644
index 0000000..254f0bc
--- /dev/null
+++ b/PollutometerWebApi.Tests/Test.cs
@@ -0,0 +1,14 @@
+using NUnit.Framework;
+using System;
+namespace PollutometerWebApi.Tests
+{
+ [TestFixture()]
+ public class Test
+ {
+ [Test()]
+ public void TestCase()
+ {
+ EmailService.Start();
+ }
+ }
+}
diff --git a/PollutometerWebApi.Tests/bin/Debug/Microsoft.Web.Infrastructure.dll b/PollutometerWebApi.Tests/bin/Debug/Microsoft.Web.Infrastructure.dll
new file mode 100644
index 0000000..85f1138
--- /dev/null
+++ b/PollutometerWebApi.Tests/bin/Debug/Microsoft.Web.Infrastructure.dll
Binary files differ
diff --git a/PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.Tests.dll b/PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.Tests.dll
new file mode 100644
index 0000000..a1a6f09
--- /dev/null
+++ b/PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.Tests.dll
Binary files differ
diff --git a/PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.Tests.pdb b/PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.Tests.pdb
new file mode 100644
index 0000000..ee082ed
--- /dev/null
+++ b/PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.Tests.pdb
Binary files differ
diff --git a/PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.dll b/PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.dll
new file mode 100644
index 0000000..b8d1eba
--- /dev/null
+++ b/PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.dll
Binary files differ
diff --git a/PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.pdb b/PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.pdb
new file mode 100644
index 0000000..1cf8ce4
--- /dev/null
+++ b/PollutometerWebApi.Tests/bin/Debug/PollutometerWebApi.pdb
Binary files differ
diff --git a/PollutometerWebApi.Tests/bin/Debug/System.Net.Http.Formatting.dll b/PollutometerWebApi.Tests/bin/Debug/System.Net.Http.Formatting.dll
new file mode 100644
index 0000000..859f67b
--- /dev/null
+++ b/PollutometerWebApi.Tests/bin/Debug/System.Net.Http.Formatting.dll
Binary files differ
diff --git a/PollutometerWebApi.Tests/bin/Debug/System.Net.Http.Formatting.xml b/PollutometerWebApi.Tests/bin/Debug/System.Net.Http.Formatting.xml
new file mode 100644
index 0000000..1d57d2e
--- /dev/null
+++ b/PollutometerWebApi.Tests/bin/Debug/System.Net.Http.Formatting.xml
@@ -0,0 +1,2094 @@
+<?xml version="1.0" encoding="utf-8"?>
+<doc>
+ <assembly>
+ <name>System.Net.Http.Formatting</name>
+ </assembly>
+ <members>
+ <member name="T:System.Net.Http.ByteRangeStreamContent">
+ <summary>
+ <see cref="T:System.Net.Http.HttpContent" /> implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. The <see cref="T:System.Net.Http.ByteRangeStreamContent" /> supports one or more byte ranges regardless of whether the ranges are consecutive or not. If there is only one range then a single partial response body containing a Content-Range header is generated. If there are more than one ranges then a multipart/byteranges response is generated where each body part contains a range indicated by the associated Content-Range header field. </summary>
+ </member>
+ <member name="M:System.Net.Http.ByteRangeStreamContent.#ctor(System.IO.Stream,System.Net.Http.Headers.RangeHeaderValue,System.Net.Http.Headers.MediaTypeHeaderValue)">
+ <summary>
+ <see cref="T:System.Net.Http.HttpContent" /> implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. If none of the requested ranges overlap with the current extend of the selected resource represented by the content parameter then an <see cref="T:System.Net.Http.InvalidByteRangeException" /> is thrown indicating the valid Content-Range of the content. </summary>
+ <param name="content">The stream over which to generate a byte range view.</param>
+ <param name="range">The range or ranges, typically obtained from the Range HTTP request header field.</param>
+ <param name="mediaType">The media type of the content stream.</param>
+ </member>
+ <member name="M:System.Net.Http.ByteRangeStreamContent.#ctor(System.IO.Stream,System.Net.Http.Headers.RangeHeaderValue,System.Net.Http.Headers.MediaTypeHeaderValue,System.Int32)">
+ <summary>
+ <see cref="T:System.Net.Http.HttpContent" /> implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. If none of the requested ranges overlap with the current extend of the selected resource represented by the content parameter then an <see cref="T:System.Net.Http.InvalidByteRangeException" /> is thrown indicating the valid Content-Range of the content. </summary>
+ <param name="content">The stream over which to generate a byte range view.</param>
+ <param name="range">The range or ranges, typically obtained from the Range HTTP request header field.</param>
+ <param name="mediaType">The media type of the content stream.</param>
+ <param name="bufferSize">The buffer size used when copying the content stream.</param>
+ </member>
+ <member name="M:System.Net.Http.ByteRangeStreamContent.#ctor(System.IO.Stream,System.Net.Http.Headers.RangeHeaderValue,System.String)">
+ <summary>
+ <see cref="T:System.Net.Http.HttpContent" /> implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. If none of the requested ranges overlap with the current extend of the selected resource represented by the content parameter then an <see cref="T:System.Net.Http.InvalidByteRangeException" /> is thrown indicating the valid Content-Range of the content. </summary>
+ <param name="content">The stream over which to generate a byte range view.</param>
+ <param name="range">The range or ranges, typically obtained from the Range HTTP request header field.</param>
+ <param name="mediaType">The media type of the content stream.</param>
+ </member>
+ <member name="M:System.Net.Http.ByteRangeStreamContent.#ctor(System.IO.Stream,System.Net.Http.Headers.RangeHeaderValue,System.String,System.Int32)">
+ <summary>
+ <see cref="T:System.Net.Http.HttpContent" /> implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. If none of the requested ranges overlap with the current extend of the selected resource represented by the content parameter then an <see cref="T:System.Net.Http.InvalidByteRangeException" /> is thrown indicating the valid Content-Range of the content. </summary>
+ <param name="content">The stream over which to generate a byte range view.</param>
+ <param name="range">The range or ranges, typically obtained from the Range HTTP request header field.</param>
+ <param name="mediaType">The media type of the content stream.</param>
+ <param name="bufferSize">The buffer size used when copying the content stream.</param>
+ </member>
+ <member name="M:System.Net.Http.ByteRangeStreamContent.Dispose(System.Boolean)">
+ <summary>Releases the resources used by the current instance of the <see cref="T:System.Net.Http.ByteRangeStreamContent" /> class.</summary>
+ <param name="disposing">true to release managed and unmanaged resources; false to release only unmanaged resources.</param>
+ </member>
+ <member name="M:System.Net.Http.ByteRangeStreamContent.SerializeToStreamAsync(System.IO.Stream,System.Net.TransportContext)">
+ <summary>Asynchronously serialize and write the byte range to an HTTP content stream.</summary>
+ <returns>The task object representing the asynchronous operation.</returns>
+ <param name="stream">The target stream.</param>
+ <param name="context">Information about the transport.</param>
+ </member>
+ <member name="M:System.Net.Http.ByteRangeStreamContent.TryComputeLength(System.Int64@)">
+ <summary>Determines whether a byte array has a valid length in bytes.</summary>
+ <returns>true if length is a valid length; otherwise, false.</returns>
+ <param name="length">The length in bytes of the byte array.</param>
+ </member>
+ <member name="T:System.Net.Http.HttpClientExtensions">
+ <summary> Extension methods that aid in making formatted requests using <see cref="T:System.Net.Http.HttpClient" />. </summary>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsJsonAsync``1(System.Net.Http.HttpClient,System.String,``0)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsJsonAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Threading.CancellationToken)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsJsonAsync``1(System.Net.Http.HttpClient,System.Uri,``0)">
+ <summary> Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as JSON. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsJsonAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Threading.CancellationToken)">
+ <summary> Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as JSON. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsXmlAsync``1(System.Net.Http.HttpClient,System.String,``0)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsXmlAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Threading.CancellationToken)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsXmlAsync``1(System.Net.Http.HttpClient,System.Uri,``0)">
+ <summary> Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as XML. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsXmlAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Threading.CancellationToken)">
+ <summary> Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as XML. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Net.Http.Formatting.MediaTypeFormatter)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.Net.Http.Headers.MediaTypeHeaderValue,System.Threading.CancellationToken)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.String)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.String,System.Threading.CancellationToken)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.Threading.CancellationToken)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Net.Http.Formatting.MediaTypeFormatter)">
+ <summary> Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <param name="formatter">The formatter used to serialize the value.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.Net.Http.Headers.MediaTypeHeaderValue,System.Threading.CancellationToken)">
+ <summary> Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <param name="formatter">The formatter used to serialize the value.</param>
+ <param name="mediaType">The authoritative value of the request's content's Content-Type header. Can be null in which case the &lt;paramref name="formatter"&gt;formatter's&lt;/paramref&gt; default content type will be used.</param>
+ <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.String)">
+ <summary> Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <param name="formatter">The formatter used to serialize the value.</param>
+ <param name="mediaType">The authoritative value of the request's content's Content-Type header. Can be null in which case the &lt;paramref name="formatter"&gt;formatter's&lt;/paramref&gt; default content type will be used.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.String,System.Threading.CancellationToken)">
+ <summary> Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <param name="formatter">The formatter used to serialize the value.</param>
+ <param name="mediaType">The authoritative value of the request's content's Content-Type header. Can be null in which case the &lt;paramref name="formatter"&gt;formatter's&lt;/paramref&gt; default content type will be used.</param>
+ <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PostAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.Threading.CancellationToken)">
+ <summary> Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <param name="formatter">The formatter used to serialize the value.</param>
+ <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsJsonAsync``1(System.Net.Http.HttpClient,System.String,``0)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsJsonAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Threading.CancellationToken)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsJsonAsync``1(System.Net.Http.HttpClient,System.Uri,``0)">
+ <summary> Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as JSON. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsJsonAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Threading.CancellationToken)">
+ <summary> Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as JSON. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsXmlAsync``1(System.Net.Http.HttpClient,System.String,``0)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsXmlAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Threading.CancellationToken)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsXmlAsync``1(System.Net.Http.HttpClient,System.Uri,``0)">
+ <summary> Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as XML. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsXmlAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Threading.CancellationToken)">
+ <summary> Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as XML. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Net.Http.Formatting.MediaTypeFormatter)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.Net.Http.Headers.MediaTypeHeaderValue,System.Threading.CancellationToken)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.String)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.String,System.Threading.CancellationToken)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsync``1(System.Net.Http.HttpClient,System.String,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.Threading.CancellationToken)">
+ <typeparam name="T"></typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Net.Http.Formatting.MediaTypeFormatter)">
+ <summary> Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <param name="formatter">The formatter used to serialize the value.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.Net.Http.Headers.MediaTypeHeaderValue,System.Threading.CancellationToken)">
+ <summary> Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <param name="formatter">The formatter used to serialize the value.</param>
+ <param name="mediaType">The authoritative value of the request's content's Content-Type header. Can be null in which case the &lt;paramref name="formatter"&gt;formatter's&lt;/paramref&gt; default content type will be used.</param>
+ <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.String)">
+ <summary> Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">The client used to make the request.</param>
+ <param name="requestUri">The Uri the request is sent to.</param>
+ <param name="value">The value that will be placed in the request's entity body.</param>
+ <param name="formatter">The formatter used to serialize the value.</param>
+ <param name="mediaType">The authoritative value of the request's content's Content-Type header. Can be null in which case the &lt;paramref name="formatter"&gt;formatter's&lt;/paramref&gt; default content type will be used.</param>
+ <typeparam name="T">The type of value.</typeparam>
+ </member>
+ <member name="M:System.Net.Http.HttpClientExtensions.PutAsync``1(System.Net.Http.HttpClient,System.Uri,``0,System.Net.Http.Formatting.MediaTypeFormatter,System.String,System.Threading.CancellationToken)">
+ <summary> Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. </summary>
+ <returns>A task object representing the asynchronous operation.</returns>
+ <param name="client">Th