This commit is contained in:
chezhang 2015-06-02 16:46:37 +08:00
Родитель 731d9051a6
Коммит 0a8a0119a3
54 изменённых файлов: 81158 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PipeProxyRestServer", "PipeProxyRestServer\PipeProxyRestServer.csproj", "{361C6CDB-72D7-4F40-9D4A-D00215553495}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{361C6CDB-72D7-4F40-9D4A-D00215553495}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{361C6CDB-72D7-4F40-9D4A-D00215553495}.Debug|Any CPU.Build.0 = Debug|Any CPU
{361C6CDB-72D7-4F40-9D4A-D00215553495}.Release|Any CPU.ActiveCfg = Release|Any CPU
{361C6CDB-72D7-4F40-9D4A-D00215553495}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Двоичные данные
PipeProxyRestServer/PipeProxyRestServer.v11.suo Normal file

Двоичный файл не отображается.

Просмотреть файл

@ -0,0 +1,45 @@
using Microsoft.Owin.Hosting;
using Owin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
namespace Microsoft.Hpc.Scheduler.PipeProxy
{
public class RestServer
{
public class Startup
{
public void Configuration(IAppBuilder appBuilder)
{
HttpConfiguration config = new HttpConfiguration();
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{id}",
defaults: new { id = RouteParameter.Optional }
);
appBuilder.UseWebApi(config);
}
}
public class MessageController : ApiController
{
[HttpPost]
[Route("api/message")]
public void Post([FromBody] ClusrunOutputFromLinux restmessage)
{
RestMessageRepository.Instance.Put(restmessage);
}
}
public IDisposable StartServer(string baseAddress)
{
return WebApp.Start<Startup>(url: baseAddress);
}
}
}

Просмотреть файл

@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{361C6CDB-72D7-4F40-9D4A-D00215553495}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PipeProxyRestServer</RootNamespace>
<AssemblyName>PipeProxyRestServer</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Owin">
<HintPath>..\packages\Microsoft.Owin.2.0.2\lib\net45\Microsoft.Owin.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Owin.Host.HttpListener">
<HintPath>..\packages\Microsoft.Owin.Host.HttpListener.2.0.2\lib\net45\Microsoft.Owin.Host.HttpListener.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Owin.Hosting">
<HintPath>..\packages\Microsoft.Owin.Hosting.2.0.2\lib\net45\Microsoft.Owin.Hosting.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Owin">
<HintPath>..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
</Reference>
<Reference Include="PipeProxy">
<HintPath>..\..\..\..\..\..\..\Program Files\Microsoft HPC Pack 2012\Bin\PipeProxy.exe</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll</HintPath>
</Reference>
<Reference Include="System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll</HintPath>
</Reference>
<Reference Include="System.Web.Http.Owin">
<HintPath>..\packages\Microsoft.AspNet.WebApi.Owin.5.2.3\lib\net45\System.Web.Http.Owin.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="PipeProxyRestServer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\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.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

Просмотреть файл

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PipeProxyRestServer")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("PipeProxyRestServer")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("985b8e7a-edef-4521-b31c-f4c6a251aa95")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

Просмотреть файл

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.Owin" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.AspNet.WebApi.OwinSelfHost" version="5.2.3" targetFramework="net45" />
<package id="Microsoft.Owin" version="2.0.2" targetFramework="net45" />
<package id="Microsoft.Owin.Host.HttpListener" version="2.0.2" targetFramework="net45" />
<package id="Microsoft.Owin.Hosting" version="2.0.2" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
</packages>

Двоичный файл не отображается.

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
</system.webServer>
</configuration>

Двоичный файл не отображается.

Двоичные данные
PipeProxyRestServer/packages/Microsoft.AspNet.WebApi.Core.5.2.3/lib/net45/System.Web.Http.dll поставляемый Normal file

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичный файл не отображается.

Двоичные данные
PipeProxyRestServer/packages/Microsoft.AspNet.WebApi.Owin.5.2.3/lib/net45/System.Web.Http.Owin.dll поставляемый Normal file

Двоичный файл не отображается.

Просмотреть файл

@ -0,0 +1,195 @@
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Web.Http.Owin</name>
</assembly>
<members>
<member name="T:System.Net.Http.OwinHttpRequestMessageExtensions">
<summary>Provides extension methods for the <see cref="T:System.Net.Http.HttpRequestMessage" /> class.</summary>
</member>
<member name="M:System.Net.Http.OwinHttpRequestMessageExtensions.GetOwinContext(System.Net.Http.HttpRequestMessage)">
<summary>Gets the OWIN context for the specified request.</summary>
<returns>The OWIN environment for the specified context, if available; otherwise <see cref="null" />.</returns>
<param name="request">The HTTP request message.</param>
</member>
<member name="M:System.Net.Http.OwinHttpRequestMessageExtensions.GetOwinEnvironment(System.Net.Http.HttpRequestMessage)">
<summary>Gets the OWIN environment for the specified request.</summary>
<returns>The OWIN environment for the specified request, if available; otherwise <see cref="null" />.</returns>
<param name="request">The HTTP request message.</param>
</member>
<member name="M:System.Net.Http.OwinHttpRequestMessageExtensions.SetOwinContext(System.Net.Http.HttpRequestMessage,Microsoft.Owin.IOwinContext)">
<summary>Sets the OWIN context for the specified request.</summary>
<param name="request">The HTTP request message.</param>
<param name="context">The OWIN context to set.</param>
</member>
<member name="M:System.Net.Http.OwinHttpRequestMessageExtensions.SetOwinEnvironment(System.Net.Http.HttpRequestMessage,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>Sets the OWIN environment for the specified request.</summary>
<param name="request">The HTTP request message.</param>
<param name="environment">The OWIN environment to set.</param>
</member>
<member name="T:System.Web.Http.HostAuthenticationAttribute">
<summary>Represents an authentication attribute that authenticates via OWIN middleware.</summary>
</member>
<member name="M:System.Web.Http.HostAuthenticationAttribute.#ctor(System.String)">
<summary>Initializes a new instance of the <see cref="T:System.Web.Http.HostAuthenticationAttribute" /> class.</summary>
<param name="authenticationType">The authentication type of the OWIN middleware to use.</param>
</member>
<member name="P:System.Web.Http.HostAuthenticationAttribute.AllowMultiple"></member>
<member name="M:System.Web.Http.HostAuthenticationAttribute.AuthenticateAsync(System.Web.Http.Filters.HttpAuthenticationContext,System.Threading.CancellationToken)"></member>
<member name="P:System.Web.Http.HostAuthenticationAttribute.AuthenticationType">
<summary>Gets the authentication type of the OWIN middleware to use.</summary>
</member>
<member name="M:System.Web.Http.HostAuthenticationAttribute.ChallengeAsync(System.Web.Http.Filters.HttpAuthenticationChallengeContext,System.Threading.CancellationToken)"></member>
<member name="T:System.Web.Http.HostAuthenticationFilter">
<summary>Represents an authentication filter that authenticates via OWIN middleware.</summary>
</member>
<member name="M:System.Web.Http.HostAuthenticationFilter.#ctor(System.String)">
<summary>Initializes a new instance of the <see cref="T:System.Web.Http.HostAuthenticationFilter" /> class.</summary>
<param name="authenticationType">The authentication type of the OWIN middleware to use.</param>
</member>
<member name="P:System.Web.Http.HostAuthenticationFilter.AllowMultiple">
<summary>Gets a value indicating whether the filter allows multiple authentication.</summary>
<returns>true if the filter allows multiple authentication; otherwise, false.</returns>
</member>
<member name="M:System.Web.Http.HostAuthenticationFilter.AuthenticateAsync(System.Web.Http.Filters.HttpAuthenticationContext,System.Threading.CancellationToken)">
<summary>Asynchronously authenticates the request.</summary>
<returns>The task that completes the authentication.</returns>
<param name="context">The authentication context.</param>
<param name="cancellationToken">The cancellation token.</param>
</member>
<member name="P:System.Web.Http.HostAuthenticationFilter.AuthenticationType">
<summary>Gets the authentication type of the OWIN middleware to use.</summary>
<returns>The authentication type of the OWIN middleware to use.</returns>
</member>
<member name="M:System.Web.Http.HostAuthenticationFilter.ChallengeAsync(System.Web.Http.Filters.HttpAuthenticationChallengeContext,System.Threading.CancellationToken)">
<summary>Asynchronously challenges an authentication.</summary>
<returns>The task that completes the challenge.</returns>
<param name="context">The context.</param>
<param name="cancellationToken">The cancellation token.</param>
</member>
<member name="T:System.Web.Http.OwinHttpConfigurationExtensions">
<summary>Provides extension methods for the <see cref="T:System.Web.Http.HttpConfiguration" /> class.</summary>
</member>
<member name="M:System.Web.Http.OwinHttpConfigurationExtensions.SuppressDefaultHostAuthentication(System.Web.Http.HttpConfiguration)">
<summary>Enables suppression of the host's default authentication.</summary>
<param name="configuration">The server configuration.</param>
</member>
<member name="T:System.Web.Http.Owin.HttpMessageHandlerAdapter">
<summary>Represents an OWIN component that submits requests to an <see cref="T:System.Net.Http.HttpMessageHandler" /> when invoked.</summary>
</member>
<member name="M:System.Web.Http.Owin.HttpMessageHandlerAdapter.#ctor(Microsoft.Owin.OwinMiddleware,System.Net.Http.HttpMessageHandler,System.Web.Http.Hosting.IHostBufferPolicySelector)">
<summary>Initializes a new instance of the <see cref="T:System.Web.Http.Owin.HttpMessageHandlerAdapter" /> class.</summary>
<param name="next">The next component in the pipeline.</param>
<param name="messageHandler">The <see cref="T:System.Net.Http.HttpMessageHandler" /> to submit requests to.</param>
<param name="bufferPolicySelector">The <see cref="T:System.Web.Http.Hosting.IHostBufferPolicySelector" /> that determines whether or not to buffer requests and responses.</param>
</member>
<member name="M:System.Web.Http.Owin.HttpMessageHandlerAdapter.#ctor(Microsoft.Owin.OwinMiddleware,System.Web.Http.Owin.HttpMessageHandlerOptions)">
<summary>Initializes a new instance of the <see cref="T:System.Web.Http.Owin.HttpMessageHandlerAdapter" /> class.</summary>
<param name="next">The next component in the pipeline.</param>
<param name="options">The options to configure this adapter.</param>
</member>
<member name="P:System.Web.Http.Owin.HttpMessageHandlerAdapter.AppDisposing">
<summary>Gets the cancellation token that triggers cleanup of this component.</summary>
<returns>The cancellation token.</returns>
</member>
<member name="P:System.Web.Http.Owin.HttpMessageHandlerAdapter.BufferPolicySelector">
<summary>Gets the <see cref="T:System.Web.Http.Hosting.IHostBufferPolicySelector" /> that determines whether or not to buffer requests and responses.</summary>
<returns>The <see cref="T:System.Web.Http.Hosting.IHostBufferPolicySelector" /> that determines whether or not to buffer requests and responses.</returns>
</member>
<member name="M:System.Web.Http.Owin.HttpMessageHandlerAdapter.Dispose">
<summary>Releases all resources used by the current instance of the <see cref="T:System.Web.Http.Owin.HttpMessageHandlerAdapter" /> class.</summary>
</member>
<member name="M:System.Web.Http.Owin.HttpMessageHandlerAdapter.Dispose(System.Boolean)">
<summary>Releases unmanaged and optionally managed resources.</summary>
<param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
</member>
<member name="P:System.Web.Http.Owin.HttpMessageHandlerAdapter.ExceptionHandler">
<summary>Gets the <see cref="T:System.Web.Http.ExceptionHandling.IExceptionHandler" /> to use to process unhandled exceptions.</summary>
<returns>The <see cref="T:System.Web.Http.ExceptionHandling.IExceptionHandler" /> to use to process unhandled exceptions.</returns>
</member>
<member name="P:System.Web.Http.Owin.HttpMessageHandlerAdapter.ExceptionLogger">
<summary>Gets the <see cref="T:System.Web.Http.ExceptionHandling.IExceptionLogger" /> to use to log unhandled exceptions.</summary>
<returns>The <see cref="T:System.Web.Http.ExceptionHandling.IExceptionLogger" /> to use to log unhandled exceptions.</returns>
</member>
<member name="M:System.Web.Http.Owin.HttpMessageHandlerAdapter.Invoke(Microsoft.Owin.IOwinContext)">
<returns>Returns <see cref="T:System.Threading.Tasks.Task" />.</returns>
</member>
<member name="P:System.Web.Http.Owin.HttpMessageHandlerAdapter.MessageHandler">
<summary>Gets the <see cref="T:System.Net.Http.HttpMessageHandler" /> to submit requests to.</summary>
<returns>The <see cref="T:System.Net.Http.HttpMessageHandler" /> to submit requests to.</returns>
</member>
<member name="T:System.Web.Http.Owin.HttpMessageHandlerOptions">
<summary>Represents the options for configuring an <see cref="T:System.Web.Http.Owin.HttpMessageHandlerAdapter" />.</summary>
</member>
<member name="M:System.Web.Http.Owin.HttpMessageHandlerOptions.#ctor">
<summary>Initializes a new instance of the<see cref="T:System.Web.Http.Owin.HttpMessageHandlerOptions" /> class.</summary>
</member>
<member name="P:System.Web.Http.Owin.HttpMessageHandlerOptions.AppDisposing">
<summary>Gets or sets the <see cref="T:System.Threading.CancellationToken" /> that triggers cleanup of the <see cref="T:System.Web.Http.Owin.HttpMessageHandlerAdapter" />.</summary>
<returns>The <see cref="T:System.Threading.CancellationToken" /> that triggers cleanup of the <see cref="T:System.Web.Http.Owin.HttpMessageHandlerAdapter" />.</returns>
</member>
<member name="P:System.Web.Http.Owin.HttpMessageHandlerOptions.BufferPolicySelector">
<summary>Gets or sets the <see cref="T:System.Web.Http.Hosting.IHostBufferPolicySelector" /> that determines whether or not to buffer requests and responses.</summary>
<returns>The <see cref="T:System.Web.Http.Hosting.IHostBufferPolicySelector" /> that determines whether or not to buffer requests and responses.</returns>
</member>
<member name="P:System.Web.Http.Owin.HttpMessageHandlerOptions.ExceptionHandler">
<summary>Gets or sets the <see cref="T:System.Web.Http.ExceptionHandling.IExceptionHandler" /> to use to process unhandled exceptions.</summary>
<returns>The <see cref="T:System.Web.Http.ExceptionHandling.IExceptionHandler" /> to use to process unhandled exceptions.</returns>
</member>
<member name="P:System.Web.Http.Owin.HttpMessageHandlerOptions.ExceptionLogger">
<summary>Gets or sets the <see cref="T:System.Web.Http.ExceptionHandling.IExceptionLogger" /> to use to log unhandled exceptions.</summary>
<returns>The <see cref="T:System.Web.Http.ExceptionHandling.IExceptionLogger" /> to use to log unhandled exceptions.</returns>
</member>
<member name="P:System.Web.Http.Owin.HttpMessageHandlerOptions.MessageHandler">
<summary>Gets or sets the <see cref="T:System.Net.Http.HttpMessageHandler" /> to submit requests to.</summary>
<returns>The <see cref="T:System.Net.Http.HttpMessageHandler" /> to submit requests to.</returns>
</member>
<member name="T:System.Web.Http.Owin.OwinBufferPolicySelector">
<summary>Provides the default implementation of <see cref="T:System.Web.Http.Hosting.IHostBufferPolicySelector" /> used by the OWIN Web API adapter.</summary>
</member>
<member name="M:System.Web.Http.Owin.OwinBufferPolicySelector.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Web.Http.Owin.OwinBufferPolicySelector" /> class.</summary>
</member>
<member name="M:System.Web.Http.Owin.OwinBufferPolicySelector.UseBufferedInputStream(System.Object)">
<summary>Determines whether the host should buffer the HttpRequestMessage entity body.</summary>
<returns>true if buffering should be used; otherwise a streamed request should be used.</returns>
<param name="hostContext">The host context.</param>
</member>
<member name="M:System.Web.Http.Owin.OwinBufferPolicySelector.UseBufferedOutputStream(System.Net.Http.HttpResponseMessage)">
<summary>Determines whether the host should buffer the HttpResponseMessage entity body.</summary>
<returns>true if buffering should be used; otherwise a streamed response should be used.</returns>
<param name="response">The response.</param>
</member>
<member name="T:System.Web.Http.Owin.OwinExceptionCatchBlocks">
<summary>Provides the catch blocks used within this assembly.</summary>
</member>
<member name="P:System.Web.Http.Owin.OwinExceptionCatchBlocks.HttpMessageHandlerAdapterBufferContent">
<summary>Gets the catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.BufferContent.</summary>
<returns>The catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.BufferContent.</returns>
</member>
<member name="P:System.Web.Http.Owin.OwinExceptionCatchBlocks.HttpMessageHandlerAdapterBufferError">
<summary>Gets the catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.BufferError.</summary>
<returns>The catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.BufferError.</returns>
</member>
<member name="P:System.Web.Http.Owin.OwinExceptionCatchBlocks.HttpMessageHandlerAdapterComputeContentLength">
<summary>Gets the catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.ComputeContentLength.</summary>
<returns>The catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.ComputeContentLength.</returns>
</member>
<member name="P:System.Web.Http.Owin.OwinExceptionCatchBlocks.HttpMessageHandlerAdapterStreamContent">
<summary>Gets the catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.StreamContent.</summary>
<returns>The catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.StreamContent.</returns>
</member>
<member name="T:System.Web.Http.Owin.PassiveAuthenticationMessageHandler">
<summary>Represents a message handler that treats all OWIN authentication middleware as passive.</summary>
</member>
<member name="M:System.Web.Http.Owin.PassiveAuthenticationMessageHandler.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Web.Http.Owin.PassiveAuthenticationMessageHandler" /> class.</summary>
</member>
<member name="M:System.Web.Http.Owin.PassiveAuthenticationMessageHandler.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)">
<summary>Asynchronously sends a message request.</summary>
<returns>The task that completes the asynchronous operation.</returns>
<param name="request">The message request.</param>
<param name="cancellationToken">The cancellation token.</param>
</member>
</members>
</doc>

Двоичный файл не отображается.

Двоичные данные
PipeProxyRestServer/packages/Microsoft.Owin.2.0.2/Microsoft.Owin.2.0.2.nupkg поставляемый Normal file

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичные данные
PipeProxyRestServer/packages/Microsoft.Owin.2.0.2/lib/net40/Microsoft.Owin.dll поставляемый Normal file

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичные данные
PipeProxyRestServer/packages/Microsoft.Owin.2.0.2/lib/net45/Microsoft.Owin.dll поставляемый Normal file

Двоичный файл не отображается.

Двоичный файл не отображается.

Двоичный файл не отображается.

Просмотреть файл

@ -0,0 +1,150 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.Owin.Host.HttpListener</name>
</assembly>
<members>
<member name="T:System.Reflection.AssemblyMetadataAttribute">
<summary>
Provided as a down-level stub for the 4.5 AssemblyMetaDataAttribute class.
All released assemblies should define [AssemblyMetadata("Serviceable", "True")].
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream">
<summary>
This class is used to wrap other streams and convert some exception types.
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.RequestProcessing.RequestHeadersDictionary">
<summary>
This wraps HttpListenerRequest's WebHeaderCollection (NameValueCollection) and adapts it to
the OWIN required IDictionary surface area. It remains fully mutable, but you will be subject
to the header validations performed by the underlying collection.
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.OwinHttpListener">
<summary>
This wraps HttpListener and exposes it as an OWIN compatible server.
</summary>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinHttpListener.#ctor">
<summary>
Creates a listener wrapper that can be configured by the user before starting.
</summary>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinHttpListener.SetRequestProcessingLimits(System.Int32,System.Int32)">
<summary>
These are merged as one call because they should be swapped out atomically.
This controls how many requests the server attempts to process concurrently.
</summary>
<param name="maxAccepts">The maximum number of pending request receives.</param>
<param name="maxRequests">The maximum number of active requests being processed.</param>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinHttpListener.GetRequestProcessingLimits(System.Int32@,System.Int32@)">
<summary>
</summary>
<param name="maxAccepts"></param>
<param name="maxRequests"></param>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinHttpListener.Start(System.Net.HttpListener,System.Func{System.Collections.Generic.IDictionary{System.String,System.Object},System.Threading.Tasks.Task},System.Collections.Generic.IList{System.Collections.Generic.IDictionary{System.String,System.Object}},System.Collections.Generic.IDictionary{System.String,System.Object},System.Func{System.String,System.Func{System.Diagnostics.TraceEventType,System.Int32,System.Object,System.Exception,System.Func{System.Object,System.Exception,System.String},System.Boolean}})">
<summary>
Starts the listener and request processing threads.
</summary>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinHttpListener.Dispose">
<summary>
Shuts down the listener and disposes it.
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.OwinHttpListener.Listener">
<summary>
The HttpListener instance wrapped by this wrapper.
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.RequestProcessing.OwinHttpListenerRequest">
<summary>
This wraps an HttpListenerRequest and exposes it as an OWIN environment IDictionary.
</summary>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.RequestProcessing.OwinHttpListenerRequest.#ctor(System.Net.HttpListenerRequest,System.String,System.String,System.String,Microsoft.Owin.Host.HttpListener.RequestProcessing.CallEnvironment)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.Owin.Host.HttpListener.RequestProcessing.OwinHttpListenerRequest"/> class.
Uses the given request object to populate the OWIN standard keys in the environment IDictionary.
Most values are copied so that they can be mutable, but the headers collection is only wrapped.
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.RequestProcessing.OwinHttpListenerResponse">
<summary>
This wraps an HttpListenerResponse, populates it with the given response fields, and relays
the response body to the underlying stream.
</summary>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.RequestProcessing.OwinHttpListenerResponse.#ctor(System.Net.HttpListenerContext,Microsoft.Owin.Host.HttpListener.RequestProcessing.CallEnvironment)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.Owin.Host.HttpListener.RequestProcessing.OwinHttpListenerResponse"/> class.
Sets up the Environment with the necessary request state items.
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.Exception_DuplicateKey">
<summary>
Looks up a localized string similar to The key &apos;{0}&apos; is already present in the dictionary..
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.Log_AppDisonnectErrors">
<summary>
Looks up a localized string similar to App errors on disconnect notification..
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.Log_RequestProcessingException">
<summary>
Looks up a localized string similar to Exception during request processing..
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.Log_UnableToSetup">
<summary>
Looks up a localized string similar to Unable to resolve handles. Disconnect notifications will be ignored..
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.Log_UnexpectedException">
<summary>
Looks up a localized string similar to Unexpected exception..
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.OwinServerFactory">
<summary>
Implements the Katana setup pattern for the OwinHttpListener server.
</summary>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinServerFactory.Initialize(System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>
Advertise the capabilities of the server.
</summary>
<param name="properties"></param>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinServerFactory.Create(System.Func{System.Collections.Generic.IDictionary{System.String,System.Object},System.Threading.Tasks.Task},System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>
Creates an OwinHttpListener and starts listening on the given URL.
</summary>
<param name="app">The application entry point.</param>
<param name="properties">The addresses to listen on.</param>
<returns>The OwinHttpListener. Invoke Dispose to shut down.</returns>
</member>
</members>
</doc>

Двоичный файл не отображается.

Просмотреть файл

@ -0,0 +1,149 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.Owin.Host.HttpListener</name>
</assembly>
<members>
<member name="T:Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream">
<summary>
This class is used to wrap other streams and convert some exception types.
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.RequestProcessing.RequestHeadersDictionary">
<summary>
This wraps HttpListenerRequest's WebHeaderCollection (NameValueCollection) and adapts it to
the OWIN required IDictionary surface area. It remains fully mutable, but you will be subject
to the header validations performed by the underlying collection.
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.OwinHttpListener">
<summary>
This wraps HttpListener and exposes it as an OWIN compatible server.
</summary>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinHttpListener.#ctor">
<summary>
Creates a listener wrapper that can be configured by the user before starting.
</summary>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinHttpListener.SetRequestProcessingLimits(System.Int32,System.Int32)">
<summary>
These are merged as one call because they should be swapped out atomically.
This controls how many requests the server attempts to process concurrently.
</summary>
<param name="maxAccepts">The maximum number of pending request receives.</param>
<param name="maxRequests">The maximum number of active requests being processed.</param>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinHttpListener.GetRequestProcessingLimits(System.Int32@,System.Int32@)">
<summary>
</summary>
<param name="maxAccepts"></param>
<param name="maxRequests"></param>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinHttpListener.Start(System.Net.HttpListener,System.Func{System.Collections.Generic.IDictionary{System.String,System.Object},System.Threading.Tasks.Task},System.Collections.Generic.IList{System.Collections.Generic.IDictionary{System.String,System.Object}},System.Collections.Generic.IDictionary{System.String,System.Object},System.Func{System.String,System.Func{System.Diagnostics.TraceEventType,System.Int32,System.Object,System.Exception,System.Func{System.Object,System.Exception,System.String},System.Boolean}})">
<summary>
Starts the listener and request processing threads.
</summary>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinHttpListener.Dispose">
<summary>
Shuts down the listener and disposes it.
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.OwinHttpListener.Listener">
<summary>
The HttpListener instance wrapped by this wrapper.
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.RequestProcessing.OwinHttpListenerRequest">
<summary>
This wraps an HttpListenerRequest and exposes it as an OWIN environment IDictionary.
</summary>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.RequestProcessing.OwinHttpListenerRequest.#ctor(System.Net.HttpListenerRequest,System.String,System.String,System.String,Microsoft.Owin.Host.HttpListener.RequestProcessing.CallEnvironment)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.Owin.Host.HttpListener.RequestProcessing.OwinHttpListenerRequest"/> class.
Uses the given request object to populate the OWIN standard keys in the environment IDictionary.
Most values are copied so that they can be mutable, but the headers collection is only wrapped.
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.RequestProcessing.OwinHttpListenerResponse">
<summary>
This wraps an HttpListenerResponse, populates it with the given response fields, and relays
the response body to the underlying stream.
</summary>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.RequestProcessing.OwinHttpListenerResponse.#ctor(System.Net.HttpListenerContext,Microsoft.Owin.Host.HttpListener.RequestProcessing.CallEnvironment)">
<summary>
Initializes a new instance of the <see cref="T:Microsoft.Owin.Host.HttpListener.RequestProcessing.OwinHttpListenerResponse"/> class.
Sets up the Environment with the necessary request state items.
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.Exception_DuplicateKey">
<summary>
Looks up a localized string similar to The key &apos;{0}&apos; is already present in the dictionary..
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.Log_AppDisonnectErrors">
<summary>
Looks up a localized string similar to App errors on disconnect notification..
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.Log_RequestProcessingException">
<summary>
Looks up a localized string similar to Exception during request processing..
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.Log_UnableToSetup">
<summary>
Looks up a localized string similar to Unable to resolve handles. Disconnect notifications will be ignored..
</summary>
</member>
<member name="P:Microsoft.Owin.Host.HttpListener.Resources.Log_UnexpectedException">
<summary>
Looks up a localized string similar to Unexpected exception..
</summary>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.OwinServerFactory">
<summary>
Implements the Katana setup pattern for the OwinHttpListener server.
</summary>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinServerFactory.Initialize(System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>
Advertise the capabilities of the server.
</summary>
<param name="properties"></param>
</member>
<member name="M:Microsoft.Owin.Host.HttpListener.OwinServerFactory.Create(System.Func{System.Collections.Generic.IDictionary{System.String,System.Object},System.Threading.Tasks.Task},System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>
Creates an OwinHttpListener and starts listening on the given URL.
</summary>
<param name="app">The application entry point.</param>
<param name="properties">The addresses to listen on.</param>
<returns>The OwinHttpListener. Invoke Dispose to shut down.</returns>
</member>
<member name="T:Microsoft.Owin.Host.HttpListener.WebSockets.Constants">
<summary>
Standard keys and values for use within the OWIN interfaces
</summary>
</member>
</members>
</doc>

Двоичные данные
PipeProxyRestServer/packages/Microsoft.Owin.Hosting.2.0.2/Microsoft.Owin.Hosting.2.0.2.nupkg поставляемый Normal file

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичные данные
PipeProxyRestServer/packages/Microsoft.Owin.Hosting.2.0.2/lib/net40/Microsoft.Owin.Hosting.dll поставляемый Normal file

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичные данные
PipeProxyRestServer/packages/Microsoft.Owin.Hosting.2.0.2/lib/net45/Microsoft.Owin.Hosting.dll поставляемый Normal file

Двоичный файл не отображается.

Двоичные данные
PipeProxyRestServer/packages/Newtonsoft.Json.6.0.8/Newtonsoft.Json.6.0.8.nupkg поставляемый Normal file

Двоичный файл не отображается.

Двоичные данные
PipeProxyRestServer/packages/Newtonsoft.Json.6.0.8/lib/net20/Newtonsoft.Json.dll поставляемый Normal file

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичные данные
PipeProxyRestServer/packages/Newtonsoft.Json.6.0.8/lib/net35/Newtonsoft.Json.dll поставляемый Normal file

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичные данные
PipeProxyRestServer/packages/Newtonsoft.Json.6.0.8/lib/net40/Newtonsoft.Json.dll поставляемый Normal file

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичные данные
PipeProxyRestServer/packages/Newtonsoft.Json.6.0.8/lib/net45/Newtonsoft.Json.dll поставляемый Normal file

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичные данные
PipeProxyRestServer/packages/Newtonsoft.Json.6.0.8/lib/netcore45/Newtonsoft.Json.dll поставляемый Normal file

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Двоичный файл не отображается.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,112 @@
param($installPath, $toolsPath, $package, $project)
# open json.net splash page on package install
# don't open if json.net is installed as a dependency
try
{
$url = "http://james.newtonking.com/json/install?version=" + $package.Version
$dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
if ($dte2.ActiveWindow.Caption -eq "Package Manager Console")
{
# user is installing from VS NuGet console
# get reference to the window, the console host and the input history
# show webpage if "install-package newtonsoft.json" was last input
$consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow])
$props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor `
[System.Reflection.BindingFlags]::NonPublic)
$prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1
if ($prop -eq $null) { return }
$hostInfo = $prop.GetValue($consoleWindow)
if ($hostInfo -eq $null) { return }
$history = $hostInfo.WpfConsole.InputHistory.History
$lastCommand = $history | select -last 1
if ($lastCommand)
{
$lastCommand = $lastCommand.Trim().ToLower()
if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json"))
{
$dte2.ItemOperations.Navigate($url) | Out-Null
}
}
}
else
{
# user is installing from VS NuGet dialog
# get reference to the window, then smart output console provider
# show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation
$instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor `
[System.Reflection.BindingFlags]::NonPublic)
$consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor `
[System.Reflection.BindingFlags]::NonPublic)
if ($instanceField -eq $null -or $consoleField -eq $null) { return }
$instance = $instanceField.GetValue($null)
if ($instance -eq $null) { return }
$consoleProvider = $consoleField.GetValue($instance)
if ($consoleProvider -eq $null) { return }
$console = $consoleProvider.CreateOutputConsole($false)
$messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor `
[System.Reflection.BindingFlags]::NonPublic)
if ($messagesField -eq $null) { return }
$messages = $messagesField.GetValue($console)
if ($messages -eq $null) { return }
$operations = $messages -split "=============================="
$lastOperation = $operations | select -last 1
if ($lastOperation)
{
$lastOperation = $lastOperation.ToLower()
$lines = $lastOperation -split "`r`n"
$installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1
if ($installMatch)
{
$dte2.ItemOperations.Navigate($url) | Out-Null
}
}
}
}
catch
{
try
{
$pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager")
$selection = $pmPane.TextDocument.Selection
$selection.StartOfDocument($false)
$selection.EndOfDocument($true)
if ($selection.Text.StartsWith("Installing 'Newtonsoft.Json "))
{
$dte2.ItemOperations.Navigate($url) | Out-Null
}
}
catch
{
# stop potential errors from bubbling up
# worst case the splash page won't open
}
}
# still yolo

Двоичные данные
PipeProxyRestServer/packages/Owin.1.0/Owin.1.0.nupkg поставляемый Normal file

Двоичный файл не отображается.

Двоичные данные
PipeProxyRestServer/packages/Owin.1.0/lib/net40/Owin.dll поставляемый Normal file

Двоичный файл не отображается.

Просмотреть файл

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<repositories>
<repository path="..\PipeProxyRestServer\packages.config" />
</repositories>

Двоичные данные
PipeProxyRestServer/ref/PipeProxy.exe Normal file

Двоичный файл не отображается.